1 |
hkbst 08/11/27 15:13:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: plt-scheme-4.1.3.ebuild |
5 |
Log: |
6 |
bump |
7 |
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.26-gentoo-r1 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.4 dev-scheme/plt-scheme/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/plt-scheme/ChangeLog?rev=1.4&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/plt-scheme/ChangeLog?rev=1.4&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/plt-scheme/ChangeLog?r1=1.3&r2=1.4 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/ChangeLog,v |
19 |
retrieving revision 1.3 |
20 |
retrieving revision 1.4 |
21 |
diff -u -r1.3 -r1.4 |
22 |
--- ChangeLog 22 Nov 2008 12:18:24 -0000 1.3 |
23 |
+++ ChangeLog 27 Nov 2008 15:13:13 -0000 1.4 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-scheme/plt-scheme |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/ChangeLog,v 1.3 2008/11/22 12:18:24 swegener Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/ChangeLog,v 1.4 2008/11/27 15:13:13 hkbst Exp $ |
29 |
+ |
30 |
+*plt-scheme-4.1.3 (27 Nov 2008) |
31 |
+ |
32 |
+ 27 Nov 2008; Marijn Schouten <hkBst@g.o> +plt-scheme-4.1.3.ebuild: |
33 |
+ bump |
34 |
|
35 |
17 Nov 2008; Panagiotis Christopoulos <pchrist@g.o> |
36 |
plt-scheme-0.372-r1.ebuild, plt-scheme-4.0.1.ebuild, |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-scheme/plt-scheme/plt-scheme-4.1.3.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/plt-scheme/plt-scheme-4.1.3.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/plt-scheme/plt-scheme-4.1.3.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: plt-scheme-4.1.3.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 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.3.ebuild,v 1.1 2008/11/27 15:13:13 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*}" |
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 src/configure |
94 |
|
95 |
# epatch "${FILESDIR}/${PN}-4.1.2-as_needed.patch" |
96 |
} |
97 |
|
98 |
src_compile() { |
99 |
cd src |
100 |
|
101 |
# according to vapier, we should use the bundled libtool |
102 |
# such that we don't preclude cross-compile. Thus don't use |
103 |
# --enable-lt=/usr/bin/libtool |
104 |
econf $(use_enable X mred) \ |
105 |
--enable-shared \ |
106 |
--disable-perl \ |
107 |
$(use_enable backtrace) \ |
108 |
$(use_enable cairo) \ |
109 |
$(use_enable llvm) \ |
110 |
$(use_enable opengl gl) \ |
111 |
$(use_enable profile gprof) \ |
112 |
--enable-xft \ |
113 |
--enable-xrender |
114 |
|
115 |
if use cgc; then |
116 |
emake both || die "emake both failed" |
117 |
else |
118 |
emake || die "emake failed" |
119 |
fi |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
# deal with slatex |
124 |
insinto /usr/share/texmf/tex/latex/slatex/ |
125 |
doins collects/slatex/slatex.sty |
126 |
|
127 |
cd src |
128 |
# export MZSCHEME_DYNEXT_LINKER_FLAGS=$(raw-ldflags) |
129 |
|
130 |
if use cgc; then |
131 |
emake DESTDIR="${D}" install-both || die "emake install-both failed" |
132 |
else |
133 |
emake DESTDIR="${D}" install || die "emake install failed" |
134 |
fi |
135 |
|
136 |
if use X; then |
137 |
newicon ../collects/icons/PLT-206.png drscheme.png |
138 |
make_desktop_entry drscheme "DrScheme" drscheme "Development" |
139 |
fi |
140 |
} |