From a07ad2a9964c8a04c8a9f8246ebd6d9a549d6289 Mon Sep 17 00:00:00 2001 From: George Shapovalov Date: Sat, 19 Jul 2003 06:38:28 +0000 Subject: fix for infection --- dev-lisp/mzscheme/ChangeLog | 7 +++- dev-lisp/mzscheme/Manifest | 8 +++-- dev-lisp/mzscheme/files/digest-mzscheme-201-r1 | 1 + dev-lisp/mzscheme/mzscheme-201-r1.ebuild | 48 ++++++++++++++++++++++++++ 4 files changed, 60 insertions(+), 4 deletions(-) create mode 100644 dev-lisp/mzscheme/files/digest-mzscheme-201-r1 create mode 100644 dev-lisp/mzscheme/mzscheme-201-r1.ebuild (limited to 'dev-lisp') diff --git a/dev-lisp/mzscheme/ChangeLog b/dev-lisp/mzscheme/ChangeLog index 01bf7ca59426..28103d69c588 100644 --- a/dev-lisp/mzscheme/ChangeLog +++ b/dev-lisp/mzscheme/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lisp/mzscheme # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/mzscheme/ChangeLog,v 1.8 2003/06/12 20:34:25 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/mzscheme/ChangeLog,v 1.9 2003/07/19 06:38:08 george Exp $ + +*mzscheme-201-r1 (18 Jul 2003) + + 18 Jul 2003; George Shapovalov mzscheme-201-r1.ebuild : + fixed infection of many installed files by ${D}, see #22986 12 Jun 2003; mzscheme-201.ebuild: fix Header diff --git a/dev-lisp/mzscheme/Manifest b/dev-lisp/mzscheme/Manifest index bba989078dfc..1e89af211ead 100644 --- a/dev-lisp/mzscheme/Manifest +++ b/dev-lisp/mzscheme/Manifest @@ -1,5 +1,7 @@ -MD5 66c18261aa56465c12fab75a3e642974 ChangeLog 1946 -MD5 63438d0f8979b44e86b37258654669f3 mzscheme-103_pre1.ebuild 1237 MD5 3ada97ff723c24ccdf99744a6f193b74 mzscheme-201.ebuild 1238 -MD5 89977436b502d6dc8273e1fa117d898d files/digest-mzscheme-103_pre1 70 +MD5 a5e0aff18d0c44910a288f770d63ce39 mzscheme-201-r1.ebuild 1311 +MD5 4fbe3792b3c91e18da3e95016237031c ChangeLog 2117 +MD5 63438d0f8979b44e86b37258654669f3 mzscheme-103_pre1.ebuild 1237 +MD5 575c4a9167fbf470645503ccc710563f files/digest-mzscheme-201-r1 74 MD5 575c4a9167fbf470645503ccc710563f files/digest-mzscheme-201 74 +MD5 89977436b502d6dc8273e1fa117d898d files/digest-mzscheme-103_pre1 70 diff --git a/dev-lisp/mzscheme/files/digest-mzscheme-201-r1 b/dev-lisp/mzscheme/files/digest-mzscheme-201-r1 new file mode 100644 index 000000000000..9391f2ada881 --- /dev/null +++ b/dev-lisp/mzscheme/files/digest-mzscheme-201-r1 @@ -0,0 +1 @@ +MD5 2a684b60e67531c329342dc4c0a4a38a mzscheme.src.unix-201.tar.gz 2316657 diff --git a/dev-lisp/mzscheme/mzscheme-201-r1.ebuild b/dev-lisp/mzscheme/mzscheme-201-r1.ebuild new file mode 100644 index 000000000000..65c4c78e61a7 --- /dev/null +++ b/dev-lisp/mzscheme/mzscheme-201-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/mzscheme/mzscheme-201-r1.ebuild,v 1.1 2003/07/19 06:38:08 george Exp $ + +IUSE="" + +S=${WORKDIR}/plt +DESCRIPTION="MzScheme scheme compiler" +HOMEPAGE="http://www.plt-scheme.org/software/mzscheme/" +SRC_URI="ftp://ftp.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/mzscheme.src.unix-201.tar.gz" +DEPEND=">=sys-devel/gcc-2.95.3-r7" +#RDEPEND="" +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="~x86" + +src_compile() { + cd ${S}/src + + econf || die "./configure failed" + + make || die +} + +src_install () { + cd ${S}/src + echo -e "n\n" | einstall || die "installation failed" + cd ${S} + dodoc README + dodoc notes/COPYING.LIB + dodoc notes/mzscheme/* + + # 2002-09-06: karltk + # Normally, one specifies the full path to the collects, + # so this should work, but it's not been tested properly. + mv ${D}/usr/install ${D}/usr/bin/mzscheme-install + + dodir /usr/share/mzscheme + mv ${D}/usr/collects/ ${D}/usr/share/mzscheme/collects/ + + rm -rf ${D}/usr/notes/ + + #the resultant files are infected with ${D} and Makefiles do not recognize + #standard conventions. Looks like the simples way out is to + #strip ${D}'s here + cd ${D}/usr + grep -rle "${D}" . | xargs sed -i -e "s:${D}:/:g" +} -- cgit v1.2.3-65-gdbad