summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2005-04-26 13:58:54 +0000
committerHeinrich Wendel <lanius@gentoo.org>2005-04-26 13:58:54 +0000
commitdd3ea7a799bee1bfc85f94f3e475bab5797eeff0 (patch)
treeb55feabc055b51a83530b28856b1a30cdc65fee0 /x11-libs/lesstif/lesstif-0.93.94-r3.ebuild
parentmotif-config-0.9 (diff)
downloadgentoo-2-dd3ea7a799bee1bfc85f94f3e475bab5797eeff0.tar.gz
gentoo-2-dd3ea7a799bee1bfc85f94f3e475bab5797eeff0.tar.bz2
gentoo-2-dd3ea7a799bee1bfc85f94f3e475bab5797eeff0.zip
motif-config-0.9
(Portage version: 2.0.51.19)
Diffstat (limited to 'x11-libs/lesstif/lesstif-0.93.94-r3.ebuild')
-rw-r--r--x11-libs/lesstif/lesstif-0.93.94-r3.ebuild111
1 files changed, 0 insertions, 111 deletions
diff --git a/x11-libs/lesstif/lesstif-0.93.94-r3.ebuild b/x11-libs/lesstif/lesstif-0.93.94-r3.ebuild
deleted file mode 100644
index cda640f6fdfd..000000000000
--- a/x11-libs/lesstif/lesstif-0.93.94-r3.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/lesstif/lesstif-0.93.94-r3.ebuild,v 1.5 2005/04/19 11:23:48 lanius Exp $
-
-# disable sandbox, needed for motif-config
-SANDBOX_DISABLED="1"
-
-inherit libtool flag-o-matic multilib
-
-DESCRIPTION="An OSF/Motif(R) clone"
-HOMEPAGE="http://www.lesstif.org/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
- mirror://debian/pool/main/l/lesstif1-1/lesstif1-1_0.93.94-11.1.diff.gz"
-
-LICENSE="LGPL-2"
-SLOT="1.2"
-KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~ppc-macos ~sparc ~x86 ~ia64"
-IUSE="static"
-
-DEPEND="virtual/libc
- virtual/x11
- >=x11-libs/motif-config-0.6"
-
-PROVIDE="virtual/motif"
-
-src_unpack() {
- # profile stuff
- motif-config --start-install
-
- unpack ${A}
- cd ${S}
- epatch ${DISTDIR}/lesstif1-1_0.93.94-11.1.diff.gz
-}
-
-src_compile() {
- use ppc-macos || elibtoolize
-
- if use ppc-macos; then
- append-ldflags -L/usr/X11R6/lib -lX11 -lXt
- fi
-
- econf \
- $(use_enable static) \
- --enable-production \
- --enable-verbose=no \
- --enable-build-12 \
- --disable-build-20 \
- --disable-build-21 \
- --with-x || die "./configure failed"
-
- emake CFLAGS="${CFLAGS}" || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die "make install"
-
-
- einfo "Fixing binaries"
- dodir /usr/$(get_libdir)/lesstif-1.2
- for file in `ls ${D}/usr/bin`
- do
- mv ${D}/usr/bin/${file} ${D}/usr/$(get_libdir)/lesstif-1.2/${file}
- done
-
- einfo "Fixing libraries"
- mv ${D}/usr/lib/* ${D}/usr/$(get_libdir)/lesstif-1.2/
-
- einfo "Fixing includes"
- dodir /usr/include/lesstif-1.2/
- mv ${D}/usr/include/* ${D}/usr/include/lesstif-1.2
-
- einfo "Fixing man pages"
- mans="1 3 5"
- for man in $mans; do
- dodir /usr/share/man/man${man}
- for file in `ls ${D}/usr/share/man/man${man}`
- do
- file=${file/.${man}/}
- mv ${D}/usr/share/man/man$man/${file}.${man} ${D}/usr/share/man/man${man}/${file}-lesstif-1.2.${man}
- done
- done
-
-
- einfo "Fixing docs"
- dodir /usr/share/doc/
- mv ${D}/usr/LessTif ${D}/usr/share/doc/${P}
- rm -fR ${D}/usr/$(get_libdir)/LessTif
-
- # cleanup
- rm -f ${D}/usr/$(get_libdir)/lesstif-1.2/mxmkmf
- rm -fR ${D}/usr/share/aclocal/
- rm -fR ${D}/usr/$(get_libdir)/lesstif-1.2/LessTif/
- rm -fR ${D}/usr/$(get_libdir)/lesstif-1.2/X11/
- rm -fR ${D}/usr/$(get_libdir)/X11/
-
- # profile stuff
- motif-config --finish-install
-}
-
-# Profile stuff
-#pkg_setup() {
-# if has_version =x11-libs/lesstif-0.93.94*; then touch /tmp/lesstif-1.2; fi
-#}
-
-pkg_postinst() {
- motif-config --install lesstif-1.2
-}
-
-#pkg_prerm() {
-# [ -f /tmp/lesstif-1.2 ] && rm -f /tmp/lesstif-1.2 || motif-config --uninstall lesstif-1.2
-#}