summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2006-11-21 16:56:26 +0000
committerPatrick McLean <chutzpah@gentoo.org>2006-11-21 16:56:26 +0000
commitbed64742d70838a67d079bb742210a637dd089c5 (patch)
treee81383d41ac8f7871c48efc556718682b8fe0d7b /dev-scheme
parentremove drscheme-259.200 mask pending bump to 260 (diff)
downloadhistorical-bed64742d70838a67d079bb742210a637dd089c5.tar.gz
historical-bed64742d70838a67d079bb742210a637dd089c5.tar.bz2
historical-bed64742d70838a67d079bb742210a637dd089c5.zip
Version bump.
Package-Manager: portage-2.1.2_rc1-r6
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/drscheme/ChangeLog8
-rw-r--r--dev-scheme/drscheme/drscheme-360.ebuild75
-rw-r--r--dev-scheme/drscheme/files/digest-drscheme-3603
3 files changed, 85 insertions, 1 deletions
diff --git a/dev-scheme/drscheme/ChangeLog b/dev-scheme/drscheme/ChangeLog
index f4c8f70c9ae8..94fca786dc2d 100644
--- a/dev-scheme/drscheme/ChangeLog
+++ b/dev-scheme/drscheme/ChangeLog
@@ -1,6 +1,12 @@
# 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.37 2006/11/15 20:07:16 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.38 2006/11/21 16:56:26 chutzpah Exp $
+
+*drscheme-360 (21 Nov 2006)
+
+ 21 Nov 2006; Patrick McLean <chutzpah@gentoo.org>
+ -drscheme-359.200.ebuild, +drscheme-360.ebuild:
+ Version bump.
15 Nov 2006; Patrick McLean <chutzpah@gentoo.org> drscheme-359.200.ebuild:
Remove the moving of the gl collects, fixes #155262.
diff --git a/dev-scheme/drscheme/drscheme-360.ebuild b/dev-scheme/drscheme/drscheme-360.ebuild
new file mode 100644
index 000000000000..fcc96ce4baca
--- /dev/null
+++ b/dev-scheme/drscheme/drscheme-360.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-360.ebuild,v 1.1 2006/11/21 16:56:26 chutzpah Exp $
+
+inherit eutils multilib flag-o-matic
+
+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"
+
+RDEPEND="x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXaw
+ >x11-libs/libXft-2.1.9
+ !dev-scheme/mzscheme
+ media-libs/freetype
+ media-libs/fontconfig
+ cairo? ( x11-libs/cairo )
+ jpeg? ( media-libs/jpeg )
+ opengl? ( virtual/opengl )
+ png? ( media-libs/libpng )"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/plt-${PV}/src"
+GL_COLLECTS="sgl games/gobblet games/checkers games/jewel games/gl-board-game"
+
+src_unpack() {
+ unpack ${A}
+ cd "${WORKDIR}/plt-${PV}"
+
+ epatch "${FILESDIR}/${PN}-350-fPIC.patch"
+}
+
+src_compile() {
+ # needed because drschme uses it's own linker that passes LDFLAGS directly
+ # to the linker, rather than passing it through gcc
+ LDFLAGS="${LDFLAGS//-Wl/}"
+ LDFLAGS="${LDFLAGS//,/ }"
+
+ # -O3 seems to cause some miscompiles, this should fix #141925 and #133888
+ replace-flags -O? -O2
+
+ 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/${PF}/"
+ rm -rf "${D}/usr/share/plt/doc"
+
+ # needed so online help works
+ keepdir /usr/share/plt
+ dosym "/usr/share/doc/${PF}" "/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-360 b/dev-scheme/drscheme/files/digest-drscheme-360
new file mode 100644
index 000000000000..d327f48d3562
--- /dev/null
+++ b/dev-scheme/drscheme/files/digest-drscheme-360
@@ -0,0 +1,3 @@
+MD5 84bcab3ff30c333ae3c6b732518bdf27 plt-360-src-unix.tgz 14106005
+RMD160 cbe045f26f429d7df85540f09135c90bde45f84c plt-360-src-unix.tgz 14106005
+SHA256 014cd5c91231a5b6dd67c90ca9d2c26a7466abe0d072a37a40a605b29870f3bd plt-360-src-unix.tgz 14106005