Revision bump
authorPatrick McLean <chutzpah@gentoo.org>
Fri, 17 Feb 2006 23:38:59 +0000 (23:38 +0000)
committerPatrick McLean <chutzpah@gentoo.org>
Fri, 17 Feb 2006 23:38:59 +0000 (23:38 +0000)
Package-Manager: portage-2.1_pre4-r1

dev-scheme/drscheme/ChangeLog
dev-scheme/drscheme/Manifest
dev-scheme/drscheme/drscheme-301-r1.ebuild [new file with mode: 0644]
dev-scheme/drscheme/files/digest-drscheme-301-r1 [new file with mode: 0644]

index e5e9d095140b7d629ea9930466e631cf842056d2..62c1677d2938331cffc388dadfcb83e198b73d1c 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for dev-scheme/drscheme
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.9 2006/02/15 00:56:38 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.10 2006/02/17 23:38:59 chutzpah Exp $
+
+*drscheme-301-r1 (17 Feb 2006)
+
+  17 Feb 2006; Patrick McLean <chutzpah@gentoo.org> drscheme-301.ebuild,
+  +drscheme-301-r1.ebuild:
+  Revision bump, make sure that no files are still referring to WORKDIR
+  after installation.
 
   15 Feb 2006; Mark Loeser <halcy0n@gentoo.org> -files/digest-drscheme-205,
   -files/digest-drscheme-208:
index 0a995bb5c2a7de26d64dd76394af240670529e31..36f993bda886900428c12cc71a96aaa0f966058b 100644 (file)
@@ -1,12 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 1d970b1bceac23323a8d7dde72fa4509 ChangeLog 3265
-RMD160 80b18b1f6971790a5b1c8d703f097a9d2efb41bc ChangeLog 3265
-SHA256 6cfaffd936ae802e7ab8651fb8d72272c206e5cca5d89fe5e80fb0bc91685aaa ChangeLog 3265
+MD5 6fc881c3c500d74f6b7c2c9018d6ed2f ChangeLog 3494
+RMD160 0d9b2db4268855645ebc05d9dec1d731ae2ede0f ChangeLog 3494
+SHA256 1ba14cd76ba2913d9d67c233bf5f68c355c7bc36e826c901c47bd53c3c0805fc ChangeLog 3494
 MD5 3d92826258ba3b383f061e0e7922500f drscheme-209.ebuild 1376
 RMD160 7b55ab38b3523ab401c4b0a643ac80746fa0c80c drscheme-209.ebuild 1376
 SHA256 93af1fdb02af4effce7292fadd5d14e046f08495fc5ef8b3b072148152fa6d7b drscheme-209.ebuild 1376
+MD5 71b8acefb92c4270d017b309ecbdcdd5 drscheme-301-r1.ebuild 2092
+RMD160 377d1f1c2e32dae2d1d4fed36fc6f130de703447 drscheme-301-r1.ebuild 2092
+SHA256 fe9cd7c6cda999b0b877f3153157aa6dc9479a612a9cae41c6af8825926fcc3b drscheme-301-r1.ebuild 2092
 MD5 ac807b98aeb246b8422bf29e30f0f8e0 drscheme-301.ebuild 1806
 RMD160 c0eaaace7ffa932175cdd7600e293d8311f34424 drscheme-301.ebuild 1806
 SHA256 660026e2f825c36ad4e84af39345f57b91d8c802ed48e35e5ef63284ce6246fb drscheme-301.ebuild 1806
@@ -16,16 +16,12 @@ SHA256 eb92751612d082ec48bcd72e89f8cf7b2a650ef8165ee4d99cdc3da1297663ef files/di
 MD5 b00dc440a5ec2cd08f98f34f827a25b7 files/digest-drscheme-301 247
 RMD160 d308beb49ef1f2b187f28a033f86ed182934d152 files/digest-drscheme-301 247
 SHA256 971b6397eabbbeb6d20c88970180e362041d3895b09009211f2f444215b97b01 files/digest-drscheme-301 247
