summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2005-03-02 18:38:55 +0000
committerHeinrich Wendel <lanius@gentoo.org>2005-03-02 18:38:55 +0000
commitdc79247b83da118c326eebc3c1ae652376b39bab (patch)
tree3b78aac94b2d4d4841cc90789767c4c07b3f7024 /x11-libs/lesstif
parentslotmove lesstif (diff)
downloadgentoo-2-dc79247b83da118c326eebc3c1ae652376b39bab.tar.gz
gentoo-2-dc79247b83da118c326eebc3c1ae652376b39bab.tar.bz2
gentoo-2-dc79247b83da118c326eebc3c1ae652376b39bab.zip
(Portage version: 2.0.51-r15)
Diffstat (limited to 'x11-libs/lesstif')
-rw-r--r--x11-libs/lesstif/ChangeLog8
-rw-r--r--x11-libs/lesstif/Manifest6
-rw-r--r--x11-libs/lesstif/files/digest-lesstif-0.93.94-r12
-rw-r--r--x11-libs/lesstif/files/digest-lesstif-0.94.0-r4 (renamed from x11-libs/lesstif/files/digest-lesstif-0.94.0-r3)0
-rw-r--r--x11-libs/lesstif/lesstif-0.93.94-r1.ebuild99
-rw-r--r--x11-libs/lesstif/lesstif-0.94.0-r4.ebuild (renamed from x11-libs/lesstif/lesstif-0.94.0-r3.ebuild)28
6 files changed, 128 insertions, 15 deletions
diff --git a/x11-libs/lesstif/ChangeLog b/x11-libs/lesstif/ChangeLog
index a65b19dc0bb2..de804fed305d 100644
--- a/x11-libs/lesstif/ChangeLog
+++ b/x11-libs/lesstif/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/lesstif
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/lesstif/ChangeLog,v 1.47 2005/03/02 16:58:10 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/lesstif/ChangeLog,v 1.48 2005/03/02 18:38:55 lanius Exp $
+
+*lesstif-0.93.94-r1 (02 Mar 2005)
+
+ 02 Mar 2005; Heinrich Wendel <lanius@gentoo.org> +lesstif-0.93.94-r1.ebuild,
+ -lesstif-0.94.0-r3.ebuild, +lesstif-0.94.0-r4.ebuild:
+ slot lesstif to 1.2 and 2.1
*lesstif-0.94.0-r2 (02 Mar 2005)
diff --git a/x11-libs/lesstif/Manifest b/x11-libs/lesstif/Manifest
index 1c52e50b6bd3..5aeba84808ff 100644
--- a/x11-libs/lesstif/Manifest
+++ b/x11-libs/lesstif/Manifest
@@ -1,9 +1,15 @@
MD5 932b0bf934ca5229cb7d0ff788b1d3fc lesstif-0.94.0-r3.ebuild 2098
+MD5 5794bb3c6d6c0b808b59d6f589c363c9 lesstif-0.93.94-r1.ebuild 2298
MD5 5e16f27a83232f0be4fd436f5276c580 lesstif-0.94.0-r2.ebuild 2126
MD5 fb8396e7aff00a3b4dcb824c88c8f363 ChangeLog 6257
MD5 503ccb1138f9c49f0855884d830988a6 metadata.xml 253
MD5 ca6ecc032ac0934b8c737650d6550162 lesstif-0.94.0.ebuild 2039
+MD5 7eec631beb9fa37cbf9ac6e040eec3e7 lesstif-0.94.0-r4.ebuild 2152
+MD5 0d0ecd323d2cebc0fac305fa65a2b280 .lesstif-0.93.94-r1.ebuild.swp 4096
MD5 50f3abd88dd0c45de68a1cec931c4909 files/digest-lesstif-0.94.0 68
MD5 10373c1e87b0208cd26888011a4d92de files/CAN-2005-0605.patch 1194
+MD5 023d4c47c73d11f6668f99e0cbe9ed05 files/digest-lesstif-0.93.94-r1 142
+MD5 023d4c47c73d11f6668f99e0cbe9ed05 files/digest-lesstif-0.93.94 142
MD5 50f3abd88dd0c45de68a1cec931c4909 files/digest-lesstif-0.94.0-r2 68
MD5 50f3abd88dd0c45de68a1cec931c4909 files/digest-lesstif-0.94.0-r3 68
+MD5 50f3abd88dd0c45de68a1cec931c4909 files/digest-lesstif-0.94.0-r4 68
diff --git a/x11-libs/lesstif/files/digest-lesstif-0.93.94-r1 b/x11-libs/lesstif/files/digest-lesstif-0.93.94-r1
new file mode 100644
index 000000000000..fd0e9211880c
--- /dev/null
+++ b/x11-libs/lesstif/files/digest-lesstif-0.93.94-r1
@@ -0,0 +1,2 @@
+MD5 6ae7340d91ba0566676bd3abb3842203 lesstif-0.93.94.tar.bz2 3461827
+MD5 f1f9431b0d8830fb870dc6c52a08ad9c lesstif1-1_0.93.94-11.diff.gz 63422
diff --git a/x11-libs/lesstif/files/digest-lesstif-0.94.0-r3 b/x11-libs/lesstif/files/digest-lesstif-0.94.0-r4
index 86a358232318..86a358232318 100644
--- a/x11-libs/lesstif/files/digest-lesstif-0.94.0-r3
+++ b/x11-libs/lesstif/files/digest-lesstif-0.94.0-r4
diff --git a/x11-libs/lesstif/lesstif-0.93.94-r1.ebuild b/x11-libs/lesstif/lesstif-0.93.94-r1.ebuild
new file mode 100644
index 000000000000..61f18e9f0edc
--- /dev/null
+++ b/x11-libs/lesstif/lesstif-0.93.94-r1.ebuild
@@ -0,0 +1,99 @@
+# 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-r1.ebuild,v 1.1 2005/03/02 18:38:55 lanius Exp $
+
+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.diff.gz"
+
+LICENSE="LGPL-2"
+SLOT="1.2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~ppc-macos ~sparc ~x86 ~ia64"
+IUSE=""
+
+DEPEND="virtual/libc
+ virtual/x11
+ >=x11-libs/motif-config-0.3"
+
+PROVIDE="virtual/motif"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${DISTDIR}/lesstif1-1_0.93.94-11.diff.gz
+}
+
+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 \
+ --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/share/lesstif-1.2
+ for file in `ls ${D}/usr/bin`
+ do
+ mv ${D}/usr/bin/${file} ${D}/usr/share/lesstif-1.2/${file}
+ done
+
+ einfo "Fixing libraries"
+ dodir /usr/$(get_libdir)/lesstif-1.2
+ 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/share/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
+pkg_postinst() {
+ motif-config --install lesstif-1.2
+}
+
+pkg_prerm() {
+ motif-config --uninstall lesstif-1.2
+}
diff --git a/x11-libs/lesstif/lesstif-0.94.0-r3.ebuild b/x11-libs/lesstif/lesstif-0.94.0-r4.ebuild
index c575aa3e938a..27c52410dcb8 100644
--- a/x11-libs/lesstif/lesstif-0.94.0-r3.ebuild
+++ b/x11-libs/lesstif/lesstif-0.94.0-r4.ebuild
@@ -1,6 +1,6 @@
# 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.94.0-r3.ebuild,v 1.4 2005/03/02 17:34:11 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/lesstif/lesstif-0.94.0-r4.ebuild,v 1.1 2005/03/02 18:38:55 lanius Exp $
inherit libtool flag-o-matic multilib
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.lesstif.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2"
-SLOT="0"
+SLOT="2.1"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~ppc-macos ~sparc ~x86 ~ia64"
IUSE=""
@@ -45,19 +45,19 @@ src_install() {
einfo "Fixing binaries"
- dodir /usr/share/lesstif
+ dodir /usr/share/lesstif-2.1
for file in `ls ${D}/usr/bin`
do
- mv ${D}/usr/bin/${file} ${D}/usr/share/lesstif/${file}
+ mv ${D}/usr/bin/${file} ${D}/usr/share/lesstif-2.1/${file}
done
einfo "Fixing libraries"
- dodir /usr/$(get_libdir)/lesstif
- mv ${D}/usr/lib/* ${D}/usr/$(get_libdir)/lesstif/
+ dodir /usr/$(get_libdir)/lesstif-2.1
+ mv ${D}/usr/lib/* ${D}/usr/$(get_libdir)/lesstif-2.1/
einfo "Fixing includes"
- dodir /usr/include/lesstif/
- mv ${D}/usr/include/* ${D}/usr/include/lesstif
+ dodir /usr/include/lesstif-2.1/
+ mv ${D}/usr/include/* ${D}/usr/include/lesstif-2.1
einfo "Fixing man pages"
mans="1 3 5"
@@ -66,7 +66,7 @@ src_install() {
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.${man}
+ mv ${D}/usr/share/man/man$man/${file}.${man} ${D}/usr/share/man/man${man}/${file}-lesstif-2.1.${man}
done
done
@@ -77,19 +77,19 @@ src_install() {
rm -fR ${D}/usr/$(get_libdir)/LessTif
# cleanup
- rm -f ${D}/usr/share/lesstif/mxmkmf
+ rm -f ${D}/usr/share/lesstif-2.1/mxmkmf
rm -fR ${D}/usr/share/aclocal/
- rm -fR ${D}/usr/$(get_libdir)/lesstif/LessTif/
- rm -fR ${D}/usr/$(get_libdir)/lesstif/X11/
+ rm -fR ${D}/usr/$(get_libdir)/lesstif-2.1/LessTif/
+ rm -fR ${D}/usr/$(get_libdir)/lesstif-2.1/X11/
rm -fR ${D}/usr/$(get_libdir)/X11/
}
# Profile stuff
pkg_postinst() {
- motif-config --install lesstif
+ motif-config --install lesstif-2.1
}
pkg_prerm() {
- motif-config --uninstall lesstif
+ motif-config --uninstall lesstif-2.1
}