summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2006-07-28 18:43:33 +0000
committerPatrick McLean <chutzpah@gentoo.org>2006-07-28 18:43:33 +0000
commitbd9d77824ca1a461fa92375790f69e3ffb301f1a (patch)
tree1485e5c37169fd4d9f31b6234fed538309a5f69f /dev-scheme/drscheme
parentBump version, bug 141842. (diff)
downloadgentoo-2-bd9d77824ca1a461fa92375790f69e3ffb301f1a.tar.gz
gentoo-2-bd9d77824ca1a461fa92375790f69e3ffb301f1a.tar.bz2
gentoo-2-bd9d77824ca1a461fa92375790f69e3ffb301f1a.zip
Version bump.
(Portage version: 2.1.1_pre3-r5)
Diffstat (limited to 'dev-scheme/drscheme')
-rw-r--r--dev-scheme/drscheme/ChangeLog7
-rw-r--r--dev-scheme/drscheme/drscheme-352.ebuild80
-rw-r--r--dev-scheme/drscheme/files/digest-drscheme-3523
3 files changed, 89 insertions, 1 deletions
diff --git a/dev-scheme/drscheme/ChangeLog b/dev-scheme/drscheme/ChangeLog
index f2a5728e27c8..bf2ad2e4c4f9 100644
--- a/dev-scheme/drscheme/ChangeLog
+++ b/dev-scheme/drscheme/ChangeLog
@@ -1,6 +1,11 @@
# 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.27 2006/07/28 01:32:59 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.28 2006/07/28 18:43:33 chutzpah Exp $
+
+*drscheme-352 (28 Jul 2006)
+
+ 28 Jul 2006; Patrick McLean <chutzpah@gentoo.org> +drscheme-352.ebuild:
+ Version bump.
28 Jul 2006; Patrick McLean <chutzpah@gentoo.org> drscheme-351.ebuild:
Fix RDEPEND's.
diff --git a/dev-scheme/drscheme/drscheme-352.ebuild b/dev-scheme/drscheme/drscheme-352.ebuild
new file mode 100644
index 000000000000..6cc77bf29817
--- /dev/null
+++ b/dev-scheme/drscheme/drscheme-352.ebuild
@@ -0,0 +1,80 @@
+# 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-352.ebuild,v 1.1 2006/07/28 18:43:33 chutzpah Exp $
+
+inherit eutils 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 )"
+
+RDEPEND="${DEPEND}"
+
+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"
+
+ newicon "${WORKDIR}/plt/collects/icons/PLT-206.png" drscheme.png
+ make_desktop_entry drscheme "DrScheme" drscheme.png "Development"
+}
diff --git a/dev-scheme/drscheme/files/digest-drscheme-352 b/dev-scheme/drscheme/files/digest-drscheme-352
new file mode 100644
index 000000000000..cf1b13d8d559
--- /dev/null
+++ b/dev-scheme/drscheme/files/digest-drscheme-352
@@ -0,0 +1,3 @@
+MD5 e79fd305fe431e0477f861902f2ef9e1 plt-352-src-unix.tgz 13661695
+RMD160 f7655e4f21cd54ddd6b9d6c29c056ef76e1b589b plt-352-src-unix.tgz 13661695
+SHA256 f221a21667c19d763e204310055804c6f6eab9349eccf9481afd5104edb8e45d plt-352-src-unix.tgz 13661695