1 |
abcd 10/02/22 20:40:50 |
2 |
|
3 |
Modified: ChangeLog highlight-2.9.ebuild |
4 |
Log: |
5 |
Add prefix keywords, support; bump EAPI |
6 |
(Portage version: -svn/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.26 app-text/highlight/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/highlight/ChangeLog?rev=1.26&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/highlight/ChangeLog?rev=1.26&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/highlight/ChangeLog?r1=1.25&r2=1.26 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/app-text/highlight/ChangeLog,v |
18 |
retrieving revision 1.25 |
19 |
retrieving revision 1.26 |
20 |
diff -u -r1.25 -r1.26 |
21 |
--- ChangeLog 4 May 2009 20:14:33 -0000 1.25 |
22 |
+++ ChangeLog 22 Feb 2010 20:40:49 -0000 1.26 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for app-text/highlight |
25 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/ChangeLog,v 1.25 2009/05/04 20:14:33 ssuominen Exp $ |
27 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/ChangeLog,v 1.26 2010/02/22 20:40:49 abcd Exp $ |
29 |
+ |
30 |
+ 22 Feb 2010; Jonathan Callen <abcd@g.o> highlight-2.9.ebuild: |
31 |
+ Add prefix keywords, support; bump EAPI |
32 |
|
33 |
*highlight-2.9 (04 May 2009) |
34 |
|
35 |
|
36 |
|
37 |
|
38 |
1.4 app-text/highlight/highlight-2.9.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/highlight/highlight-2.9.ebuild?rev=1.4&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/highlight/highlight-2.9.ebuild?rev=1.4&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/highlight/highlight-2.9.ebuild?r1=1.3&r2=1.4 |
43 |
|
44 |
Index: highlight-2.9.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/app-text/highlight/highlight-2.9.ebuild,v |
47 |
retrieving revision 1.3 |
48 |
retrieving revision 1.4 |
49 |
diff -u -r1.3 -r1.4 |
50 |
--- highlight-2.9.ebuild 4 May 2009 20:24:08 -0000 1.3 |
51 |
+++ highlight-2.9.ebuild 22 Feb 2010 20:40:49 -0000 1.4 |
52 |
@@ -1,8 +1,8 @@ |
53 |
-# Copyright 1999-2009 Gentoo Foundation |
54 |
+# Copyright 1999-2010 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/highlight-2.9.ebuild,v 1.3 2009/05/04 20:24:08 ssuominen Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/highlight-2.9.ebuild,v 1.4 2010/02/22 20:40:49 abcd Exp $ |
58 |
|
59 |
-EAPI=2 |
60 |
+EAPI=3 |
61 |
inherit eutils toolchain-funcs |
62 |
|
63 |
DESCRIPTION="converts source code to formatted text ((X)HTML, RTF, (La)TeX, XSL-FO, XML) with syntax highlight" |
64 |
@@ -11,7 +11,7 @@ |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
-KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" |
69 |
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
70 |
IUSE="qt4" |
71 |
|
72 |
RDEPEND="qt4? ( x11-libs/qt-gui:4 |
73 |
@@ -20,16 +20,16 @@ |
74 |
|
75 |
src_prepare() { |
76 |
sed -i -e 's:-O2::' -e 's:CFLAGS:CXXFLAGS:g' \ |
77 |
- -e 's:qmake-qt4:/usr/bin/qmake:' \ |
78 |
+ -e 's:qmake-qt4:${EPREFIX}/usr/bin/qmake:' \ |
79 |
src/makefile || die "sed failed" |
80 |
} |
81 |
|
82 |
src_compile() { |
83 |
- emake -f makefile CXX="$(tc-getCXX)" \ |
84 |
+ emake -f makefile PREFIX="${EPREFIX}" conf_dir="${EPREFIX}"/etc/highlight/ CXX="$(tc-getCXX)" \ |
85 |
|| die "emake failed" |
86 |
|
87 |
if use qt4; then |
88 |
- emake -j1 -f makefile CXX="$(tc-getCXX)" gui \ |
89 |
+ emake -j1 -f makefile PREFIX="${EPREFIX}" conf_dir="${EPREFIX}"/etc/highlight/ CXX="$(tc-getCXX)" gui \ |
90 |
|| die "emake gui failed" |
91 |
fi |
92 |
} |
93 |
@@ -38,10 +38,12 @@ |
94 |
dodir /usr/bin |
95 |
|
96 |
emake -f makefile DESTDIR="${D}" \ |
97 |
+ PREFIX="${EPREFIX}" conf_dir="${EPREFIX}"/etc/highlight/ \ |
98 |
install || die "emake install failed" |
99 |
|
100 |
if use qt4; then |
101 |
emake -f makefile DESTDIR="${D}" \ |
102 |
+ PREFIX="${EPREFIX}" conf_dir="${EPREFIX}"/etc/highlight/ \ |
103 |
install-gui || die "emake install-gui failed" |
104 |
doicon src/gui-qt/${PN}.xpm |
105 |
domenu ${PN}.desktop |