diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2006-07-27 18:20:26 +0000 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2006-07-27 18:20:26 +0000 |
commit | d1a8b950ef38bb7345bed00b0c1afbe58d716715 (patch) | |
tree | 144c35ace3985f9c956436c3e23fad0735480d6b /dev-scheme | |
parent | Stable on ppc64; bug #141444 (diff) | |
download | historical-d1a8b950ef38bb7345bed00b0c1afbe58d716715.tar.gz historical-d1a8b950ef38bb7345bed00b0c1afbe58d716715.tar.bz2 historical-d1a8b950ef38bb7345bed00b0c1afbe58d716715.zip |
New version, add USE flags for "backtrace" and "sgc". Ebuild majorly reworked to account for massive bugfixes to the build system (fixes bug #137244). Add block againse dev-scheme/mzscheme since this now installs a "mzscheme" binary. Drop 350 since it never worked anyway.
Package-Manager: portage-2.1.1_pre2-r8
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/drscheme/ChangeLog | 12 | ||||
-rw-r--r-- | dev-scheme/drscheme/drscheme-351.ebuild | 75 | ||||
-rw-r--r-- | dev-scheme/drscheme/files/digest-drscheme-351 | 3 |
3 files changed, 89 insertions, 1 deletions
diff --git a/dev-scheme/drscheme/ChangeLog b/dev-scheme/drscheme/ChangeLog index a3f71865dffc..4c1319fa13f7 100644 --- a/dev-scheme/drscheme/ChangeLog +++ b/dev-scheme/drscheme/ChangeLog @@ -1,6 +1,16 @@ # 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.24 2006/07/09 20:46:57 chutzpah Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.25 2006/07/27 18:20:26 chutzpah Exp $ + +*drscheme-351 (27 Jul 2006) + + 27 Jul 2006; Patrick McLean <chutzpah@gentoo.org> + -files/drscheme-350-destdir.patch, -drscheme-350.ebuild, + +drscheme-351.ebuild: + New version, add USE flags for "backtrace" and "sgc". Ebuild majorly + reworked to account for massive bugfixes to the build system (fixes bug + #137244). Add block againse dev-scheme/mzscheme since this now installs + a "mzscheme" binary. Drop 350 since it never worked anyway. *drscheme-350 (09 Jul 2006) diff --git a/dev-scheme/drscheme/drscheme-351.ebuild b/dev-scheme/drscheme/drscheme-351.ebuild new file mode 100644 index 000000000000..7e7ffd22aaa7 --- /dev/null +++ b/dev-scheme/drscheme/drscheme-351.ebuild @@ -0,0 +1,75 @@ +# 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-351.ebuild,v 1.1 2006/07/27 18:20:26 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="~amd64 ~ppc ~x86" +IUSE="backtrace cairo jpeg opengl perl png sgc" + +DEPEND="|| ( ( x11-libs/libICE + x11-libs/libSM + x11-libs/libXaw + x11-libs/libXft + ) + virtual/x11 + ) + !dev-scheme/mzscheme + 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" +GL_COLLECTS="sgl games/gobblet games/checkers games/jewel games/gl-board-game" + +src_unpack() { + unpack ${A} + cd "${WORKDIR}/plt" + + epatch "${FILESDIR}/${PN}-350-fPIC.patch" + + if ! use opengl ; then + # move aside the opengl-dependent stuff or install will fail + mkdir collects-disabled + + for dir in ${GL_COLLECTS}; do + mv -f collects/${dir} collects-disabled/$(basename ${dir}) + done + fi +} + +src_compile() { + + econf --enable-mred \ + $(use_enable backtrace) \ + $(use_enable cairo) \ + $(use_enable jpeg libjpeg) \ + $(use_enable opengl gl) \ + $(use_enable perl) \ + $(use_enable png libpng) \ + $(use_enable sgc) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc ${WORKDIR}/plt/{readme.txt,src/README} + + mv -f "${D}"/usr/share/plt/doc/* "${D}/usr/share/doc/${P}/" + rm -rf "${D}/usr/share/plt/doc" + + # needed so online help works + keepdir /usr/share/plt + dosym "/usr/share/doc/${P}" "/usr/share/plt/doc" +} diff --git a/dev-scheme/drscheme/files/digest-drscheme-351 b/dev-scheme/drscheme/files/digest-drscheme-351 new file mode 100644 index 000000000000..3cbe5a4dce38 --- /dev/null +++ b/dev-scheme/drscheme/files/digest-drscheme-351 @@ -0,0 +1,3 @@ +MD5 b4ca6a017c83815529fec43a4b39aaff plt-351-src-unix.tgz 13334847 +RMD160 9b793df6abc994725853ab7db78aa469860863ab plt-351-src-unix.tgz 13334847 +SHA256 77e1d49c8ec6e1f3d9e7dabd8f6f83228226864577d67710d76272b97a9c05cc plt-351-src-unix.tgz 13334847 |