summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-12-03 12:34:31 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-12-03 12:34:31 +0000
commitca1194a56ff9df2dc37760dfc7c5b6f883162bf2 (patch)
tree6090e89c77f32d7fe90eac56f6b6cf41eb9464a8 /x11-libs
parentnew version (diff)
downloadhistorical-ca1194a56ff9df2dc37760dfc7c5b6f883162bf2.tar.gz
historical-ca1194a56ff9df2dc37760dfc7c5b6f883162bf2.tar.bz2
historical-ca1194a56ff9df2dc37760dfc7c5b6f883162bf2.zip
do not install host.def
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/lesstif/ChangeLog8
-rw-r--r--x11-libs/lesstif/files/digest-lesstif-0.93.36-r21
-rw-r--r--x11-libs/lesstif/lesstif-0.93.36-r2.ebuild70
3 files changed, 78 insertions, 1 deletions
diff --git a/x11-libs/lesstif/ChangeLog b/x11-libs/lesstif/ChangeLog
index e44dc23ec464..1881ce8cd6cb 100644
--- a/x11-libs/lesstif/ChangeLog
+++ b/x11-libs/lesstif/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-lib/lesstif
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/lesstif/ChangeLog,v 1.3 2002/11/23 20:31:26 cybersystem Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/lesstif/ChangeLog,v 1.4 2002/12/03 12:34:31 azarah Exp $
+
+*lesstif-0.93.36-r2 (03 Dec 2002)
+
+ 03 Dec 2002; Martin Schlemmer <azarah@gentoo.org> lesstif-0.93.36-r2.ebuild :
+
+ Do not install /usr/X11R6/lib/X11/config/host.def.
*lesstif-0.93.36-r1 (23 Nov 2002)
diff --git a/x11-libs/lesstif/files/digest-lesstif-0.93.36-r2 b/x11-libs/lesstif/files/digest-lesstif-0.93.36-r2
new file mode 100644
index 000000000000..572e657b1cbd
--- /dev/null
+++ b/x11-libs/lesstif/files/digest-lesstif-0.93.36-r2
@@ -0,0 +1 @@
+MD5 bdca805aa4738f45b8fd50f8d37c88b5 lesstif-0.93.36.tar.bz2 2483486
diff --git a/x11-libs/lesstif/lesstif-0.93.36-r2.ebuild b/x11-libs/lesstif/lesstif-0.93.36-r2.ebuild
new file mode 100644
index 000000000000..67541bdc8cf3
--- /dev/null
+++ b/x11-libs/lesstif/lesstif-0.93.36-r2.ebuild
@@ -0,0 +1,70 @@
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/lesstif/lesstif-0.93.36-r2.ebuild,v 1.1 2002/12/03 12:34:31 azarah Exp $
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+S="${WORKDIR}/${P}"
+DESCRIPTION="An OSF/Motif(R) clone."
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://www.lesstif.org/"
+
+LICENSE="LGPL"
+KEYWORDS="~x86 ~ppc"
+SLOT="0"
+
+DEPEND="virtual/x11"
+
+src_unpack() {
+
+ unpack ${A}
+
+ cd ${S}/scripts/autoconf
+ sed -e "/^aclocaldir =/ a DESTDIR = ${D}" \
+ Makefile.in > Makefile.in.hacked
+ mv Makefile.in.hacked Makefile.in || die
+}
+
+src_compile() {
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --enable-static \
+ --enable-build-12 \
+ --enable-build-20 \
+ --enable-build-21 \
+ --with-x || die "./configure failed"
+
+ emake CFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+
+ emake prefix=${D}/usr \
+ exec_prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ install || die
+
+ dosym /usr/lib/libXm.so.2.0.1 /usr/lib/libXm.so.1
+
+ # This comes from x11-base/xfree!
+ rm -f ${D}/usr/lib/X11/config/host.def
+
+ dodir /usr/share
+ mv ${D}/usr/man ${D}/usr/share/
+ dodir /usr/share/doc/${P}
+ mv ${D}/usr/LessTif/* ${D}/usr/share/doc/${P}/
+ # The LessTif directory should be empty now.
+ rmdir ${D}/usr/LessTif || die
+}
+
+pkg_postrm() {
+ # Handle if updating removed host.def
+ if [ ! -f ${ROOT}/usr/lib/X11/config/host.def \
+ -a -d ${ROOT}/usr/lib/X11/config ]
+ then
+ touch ${ROOT}/usr/lib/X11/config/host.def
+ fi
+}
+