summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2008-11-27 15:13:13 +0000
committerMarijn Schouten <hkbst@gentoo.org>2008-11-27 15:13:13 +0000
commitc059dfecc1a2c6b8724d48bc5c1e8d4c2f58fd3d (patch)
tree0fc83293c8332137212644c8919b21c22e647d83 /dev-scheme/plt-scheme
parentApply 0.6.1-test patch to 0.6.2 as well. (diff)
downloadgentoo-2-c059dfecc1a2c6b8724d48bc5c1e8d4c2f58fd3d.tar.gz
gentoo-2-c059dfecc1a2c6b8724d48bc5c1e8d4c2f58fd3d.tar.bz2
gentoo-2-c059dfecc1a2c6b8724d48bc5c1e8d4c2f58fd3d.zip
bump
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'dev-scheme/plt-scheme')
-rw-r--r--dev-scheme/plt-scheme/ChangeLog7
-rw-r--r--dev-scheme/plt-scheme/plt-scheme-4.1.3.ebuild94
2 files changed, 100 insertions, 1 deletions
diff --git a/dev-scheme/plt-scheme/ChangeLog b/dev-scheme/plt-scheme/ChangeLog
index 1c735ac6c6d5..c408ed96b7e2 100644
--- a/dev-scheme/plt-scheme/ChangeLog
+++ b/dev-scheme/plt-scheme/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-scheme/plt-scheme
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/ChangeLog,v 1.3 2008/11/22 12:18:24 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/ChangeLog,v 1.4 2008/11/27 15:13:13 hkbst Exp $
+
+*plt-scheme-4.1.3 (27 Nov 2008)
+
+ 27 Nov 2008; Marijn Schouten <hkBst@gentoo.org> +plt-scheme-4.1.3.ebuild:
+ bump
17 Nov 2008; Panagiotis Christopoulos <pchrist@gentoo.org>
plt-scheme-0.372-r1.ebuild, plt-scheme-4.0.1.ebuild,
diff --git a/dev-scheme/plt-scheme/plt-scheme-4.1.3.ebuild b/dev-scheme/plt-scheme/plt-scheme-4.1.3.ebuild
new file mode 100644
index 000000000000..d7002e7e0e6c
--- /dev/null
+++ b/dev-scheme/plt-scheme/plt-scheme-4.1.3.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/plt-scheme-4.1.3.ebuild,v 1.1 2008/11/27 15:13:13 hkbst Exp $
+
+inherit eutils latex-package
+
+SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz
+ http://pre.plt-scheme.org/installers/plt-${PV}-src-unix.tgz"
+#"mirror://gentoo/plt-${PV%%_p*}-src-unix.tgz"
+
+DESCRIPTION="DrScheme programming environment. Includes mzscheme."
+HOMEPAGE="http://www.plt-scheme.org"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="backtrace cairo cgc llvm opengl profile X"
+
+RDEPEND="X? ( x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXaw
+ >=x11-libs/libXft-2.1.12
+ x11-libs/libXrender
+ media-libs/freetype
+ media-libs/fontconfig
+ cairo? ( x11-libs/cairo )
+ media-libs/jpeg
+ opengl? ( virtual/opengl )
+ media-libs/libpng )"
+
+DEPEND="${RDEPEND} !dev-tex/slatex"
+
+S="${WORKDIR}/plt-${PV%%_p*}"
+
+pkg_setup() {
+ if use cairo && use X; then
+ if ! built_with_use x11-libs/cairo X; then
+ eerror "Cairo must be built with X use flag"
+ die "Cairo must be built with X use flag"
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed "s,docdir=\"\${datadir}/plt/doc,docdir=\"\${datadir}/doc/${PF}," -i src/configure
+
+# epatch "${FILESDIR}/${PN}-4.1.2-as_needed.patch"
+}
+
+src_compile() {
+ cd src
+
+# 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 mred) \
+ --enable-shared \
+ --disable-perl \
+ $(use_enable backtrace) \
+ $(use_enable cairo) \
+ $(use_enable llvm) \
+ $(use_enable opengl gl) \
+ $(use_enable profile gprof) \
+ --enable-xft \
+ --enable-xrender
+
+ if use cgc; then
+ emake both || die "emake both failed"
+ else
+ emake || die "emake failed"
+ fi
+}
+
+src_install() {
+ # deal with slatex
+ insinto /usr/share/texmf/tex/latex/slatex/
+ doins collects/slatex/slatex.sty
+
+ cd src
+# export MZSCHEME_DYNEXT_LINKER_FLAGS=$(raw-ldflags)
+
+ if use cgc; then
+ emake DESTDIR="${D}" install-both || die "emake install-both failed"
+ else
+ emake DESTDIR="${D}" install || die "emake install failed"
+ fi
+
+ if use X; then
+ newicon ../collects/icons/PLT-206.png drscheme.png
+ make_desktop_entry drscheme "DrScheme" drscheme "Development"
+ fi
+}