summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/lesstif/lesstif-0.94.0-r2.ebuild')
-rw-r--r--x11-libs/lesstif/lesstif-0.94.0-r2.ebuild100
1 files changed, 0 insertions, 100 deletions
diff --git a/x11-libs/lesstif/lesstif-0.94.0-r2.ebuild b/x11-libs/lesstif/lesstif-0.94.0-r2.ebuild
deleted file mode 100644
index 86b468a4aec1..000000000000
--- a/x11-libs/lesstif/lesstif-0.94.0-r2.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/lesstif/lesstif-0.94.0-r2.ebuild,v 1.10 2006/03/10 23:39:53 joshuabaergen Exp $
-
-inherit libtool flag-o-matic
-
-DESCRIPTION="An OSF/Motif(R) clone"
-HOMEPAGE="http://www.lesstif.org/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 ppc-macos sparc x86"
-IUSE=""
-
-RDEPEND="virtual/libc
- || ( ( x11-libs/libXp
- x11-libs/libXt )
- virtual/x11 )"
-
-DEPEND="${RDEPEND}
- || ( ( x11-libs/libXaw
- x11-libs/libXft
- x11-proto/printproto
- x11-proto/xextproto )
- virtual/x11 )"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/CAN-2005-0605.patch
-}
-
-src_compile() {
- use ppc-macos || elibtoolize
-
- if use ppc-macos; then
- append-ldflags -L/usr/X11R6/lib -lX11 -lXt
- fi
-
- econf \
- --enable-production \
- --enable-verbose=no \
- --with-x || die "./configure failed"
-
- emake CFLAGS="${CFLAGS}" || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die "make install"
-
-
- einfo "Fixing binaries"
- dodir /usr/X11R6/bin/lesstif
- for file in `ls ${D}/usr/bin`
- do
- mv ${D}/usr/bin/${file} ${D}/usr/X11R6/bin/lesstif/${file}
- done
- rm -f ${D}/usr/X11R6/bin/lesstif/mxmkmf
- rm -fR ${D}/usr/bin
-
-
- einfo "Fixing docs"
- dodir /usr/share/doc/
- mv ${D}/usr/LessTif ${D}/usr/share/doc/${P}
- rm -fR ${D}/usr/lib/LessTif
-
-
- einfo "Fixing libraries"
- dodir /usr/X11R6/lib/lesstif
- mv ${D}/usr/lib/lib* ${D}/usr/X11R6/lib/lesstif
-
-
- einfo "Fixing includes"
- dodir /usr/X11R6/include/lesstif/
- mv ${D}/usr/include/* ${D}/usr/X11R6/include/lesstif
- rm -fR ${D}/usr/include
-
-
- einfo "Fixing man pages"
- dodir /usr/X11R6/share/man/{man1,man3,man5}
- for file in `ls ${D}/usr/share/man/man1`
- do
- file=${file/.1/}
- mv ${D}/usr/share/man/man1/${file}.1 ${D}/usr/X11R6/share/man/man1/${file}-lesstif.1
- done
- for file in `ls ${D}/usr/share/man/man3`
- do
- file=${file/.3/}
- mv ${D}/usr/share/man/man3/${file}.3 ${D}/usr/X11R6/share/man/man3/${file}-lesstif.3
- done
- for file in `ls ${D}/usr/share/man/man6`
- do
- file=${file/.5/}
- mv ${D}/usr/share/man/man5/${file}.5 ${D}/usr/X11R6/share/man/man5/${file}-lesstif.5
- done
- rm -fR ${D}/usr/share/man
-
- rm -fR ${D}/usr/share/aclocal
-}