+MD5 b00dc440a5ec2cd08f98f34f827a25b7 files/digest-drscheme-301-r1 247
+RMD160 d308beb49ef1f2b187f28a033f86ed182934d152 files/digest-drscheme-301-r1 247
+SHA256 971b6397eabbbeb6d20c88970180e362041d3895b09009211f2f444215b97b01 files/digest-drscheme-301-r1 247
 MD5 4ada17dfe65cb9defc23a29d23eb3c2d files/drscheme-301-fPIC.patch 2802
 RMD160 51d04864d5b1127f50ece3a1bb87f14adb1a8fb9 files/drscheme-301-fPIC.patch 2802
 SHA256 e9ddebf2fcd4b1b37209a04d9b4e29799bf70c8cc6732c916be8e323840e9e7a files/drscheme-301-fPIC.patch 2802
 MD5 274a7900f799811ad11e1a827bb4b23e metadata.xml 694
 RMD160 ab738064eeb10e5a01c1f2a9040da48b5f68d244 metadata.xml 694
 SHA256 b63c1d1ae1adc89c062f612f797abf9e0933fc67725d301558f27832bd8c875d metadata.xml 694
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFD8nyLCRZPokWLroQRArZZAJ9+uRVAxrSy/BOXHFeV/GrfHgdYlACeI1B9
-V48wt+sxbAT3qkZyV+OvVQk=
-=4kt+
------END PGP SIGNATURE-----
diff --git a/dev-scheme/drscheme/drscheme-301-r1.ebuild b/dev-scheme/drscheme/drscheme-301-r1.ebuild
new file mode 100644 (file)
index 0000000..a8056f5
--- /dev/null
@@ -0,0 +1,86 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/drscheme-301-r1.ebuild,v 1.1 2006/02/17 23:38:59 chutzpah Exp $
+
+inherit eutils flag-o-matic multilib
+
+DESCRIPTION="DrScheme programming environment.  Includes mzscheme."
+HOMEPAGE="http://www.plt-scheme.org/software/drscheme/"
+SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="cairo jpeg opengl perl png"
+
+DEPEND="|| ( ( x11-libs/libICE
+                       x11-libs/libSM
+                       x11-libs/libXaw
+                       x11-libs/libXft
+               )
+               virtual/x11
+       )
+       media-libs/freetype
+       media-libs/fontconfig
+       cairo? ( x11-libs/cairo )
+       jpeg? ( media-libs/jpeg )
+       opengl? ( virtual/opengl )
+       png? ( media-libs/libpng )"
+
+S=${WORKDIR}/plt/src
+SED_FILES="bin/framework-test bin/framework-test-engine collects/info-domain/compiled/cache.ss"
+
+src_unpack() {
+       unpack ${A}
+       cd ${WORKDIR}/plt
+
+       epatch ${FILESDIR}/${P}-fPIC.patch
+}
+
+src_compile() {
+
+       econf --enable-mred \
+               $(use_enable opengl gl) \
+               $(use_enable png libpng) \
+               $(use_enable jpeg libjpeg) \
+               $(use_enable perl) \
+               $(use_enable cairo) \
+               --prefix=/usr/$(get_libdir)/${PN}/ || die "econf failed"
+
+       make || die
+}
+
+src_install() {
+       cd ${S}
+
+       sed -ie 's/cp -p/cp/' Makefile
+
+       dodir /usr/$(get_libdir)
+       make prefix=${D}/usr/$(get_libdir)/${PN} install || die "make install failed"
+
+       dodoc README
+       cd ${D}/usr/$(get_libdir)/${PN}/man/man1
+       doman *
+       rm -rf ${D}/usr/$(get_libdir)/${PN}/man
+
+       # create symlinks for all the executables
+       dodir /usr/bin
+       MY_D="${D#/var}"
+       MY_D="${MY_D%/}"
+
+       cd ${D}/usr/$(get_libdir)/${PN}/bin
+       for EXE in *; do
+
+               # fix paths in generated shell scripts
+               file -b "${EXE}" | grep -q "Bourne shell" && \
+                       sed -i "s/${MY_D//\//\/}//g" "${EXE}"
+                       #sed -i 's/PLTHOME=".*"/PLTHOME="\/usr\/'$(get_libdir)'\/'${PN}'"/' "${EXE}"
+
+               dosym "/usr/$(get_libdir)/${PN}/bin/${EXE}" "/usr/bin/${EXE}"
+       done
+
+       for FILE in ${SED_FILES}; do
+               sed -i "s/${MY_D//\//\/}//g" "${D}/usr/$(get_libdir)/${PN}/${FILE}"
+       done
+
+}
diff --git a/dev-scheme/drscheme/files/digest-drscheme-301-r1 b/dev-scheme/drscheme/files/digest-drscheme-301-r1
new file mode 100644 (file)
index 0000000..379f868
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 61f43172460bb297edcf3e0c3599a5e2 plt-301-src-unix.tgz 12706538
+RMD160 35a7a927bf24e7c5c331551ad72c32c9b7d4d742 plt-301-src-unix.tgz 12706538
+SHA256 c914cd2f4ccf1ca706738ee9e11df75632a71cab2a9d70fb292b4ebad410dd52 plt-301-src-unix.tgz 12706538