diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2006-05-11 21:50:11 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2006-05-11 21:50:11 +0000 |
commit | 9315f7f75dedf6c223970d74e8222212575b2592 (patch) | |
tree | 982c31e68d0bac352f26d08126797132303e2496 /dev-scheme/mzscheme | |
parent | Moved dev-lisp/mit-scheme to dev-scheme/mit-scheme (diff) | |
download | gentoo-2-9315f7f75dedf6c223970d74e8222212575b2592.tar.gz gentoo-2-9315f7f75dedf6c223970d74e8222212575b2592.tar.bz2 gentoo-2-9315f7f75dedf6c223970d74e8222212575b2592.zip |
Moved from dev-lisp/mzscheme to dev-scheme/mzscheme.
Diffstat (limited to 'dev-scheme/mzscheme')
-rw-r--r-- | dev-scheme/mzscheme/ChangeLog | 74 | ||||
-rw-r--r-- | dev-scheme/mzscheme/Manifest | 9 | ||||
-rw-r--r-- | dev-scheme/mzscheme/files/digest-mzscheme-103_pre1 | 1 | ||||
-rw-r--r-- | dev-scheme/mzscheme/files/digest-mzscheme-201 | 1 | ||||
-rw-r--r-- | dev-scheme/mzscheme/files/digest-mzscheme-201-r1 | 1 | ||||
-rw-r--r-- | dev-scheme/mzscheme/files/digest-mzscheme-205 | 1 | ||||
-rw-r--r-- | dev-scheme/mzscheme/mzscheme-103_pre1.ebuild | 50 | ||||
-rw-r--r-- | dev-scheme/mzscheme/mzscheme-201-r1.ebuild | 48 | ||||
-rw-r--r-- | dev-scheme/mzscheme/mzscheme-201.ebuild | 48 | ||||
-rw-r--r-- | dev-scheme/mzscheme/mzscheme-205.ebuild | 60 |
10 files changed, 293 insertions, 0 deletions
diff --git a/dev-scheme/mzscheme/ChangeLog b/dev-scheme/mzscheme/ChangeLog new file mode 100644 index 000000000000..3146d169fec8 --- /dev/null +++ b/dev-scheme/mzscheme/ChangeLog @@ -0,0 +1,74 @@ +# ChangeLog for dev-lisp/mzscheme +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/mzscheme/ChangeLog,v 1.1 2006/05/11 21:50:11 mkennedy Exp $ + + 11 May 2006; Matthew Kennedy <mkennedy@gentoo.org> + +mzscheme-103_pre1.ebuild, +mzscheme-201.ebuild, +mzscheme-201-r1.ebuild, + +mzscheme-205.ebuild: + Moved from dev-lisp/mzscheme to dev-scheme/mzscheme. + + 21 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> mzscheme-205.ebuild: + Stable on ppc. + + 30 Sep 2004; Gustavo Zacarias <gustavoz@gentoo.org> mzscheme-205.ebuild: + Keyworded ~sparc wrt #65216 + + 11 May 2004; <mkennedy@gentoo.org> mzscheme-205.ebuild: + Unset CFLAGS due to many optimization flags causing problems. Resolves Bug + #50789 and Bug #48491 + + 11 Apr 2004; <mkennedy@gentoo.org> mzscheme-205.ebuild: + Don't compile with -march=athlon-xp + + 05 Apr 2004; Heinrich Wendel <lanius@gentoo.org> mzscheme-205.ebuild: + mark stable on x86 + +*mzscheme-205 (14 Oct 2003) + + 14 Oct 2003; George Shapovalov <george@gentoo.org> mzscheme-205.ebuild : + new version + +*mzscheme-201-r1 (18 Jul 2003) + + 18 Jul 2003; George Shapovalov <george@gentoo.org> mzscheme-201-r1.ebuild : + fixed infection of many installed files by ${D}, see #22986 + + 12 Jun 2003; <msterret@gentoo.org> mzscheme-201.ebuild: + fix Header + +*mzscheme-201 ( 17 Feb 2002 ) + + 28 Sep 2002; Karl Trygve Kalleberg <karltk@gentoo.org> mzscheme-201.ebuild : + Fixed path typo that resulted in sandbox violation, #8370. + + 08 Sep 2002; Karl Trygve Kalleberg <karltk@gentoo.org> mzscheme-201.ebuild files/digest-mzscheme-201 : + New version that actually works. It has potentially some issues with the + collects. Ebuild submitted by Jeremiah Mahler <jmahler@pacbell.net>. + +*mzscheme-103_pre1 ( 17 Feb 2002 ) + + 20 Sep 2002; Mike Frysinger <vapier@gentoo.org> : + Updated HOMEPAGE variable + + 01 Aug 2002; Karl Trygve Kalleberg <karltk@gentoo.org> mzscheme-103_pre1.ebuild : + + Added LICENSE, SLOT and KEYWORDS. + + 17 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> files/digest-mzscheme-103_pre1 mzscheme-103_pre1: + + MzScheme is an implementation of the Scheme programming language for + Windows 95/98/NT/2000, MacOS, Unix, and BeOS. MzScheme is R4RS-compliant + (including the full numerical tower) and nearly R5RS-compliant (some macro + support is lacking). MzScheme also provides: + + * Pre-emptive threads for all platforms + * Generative structures (a.k.a. record datatypes) + * Built-in exceptions; each primitive error raises a specific exception + * First-class compilation units (modules) for organizing program components + * A class-based object system reminiscent of C++/Java + * Built-in regular expression matching tools + * Simple TCP communication support on all platforms + * Portable filesystem access procedures + * Platform-specific process control, including AppleEvent support + + This ebuild does not pre-compile the standard-library, which is untested. diff --git a/dev-scheme/mzscheme/Manifest b/dev-scheme/mzscheme/Manifest new file mode 100644 index 000000000000..cf777744808f --- /dev/null +++ b/dev-scheme/mzscheme/Manifest @@ -0,0 +1,9 @@ +MD5 7de023ade0cabbb1ce2981da593d257d mzscheme-205.ebuild 1728 +MD5 8148813f7d49cce265a67b1a84d4fcec ChangeLog 2778 +MD5 515732eb28815293500028124f31f2fe mzscheme-201.ebuild 1241 +MD5 136c0bd8535b072937bad4beb5711a91 mzscheme-103_pre1.ebuild 1238 +MD5 69822308d73120b5a0000b27611cc3b3 mzscheme-201-r1.ebuild 1303 +MD5 575c4a9167fbf470645503ccc710563f files/digest-mzscheme-201 74 +MD5 89977436b502d6dc8273e1fa117d898d files/digest-mzscheme-103_pre1 70 +MD5 575c4a9167fbf470645503ccc710563f files/digest-mzscheme-201-r1 74 +MD5 f6c7a3e2aa11f26f2ad29c189f7ce15e files/digest-mzscheme-205 74 diff --git a/dev-scheme/mzscheme/files/digest-mzscheme-103_pre1 b/dev-scheme/mzscheme/files/digest-mzscheme-103_pre1 new file mode 100644 index 000000000000..65a7ce62459c --- /dev/null +++ b/dev-scheme/mzscheme/files/digest-mzscheme-103_pre1 @@ -0,0 +1 @@ +MD5 47fb0a8270fc06dbb9541aa087051503 mzscheme.src.unix.tar.gz 1608987 diff --git a/dev-scheme/mzscheme/files/digest-mzscheme-201 b/dev-scheme/mzscheme/files/digest-mzscheme-201 new file mode 100644 index 000000000000..9391f2ada881 --- /dev/null +++ b/dev-scheme/mzscheme/files/digest-mzscheme-201 @@ -0,0 +1 @@ +MD5 2a684b60e67531c329342dc4c0a4a38a mzscheme.src.unix-201.tar.gz 2316657 diff --git a/dev-scheme/mzscheme/files/digest-mzscheme-201-r1 b/dev-scheme/mzscheme/files/digest-mzscheme-201-r1 new file mode 100644 index 000000000000..9391f2ada881 --- /dev/null +++ b/dev-scheme/mzscheme/files/digest-mzscheme-201-r1 @@ -0,0 +1 @@ +MD5 2a684b60e67531c329342dc4c0a4a38a mzscheme.src.unix-201.tar.gz 2316657 diff --git a/dev-scheme/mzscheme/files/digest-mzscheme-205 b/dev-scheme/mzscheme/files/digest-mzscheme-205 new file mode 100644 index 000000000000..5a68cc473b93 --- /dev/null +++ b/dev-scheme/mzscheme/files/digest-mzscheme-205 @@ -0,0 +1 @@ +MD5 210261a7311f8d9d24fb216d4e3008fe mzscheme-205.src.unix.tar.gz 3249057 diff --git a/dev-scheme/mzscheme/mzscheme-103_pre1.ebuild b/dev-scheme/mzscheme/mzscheme-103_pre1.ebuild new file mode 100644 index 000000000000..1d37a8fc8823 --- /dev/null +++ b/dev-scheme/mzscheme/mzscheme-103_pre1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/mzscheme/mzscheme-103_pre1.ebuild,v 1.1 2006/05/11 21:50:11 mkennedy Exp $ + +S=${WORKDIR}/plt +DESCRIPTION="MzScheme scheme compiler" +SRC_URI="http://www.cs.rice.edu/CS/PLT/packages/download/103p1/mzscheme/mzscheme.src.unix.tar.gz" +HOMEPAGE="http://www.plt-scheme.org/software/mzscheme/" +DEPEND="" +#RDEPEND="" +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="x86" +IUSE="" + +src_compile() { + cd src + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + emake || die +} + +src_install () { + cd src + make DESTDIR=${D} install || die + + cd ${S} + dodir /usr/share/mzscheme + dobin bin/* + cp -dpR collects/* ${D}/usr/share/mzscheme + + doman man/man1/* + + dodoc notes/COPYING.LIB + dodoc README + + exeinto /usr/bin + newexe src/mzscheme/mzscheme mzscheme-bin + + echo "#! /bin/sh" > ${D}/usr/bin/mzc + echo '/usr/bin/mzscheme-bin -mqvL start.ss compiler -- ${1+"$@"}' >> ${D}/usr/bin/mzc + + echo "#! /bin/sh" > ${D}/usr/bin/mzscheme + echo '/usr/bin/mzscheme-bin ${1+"$@"}' >> ${D}/usr/bin/mzscheme + + rm ${D}/usr/bin/{archsys,setup-plt} +} diff --git a/dev-scheme/mzscheme/mzscheme-201-r1.ebuild b/dev-scheme/mzscheme/mzscheme-201-r1.ebuild new file mode 100644 index 000000000000..0cfcfc122c89 --- /dev/null +++ b/dev-scheme/mzscheme/mzscheme-201-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/mzscheme/mzscheme-201-r1.ebuild,v 1.1 2006/05/11 21:50:11 mkennedy 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" +} diff --git a/dev-scheme/mzscheme/mzscheme-201.ebuild b/dev-scheme/mzscheme/mzscheme-201.ebuild new file mode 100644 index 000000000000..9f5f993b64f1 --- /dev/null +++ b/dev-scheme/mzscheme/mzscheme-201.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/mzscheme/mzscheme-201.ebuild,v 1.1 2006/05/11 21:50:11 mkennedy Exp $ + +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 ppc" +IUSE="" + +src_compile() { + cd ${S}/src + + econf \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + + make || die +} + +src_install () { + cd ${S}/src + echo -e "n\n" | make prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + install || die + 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/ +} diff --git a/dev-scheme/mzscheme/mzscheme-205.ebuild b/dev-scheme/mzscheme/mzscheme-205.ebuild new file mode 100644 index 000000000000..6e544fa3393f --- /dev/null +++ b/dev-scheme/mzscheme/mzscheme-205.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/mzscheme/mzscheme-205.ebuild,v 1.1 2006/05/11 21:50:11 mkennedy Exp $ + +inherit flag-o-matic + +S=${WORKDIR}/plt +DESCRIPTION="MzScheme scheme compiler" +HOMEPAGE="http://www.plt-scheme.org/software/mzscheme/" +SRC_URI="http://www.cs.utah.edu/plt/download/${PV}/${PN}/${P}.src.unix.tar.gz" +DEPEND=">=sys-devel/gcc-2.95.3-r7" +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="x86 ppc ~sparc" +IUSE="" + +src_compile() { + # http://bugs.gentoo.org/show_bug.cgi?id=47037 -march=athlon-xp + # causes build failure + if is-flag '-march=athlon-xp'; then + replace-flags '-march=athlon-xp' '-mcpu=athlon-xp' + fi + # http://bugs.gentoo.org/show_bug.cgi?id=48491 -march=pentium4 + # causes build failure + if is-flag '-march=pentium4'; then + replace-flags '-march=pentium4' '-mcpu=pentium4' + fi + + # mzscheme is sensitive to a lot of compiler flags + unset CFLAGS + + cd ${S}/src + econf || die "./configure failed" + emake -j1 || 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" +} |