1 |
hkbst 09/03/22 13:03:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: plt-scheme-4.1.5.ebuild |
5 |
Log: |
6 |
bump |
7 |
(Portage version: 2.1.6.9/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.6 dev-scheme/plt-scheme/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/plt-scheme/ChangeLog?rev=1.6&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/plt-scheme/ChangeLog?rev=1.6&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/plt-scheme/ChangeLog?r1=1.5&r2=1.6 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/ChangeLog,v |
19 |
retrieving revision 1.5 |
20 |
retrieving revision 1.6 |
21 |
diff -u -r1.5 -r1.6 |
22 |
--- ChangeLog 21 Jan 2009 17:00:39 -0000 1.5 |
23 |
+++ ChangeLog 22 Mar 2009 13:03:12 -0000 1.6 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-scheme/plt-scheme |
26 |
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/ChangeLog,v 1.5 2009/01/21 17:00:39 hkbst Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/ChangeLog,v 1.6 2009/03/22 13:03:12 hkbst Exp $ |
29 |
+ |
30 |
+*plt-scheme-4.1.5 (22 Mar 2009) |
31 |
+ |
32 |
+ 22 Mar 2009; Marijn Schouten <hkBst@g.o> +plt-scheme-4.1.5.ebuild: |
33 |
+ bump |
34 |
|
35 |
*plt-scheme-4.1.4 (21 Jan 2009) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-scheme/plt-scheme/plt-scheme-4.1.5.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/plt-scheme/plt-scheme-4.1.5.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/plt-scheme/plt-scheme-4.1.5.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: plt-scheme-4.1.5.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/plt-scheme-4.1.5.ebuild,v 1.1 2009/03/22 13:03:12 hkbst Exp $ |
50 |
|
51 |
inherit eutils latex-package |
52 |
|
53 |
SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz |
54 |
http://pre.plt-scheme.org/installers/plt-${PV}-src-unix.tgz" |
55 |
#"mirror://gentoo/plt-${PV%%_p*}-src-unix.tgz" |
56 |
|
57 |
DESCRIPTION="DrScheme programming environment. Includes mzscheme." |
58 |
HOMEPAGE="http://www.plt-scheme.org" |
59 |
LICENSE="LGPL-2.1" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~ppc ~x86" |
62 |
IUSE="backtrace cairo cgc llvm opengl profile X" |
63 |
|
64 |
RDEPEND="X? ( x11-libs/libICE |
65 |
x11-libs/libSM |
66 |
x11-libs/libXaw |
67 |
>=x11-libs/libXft-2.1.12 |
68 |
x11-libs/libXrender |
69 |
media-libs/freetype |
70 |
media-libs/fontconfig |
71 |
cairo? ( x11-libs/cairo ) |
72 |
media-libs/jpeg |
73 |
opengl? ( virtual/opengl ) |
74 |
media-libs/libpng )" |
75 |
|
76 |
DEPEND="${RDEPEND} !dev-tex/slatex" |
77 |
|
78 |
S="${WORKDIR}/plt-${PV%%_p*}/src" |
79 |
|
80 |
pkg_setup() { |
81 |
if use cairo && use X; then |
82 |
if ! built_with_use x11-libs/cairo X; then |
83 |
eerror "Cairo must be built with X use flag" |
84 |
die "Cairo must be built with X use flag" |
85 |
fi |
86 |
fi |
87 |
} |
88 |
|
89 |
src_unpack() { |
90 |
unpack ${A} |
91 |
cd "${S}" |
92 |
|
93 |
sed "s,docdir=\"\${datadir}/plt/doc,docdir=\"\${datadir}/doc/${PF}," -i configure |
94 |
} |
95 |
|
96 |
src_compile() { |
97 |
# according to vapier, we should use the bundled libtool |
98 |
# such that we don't preclude cross-compile. Thus don't use |
99 |
# --enable-lt=/usr/bin/libtool |
100 |
econf $(use_enable X mred) \ |
101 |
--enable-shared \ |
102 |
--disable-perl \ |
103 |
$(use_enable backtrace) \ |
104 |
$(use_enable cairo) \ |
105 |
$(use_enable llvm) \ |
106 |
$(use_enable opengl gl) \ |
107 |
$(use_enable profile gprof) \ |
108 |
--enable-xft \ |
109 |
--enable-xrender |
110 |
|
111 |
if use cgc; then |
112 |
emake both || die "emake both failed" |
113 |
else |
114 |
emake || die "emake failed" |
115 |
fi |
116 |
} |
117 |
|
118 |
src_install() { |
119 |
# deal with slatex |
120 |
insinto /usr/share/texmf/tex/latex/slatex/ |
121 |
doins collects/slatex/slatex.sty |
122 |
|
123 |
if use cgc; then |
124 |
emake DESTDIR="${D}" install-both || die "emake install-both failed" |
125 |
else |
126 |
emake DESTDIR="${D}" install || die "emake install failed" |
127 |
fi |
128 |
|
129 |
if use X; then |
130 |
newicon ../collects/icons/PLT-206.png drscheme.png |
131 |
make_desktop_entry drscheme "DrScheme" drscheme "Development" |
132 |
fi |
133 |
} |