diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-scheme/racket | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-scheme/racket')
-rw-r--r-- | dev-scheme/racket/Manifest | 9 | ||||
-rw-r--r-- | dev-scheme/racket/metadata.xml | 33 | ||||
-rw-r--r-- | dev-scheme/racket/racket-5.1.2.ebuild | 71 | ||||
-rw-r--r-- | dev-scheme/racket/racket-5.2.1.ebuild | 71 | ||||
-rw-r--r-- | dev-scheme/racket/racket-5.3.1.ebuild | 71 | ||||
-rw-r--r-- | dev-scheme/racket/racket-5.3.2.ebuild | 71 | ||||
-rw-r--r-- | dev-scheme/racket/racket-5.3.3.ebuild | 71 | ||||
-rw-r--r-- | dev-scheme/racket/racket-5.3.4.ebuild | 72 | ||||
-rw-r--r-- | dev-scheme/racket/racket-5.3.6.ebuild | 72 | ||||
-rw-r--r-- | dev-scheme/racket/racket-6.0.1.ebuild | 70 |
10 files changed, 611 insertions, 0 deletions
diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest new file mode 100644 index 000000000000..75619255fa84 --- /dev/null +++ b/dev-scheme/racket/Manifest @@ -0,0 +1,9 @@ +DIST racket-5.1.2-src-unix.tgz 15960181 SHA256 99871d6c17c383eb31c5788e17e52849144b51494bd96d2ff1ab396d8041175b +DIST racket-5.2.1-src-unix.tgz 17210561 SHA256 69942a4efbfc2b17d836b5252e6f77b4aa40887a8a4a04ec228a44b7cfddb3ec SHA512 b60d259878cc237e26952ffcd07aa483c460a14a1f62e0a939466a4a51ad4ddfb8eda6845962823c0394268ceb3f050a88d1ab364013381f7ebcf077c4571e3e WHIRLPOOL 7b4eddf90a0dd17579aaf19e8df3a6867b9fa06349d254728b0a2cbd56ea83968fb5e1ac3202cb1001e62726cd4160dd174d6e5bf8310918eb4e8d84ba8913ef +DIST racket-5.3.1-src-unix.tgz 18296513 SHA256 2abfcd4edf39db9eafcc8a456ccf216fe486cb718e1f70210f902cc6b1d418c3 SHA512 3586a5e06dd7ba0357fca0478df967ec2984ff9457137f4a6947a690e0b66c372ea4785d9608069938234947127ebb8120cc5adf944dc4bf4bca903596a42435 WHIRLPOOL 3ba50e678b361dba059667bcd3421a0e736c1c27079b48cdc5f22786733737b36ccdcc013d2bb9821af5a67cf344b7276bee99274805a77a76bb14ce4f4d2a08 +DIST racket-5.3.2-src-unix.tgz 18903002 SHA256 dfbb4d305388c23bd80352a18b19a3746a8e402a23e0081416cd6f61b55701fb SHA512 36293de679530e85f4bf4e416d1028cb6fe7cc6d012e7b7f3a0b2203603e7d04c449dee5d0d0b6ab8cf3386e758a557d752119cd60c1a0aec12ea8815a17e413 WHIRLPOOL aae25f4507dd54dabc8b2e5ce4f11202cf69d25bffcf1fd8575ddd1623c5a2249f6f5a9750fc5ff7843c9c152587b6cfc94f1421581ddfd79c176c54461b4b23 +DIST racket-5.3.3-src-unix.tgz 18903284 SHA256 4772a01c0d1db32827b390b3239263f2a44a1c6bdcf63224dd7d36027575e0e2 SHA512 fdf1cfad87f5324a839dd766ac46681928f2d555b1b91ecfbe234ba1d83fc1412f7fe9d4e9586f0e9d36a724185b6c382de9cf0b74426d64570e9c22d0d057f1 WHIRLPOOL d6434fc970dc88476593233b5ff970d6a307350b8a34788bc42f81baedac0efa51910919581b10ca48a2e47f9c645432682819185e2ef9acc46fddd34e279ef1 +DIST racket-5.3.4-src-unix.tgz 19314579 SHA256 4d1fb86e001c497af674199f1ddff5534843bb94f21b9f0c1209b8bfdbad2d7b SHA512 35a05e31a11a8569d938af152a784358479cdad9f5007b04890d485ce92f04554df09d46179042478df96e018756b06e6c7c544b4f113272c31234b75ca740a9 WHIRLPOOL e114c4b18d4c18c8852627c9de207dd543e1f63b056bd1e8cbdecbe5e2a2a916d3144585ddb620c539ceb4c0710e0ee237803ffd4fa5b45e73434f7f017673e0 +DIST racket-5.3.6-src-unix.tgz 19278914 SHA256 7fe0ffc1231f888cd481f175e428f0217257dd136d2513bde73954af5a7cfb8a SHA512 08e8b599e800f41c9497b07e163ed43ae02ae9d9bcc3e20da31eb2f6aa20aa4b0071db51e93696ae1bd644ddfa1c3aea587a334db24ced4a3654dcf5da138e8f WHIRLPOOL c2c34de08d0ec9942f040cc23ea7f2a9bb743d0dcc7125e1b5336b0845482e67abd46b1b5cb821e898c3db50767312f3a27e386a0b7046bf068feb23a1b1bf52 +DIST racket-6.0.1-src-builtpkgs.tgz 101425779 SHA256 2b5f2bccb21d408041e167a4476115075c3b230ab50e1d66fe1a3c0ab205bfa1 SHA512 b51fade0afa33b11c4be7da8aec910a8b33bb1cc097748362ecc342b3cd50dcd1c6c52c68c3485b91bddd74a15f8767d357d911151c8cd263a0caa5d72a888a5 WHIRLPOOL d7944c7e1851bb48cc08c29d93763fb0c269ecbc33b59e02bbd6fc1592287376434c0c8c87bada29289d235d7816420170bc6c0f12f684eb9a32a7508342ce0b +DIST racket-minimal-6.0.1-src-builtpkgs.tgz 9139061 SHA256 f58aa4e3e831417b72d5c19aba20a5b0eaa1111af2f1afa3096b0a4e83b860a3 SHA512 99c7ecf5d7e1de40358a03a5878271e2864fa9e6fe11bab71bd68784bd058a2edbb4ec65ba455dbff2a943c78ec0f9a9b0f46b1532fc1b55be500593160da313 WHIRLPOOL bc3dc19d8c23129866adeb71d125314d66ce2e505d1a453f26c09e9aa42bc98626cba2ddb87d8ae53c7ad5939443defc88c4f1c4ce174567a01b1f56be9788ea diff --git a/dev-scheme/racket/metadata.xml b/dev-scheme/racket/metadata.xml new file mode 100644 index 000000000000..5fbf28bf18bb --- /dev/null +++ b/dev-scheme/racket/metadata.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <herd>scheme</herd> + <longdescription lang="en"> +==Grow your Program== +Racket's interactive mode encourages experimentation, and quick scripts easily compose into larger systems. Small scripts and large systems both benefit from native-code JIT compilation. When a system gets too big to keep in your head, you can add static types. + +==Grow your Language== +Extend Racket whenever you need to. Mold it to better suit your tasks without sacrificing interoperability with existing libraries and without having to modify the tool chain. When less is more, you can remove parts of a language or start over and build a new one. + +==Grow your Skills== +Whether you're just starting out, want to know more about programming language applications or models, looking to expand your horizons, or ready to dive into research, Racket can help you become a better programmer and system builder. + </longdescription> + <use> + <flag name='backtrace'> + Support GC backtrace dumps + </flag> + <flag name='futures'> + Enable racket/future library for fine-grained hardware parallelism + </flag> + <flag name='places'> + Enable racket/place library for share-nothing parallelism and message-passing communication. Compared to futures, places are heavyweight, but they have a simpler performance model. + </flag> + <flag name='plot'> + Enable plot libraries + </flag> + <flag name='threads'> + Enable support for green threads + </flag> + </use> +</pkgmetadata> diff --git a/dev-scheme/racket/racket-5.1.2.ebuild b/dev-scheme/racket/racket-5.1.2.ebuild new file mode 100644 index 000000000000..090b35b69651 --- /dev/null +++ b/dev-scheme/racket/racket-5.1.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS + +inherit eutils +#inherit git-2 + +DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages" +HOMEPAGE="http://racket-lang.org/" +SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz" +#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz" +EGIT_REPO_URI="git://git.racket-lang.org/plt.git" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="backtrace cairo doc futures jit places plot threads X" + +RDEPEND="X? ( x11-libs/cairo[X] ) virtual/libffi" + +DEPEND="${RDEPEND} !dev-tex/slatex" + +EGIT_SOURCEDIR="${WORKDIR}/${P}" +S="${WORKDIR}/${P}/src" + +src_prepare() { + #remove bundled libraries + rm -rf foreign/libffi/ + + sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die +} + +src_configure() { +# according to vapier, we should use the bundled libtool +# such that we don't preclude cross-compile. Thus don't use +# --enable-lt=/usr/bin/libtool + econf \ + $(use_enable X gracket) \ + $(use_enable plot) \ + $(use_enable doc docs) \ + --enable-shared \ + $(use_enable jit) \ + --enable-foreign \ + $(use_enable places) \ + $(use_enable futures) \ + $(use_enable backtrace) \ + $(use_enable threads pthread) \ + --disable-perl \ + $(use_with X x) +} + +src_compile() { + emake || die +} + +src_install() { + # deal with slatex + insinto /usr/share/texmf/tex/latex/slatex/ + doins ../collects/slatex/slatex.sty + + emake DESTDIR="${D}" install || die "emake install failed" + + if use X; then + newicon ../collects/icons/PLT-206.png drracket.png + make_desktop_entry drracket "DrRacket" drracket "Development" + fi +} diff --git a/dev-scheme/racket/racket-5.2.1.ebuild b/dev-scheme/racket/racket-5.2.1.ebuild new file mode 100644 index 000000000000..090b35b69651 --- /dev/null +++ b/dev-scheme/racket/racket-5.2.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS + +inherit eutils +#inherit git-2 + +DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages" +HOMEPAGE="http://racket-lang.org/" +SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz" +#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz" +EGIT_REPO_URI="git://git.racket-lang.org/plt.git" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="backtrace cairo doc futures jit places plot threads X" + +RDEPEND="X? ( x11-libs/cairo[X] ) virtual/libffi" + +DEPEND="${RDEPEND} !dev-tex/slatex" + +EGIT_SOURCEDIR="${WORKDIR}/${P}" +S="${WORKDIR}/${P}/src" + +src_prepare() { + #remove bundled libraries + rm -rf foreign/libffi/ + + sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die +} + +src_configure() { +# according to vapier, we should use the bundled libtool +# such that we don't preclude cross-compile. Thus don't use +# --enable-lt=/usr/bin/libtool + econf \ + $(use_enable X gracket) \ + $(use_enable plot) \ + $(use_enable doc docs) \ + --enable-shared \ + $(use_enable jit) \ + --enable-foreign \ + $(use_enable places) \ + $(use_enable futures) \ + $(use_enable backtrace) \ + $(use_enable threads pthread) \ + --disable-perl \ + $(use_with X x) +} + +src_compile() { + emake || die +} + +src_install() { + # deal with slatex + insinto /usr/share/texmf/tex/latex/slatex/ + doins ../collects/slatex/slatex.sty + + emake DESTDIR="${D}" install || die "emake install failed" + + if use X; then + newicon ../collects/icons/PLT-206.png drracket.png + make_desktop_entry drracket "DrRacket" drracket "Development" + fi +} diff --git a/dev-scheme/racket/racket-5.3.1.ebuild b/dev-scheme/racket/racket-5.3.1.ebuild new file mode 100644 index 000000000000..090b35b69651 --- /dev/null +++ b/dev-scheme/racket/racket-5.3.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS + +inherit eutils +#inherit git-2 + +DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages" +HOMEPAGE="http://racket-lang.org/" +SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz" +#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz" +EGIT_REPO_URI="git://git.racket-lang.org/plt.git" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="backtrace cairo doc futures jit places plot threads X" + +RDEPEND="X? ( x11-libs/cairo[X] ) virtual/libffi" + +DEPEND="${RDEPEND} !dev-tex/slatex" + +EGIT_SOURCEDIR="${WORKDIR}/${P}" +S="${WORKDIR}/${P}/src" + +src_prepare() { + #remove bundled libraries + rm -rf foreign/libffi/ + + sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die +} + +src_configure() { +# according to vapier, we should use the bundled libtool +# such that we don't preclude cross-compile. Thus don't use +# --enable-lt=/usr/bin/libtool + econf \ + $(use_enable X gracket) \ + $(use_enable plot) \ + $(use_enable doc docs) \ + --enable-shared \ + $(use_enable jit) \ + --enable-foreign \ + $(use_enable places) \ + $(use_enable futures) \ + $(use_enable backtrace) \ + $(use_enable threads pthread) \ + --disable-perl \ + $(use_with X x) +} + +src_compile() { + emake || die +} + +src_install() { + # deal with slatex + insinto /usr/share/texmf/tex/latex/slatex/ + doins ../collects/slatex/slatex.sty + + emake DESTDIR="${D}" install || die "emake install failed" + + if use X; then + newicon ../collects/icons/PLT-206.png drracket.png + make_desktop_entry drracket "DrRacket" drracket "Development" + fi +} diff --git a/dev-scheme/racket/racket-5.3.2.ebuild b/dev-scheme/racket/racket-5.3.2.ebuild new file mode 100644 index 000000000000..e5aeb2adc095 --- /dev/null +++ b/dev-scheme/racket/racket-5.3.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS + +inherit eutils +#inherit git-2 + +DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages" +HOMEPAGE="http://racket-lang.org/" +SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz" +#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz" +EGIT_REPO_URI="git://git.racket-lang.org/plt.git" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="backtrace cairo doc futures jit places plot threads X" + +RDEPEND="dev-db/sqlite:3 X? ( x11-libs/cairo[X] ) virtual/libffi" + +DEPEND="${RDEPEND} !dev-tex/slatex" + +EGIT_SOURCEDIR="${WORKDIR}/${P}" +S="${WORKDIR}/${P}/src" + +src_prepare() { + #remove bundled libraries + rm -rf foreign/libffi/ + + sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die +} + +src_configure() { +# according to vapier, we should use the bundled libtool +# such that we don't preclude cross-compile. Thus don't use +# --enable-lt=/usr/bin/libtool + econf \ + $(use_enable X gracket) \ + $(use_enable plot) \ + $(use_enable doc docs) \ + --enable-shared \ + $(use_enable jit) \ + --enable-foreign \ + $(use_enable places) \ + $(use_enable futures) \ + $(use_enable backtrace) \ + $(use_enable threads pthread) \ + --disable-perl \ + $(use_with X x) +} + +src_compile() { + emake || die +} + +src_install() { + # deal with slatex + insinto /usr/share/texmf/tex/latex/slatex/ + doins ../collects/slatex/slatex.sty + + emake DESTDIR="${D}" install || die "emake install failed" + + if use X; then + newicon ../collects/icons/PLT-206.png drracket.png + make_desktop_entry drracket "DrRacket" drracket "Development" + fi +} diff --git a/dev-scheme/racket/racket-5.3.3.ebuild b/dev-scheme/racket/racket-5.3.3.ebuild new file mode 100644 index 000000000000..e5aeb2adc095 --- /dev/null +++ b/dev-scheme/racket/racket-5.3.3.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS + +inherit eutils +#inherit git-2 + +DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages" +HOMEPAGE="http://racket-lang.org/" +SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz" +#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz" +EGIT_REPO_URI="git://git.racket-lang.org/plt.git" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="backtrace cairo doc futures jit places plot threads X" + +RDEPEND="dev-db/sqlite:3 X? ( x11-libs/cairo[X] ) virtual/libffi" + +DEPEND="${RDEPEND} !dev-tex/slatex" + +EGIT_SOURCEDIR="${WORKDIR}/${P}" +S="${WORKDIR}/${P}/src" + +src_prepare() { + #remove bundled libraries + rm -rf foreign/libffi/ + + sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die +} + +src_configure() { +# according to vapier, we should use the bundled libtool +# such that we don't preclude cross-compile. Thus don't use +# --enable-lt=/usr/bin/libtool + econf \ + $(use_enable X gracket) \ + $(use_enable plot) \ + $(use_enable doc docs) \ + --enable-shared \ + $(use_enable jit) \ + --enable-foreign \ + $(use_enable places) \ + $(use_enable futures) \ + $(use_enable backtrace) \ + $(use_enable threads pthread) \ + --disable-perl \ + $(use_with X x) +} + +src_compile() { + emake || die +} + +src_install() { + # deal with slatex + insinto /usr/share/texmf/tex/latex/slatex/ + doins ../collects/slatex/slatex.sty + + emake DESTDIR="${D}" install || die "emake install failed" + + if use X; then + newicon ../collects/icons/PLT-206.png drracket.png + make_desktop_entry drracket "DrRacket" drracket "Development" + fi +} diff --git a/dev-scheme/racket/racket-5.3.4.ebuild b/dev-scheme/racket/racket-5.3.4.ebuild new file mode 100644 index 000000000000..28e2c0c8c91a --- /dev/null +++ b/dev-scheme/racket/racket-5.3.4.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS + +inherit eutils +#inherit git-2 + +DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages" +HOMEPAGE="http://racket-lang.org/" +SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz" +#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz" +EGIT_REPO_URI="git://git.racket-lang.org/plt.git" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="backtrace cairo doc futures jit places plot threads X" + +RDEPEND="dev-db/sqlite:3 x11-libs/cairo[X?] virtual/libffi" + +# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation +DEPEND="${RDEPEND} x11-libs/cairo !dev-tex/slatex" + +EGIT_SOURCEDIR="${WORKDIR}/${P}" +S="${WORKDIR}/${P}/src" + +src_prepare() { + #remove bundled libraries + rm -rf foreign/libffi/ + + sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die +} + +src_configure() { +# according to vapier, we should use the bundled libtool +# such that we don't preclude cross-compile. Thus don't use +# --enable-lt=/usr/bin/libtool + econf \ + $(use_enable X gracket) \ + $(use_enable plot) \ + $(use_enable doc docs) \ + --enable-shared \ + $(use_enable jit) \ + --enable-foreign \ + $(use_enable places) \ + $(use_enable futures) \ + $(use_enable backtrace) \ + $(use_enable threads pthread) \ + --disable-perl \ + $(use_with X x) +} + +src_compile() { + emake || die +} + +src_install() { + # deal with slatex + insinto /usr/share/texmf/tex/latex/slatex/ + doins ../collects/slatex/slatex.sty + + emake DESTDIR="${D}" install || die "emake install failed" + + if use X; then + newicon ../collects/icons/PLT-206.png drracket.png + make_desktop_entry drracket "DrRacket" drracket "Development" + fi +} diff --git a/dev-scheme/racket/racket-5.3.6.ebuild b/dev-scheme/racket/racket-5.3.6.ebuild new file mode 100644 index 000000000000..b1212581dfa6 --- /dev/null +++ b/dev-scheme/racket/racket-5.3.6.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS + +inherit eutils +#inherit git-2 + +DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages" +HOMEPAGE="http://racket-lang.org/" +SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz" +#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz" +EGIT_REPO_URI="git://git.racket-lang.org/plt.git" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="backtrace cairo doc futures jit places plot threads X" + +RDEPEND="dev-db/sqlite:3 x11-libs/cairo[X?] virtual/libffi" + +# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation +DEPEND="${RDEPEND} x11-libs/cairo !dev-tex/slatex" + +EGIT_SOURCEDIR="${WORKDIR}/${P}" +S="${WORKDIR}/${P}/src" + +src_prepare() { + #remove bundled libraries + rm -rf foreign/libffi/ + + sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die +} + +src_configure() { +# according to vapier, we should use the bundled libtool +# such that we don't preclude cross-compile. Thus don't use +# --enable-lt=/usr/bin/libtool + econf \ + $(use_enable X gracket) \ + $(use_enable plot) \ + $(use_enable doc docs) \ + --enable-shared \ + $(use_enable jit) \ + --enable-foreign \ + $(use_enable places) \ + $(use_enable futures) \ + $(use_enable backtrace) \ + $(use_enable threads pthread) \ + --disable-perl \ + $(use_with X x) +} + +src_compile() { + emake || die +} + +src_install() { + # deal with slatex + insinto /usr/share/texmf/tex/latex/slatex/ + doins ../collects/slatex/slatex.sty + + emake DESTDIR="${D}" install || die "emake install failed" + + if use X; then + newicon ../collects/icons/PLT-206.png drracket.png + make_desktop_entry drracket "DrRacket" drracket "Development" + fi +} diff --git a/dev-scheme/racket/racket-6.0.1.ebuild b/dev-scheme/racket/racket-6.0.1.ebuild new file mode 100644 index 000000000000..845364807c74 --- /dev/null +++ b/dev-scheme/racket/racket-6.0.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +# for live ebuilds uncomment inherit git-2, comment SRC_URI and empty KEYWORDS + +inherit eutils pax-utils +#inherit git-2 + +DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages" +HOMEPAGE="http://racket-lang.org/" +SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )" +#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz" +EGIT_REPO_URI="git://git.racket-lang.org/plt.git" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc +futures +jit minimal +places +threads +X" +REQUIRED_USE="futures? ( jit )" + +# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation +RDEPEND="dev-db/sqlite:3 x11-libs/cairo[X?] virtual/libffi" +DEPEND="${RDEPEND}" + +EGIT_SOURCEDIR="${WORKDIR}/${P}" +S="${WORKDIR}/${P}/src" + +src_prepare() { + #remove bundled libraries + rm -rf foreign/libffi/ +} + +src_configure() { +# according to vapier, we should use the bundled libtool +# such that we don't preclude cross-compile. Thus don't use +# --enable-lt=/usr/bin/libtool + econf \ + $(use_enable X gracket) \ + $(use_enable doc docs) \ + --enable-shared \ + $(use_enable jit) \ + --enable-foreign \ + $(use_enable places) \ + $(use_enable futures) \ + $(use_enable threads pthread) +} + +src_compile() { + if use jit; then + pushd racket + emake cgc + pax-mark m .libs/racketcgc + emake 3m + pax-mark m .libs/racket3m + popd + fi + emake +} + +src_install() { + #racket now comes with desktop files, but DESTDIR is mishandled + for f in /usr/share/applications/{drracket,slideshow}.desktop; do + sed -ie "s|${D}||" "${D}/${f}" + done + + emake DESTDIR="${D}" install +} |