1 |
abcd 10/02/22 21:07:23 |
2 |
|
3 |
Modified: ChangeLog catdoc-0.94.2-r1.ebuild |
4 |
Log: |
5 |
Transfer prefix keywords, bump EAPI |
6 |
(Portage version: -svn/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.25 app-text/catdoc/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/catdoc/ChangeLog?rev=1.25&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/catdoc/ChangeLog?rev=1.25&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/catdoc/ChangeLog?r1=1.24&r2=1.25 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/app-text/catdoc/ChangeLog,v |
18 |
retrieving revision 1.24 |
19 |
retrieving revision 1.25 |
20 |
diff -u -r1.24 -r1.25 |
21 |
--- ChangeLog 9 Jun 2009 12:39:47 -0000 1.24 |
22 |
+++ ChangeLog 22 Feb 2010 21:07:22 -0000 1.25 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for app-text/catdoc |
25 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/catdoc/ChangeLog,v 1.24 2009/06/09 12:39:47 flameeyes Exp $ |
27 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/catdoc/ChangeLog,v 1.25 2010/02/22 21:07:22 abcd Exp $ |
29 |
+ |
30 |
+ 22 Feb 2010; Jonathan Callen <abcd@g.o> catdoc-0.94.2-r1.ebuild: |
31 |
+ Transfer prefix keywords, bump EAPI |
32 |
|
33 |
09 Jun 2009; Diego E. Pettenò <flameeyes@g.o> |
34 |
catdoc-0.94.2-r1.ebuild, +files/catdoc-0.94.2+autoconf-2.63.patch: |
35 |
|
36 |
|
37 |
|
38 |
1.3 app-text/catdoc/catdoc-0.94.2-r1.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/catdoc/catdoc-0.94.2-r1.ebuild?rev=1.3&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/catdoc/catdoc-0.94.2-r1.ebuild?rev=1.3&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/catdoc/catdoc-0.94.2-r1.ebuild?r1=1.2&r2=1.3 |
43 |
|
44 |
Index: catdoc-0.94.2-r1.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/app-text/catdoc/catdoc-0.94.2-r1.ebuild,v |
47 |
retrieving revision 1.2 |
48 |
retrieving revision 1.3 |
49 |
diff -u -r1.2 -r1.3 |
50 |
--- catdoc-0.94.2-r1.ebuild 9 Jun 2009 12:39:47 -0000 1.2 |
51 |
+++ catdoc-0.94.2-r1.ebuild 22 Feb 2010 21:07:22 -0000 1.3 |
52 |
@@ -1,7 +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/catdoc/catdoc-0.94.2-r1.ebuild,v 1.2 2009/06/09 12:39:47 flameeyes Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/catdoc/catdoc-0.94.2-r1.ebuild,v 1.3 2010/02/22 21:07:22 abcd Exp $ |
58 |
|
59 |
+EAPI=3 |
60 |
WANT_AUTOMAKE=none |
61 |
|
62 |
inherit autotools eutils |
63 |
@@ -19,30 +20,27 @@ |
64 |
|
65 |
DOCS="CODING.STD CREDITS NEWS README TODO" |
66 |
|
67 |
-src_unpack() { |
68 |
- unpack ${A} |
69 |
- cd "${S}" |
70 |
+src_prepare() { |
71 |
epatch "${FILESDIR}/${P}-flags.patch" |
72 |
epatch "${FILESDIR}/${P}+autoconf-2.63.patch" |
73 |
- eautoconf |
74 |
-} |
75 |
|
76 |
-src_compile() { |
77 |
+ # Fix for case-insensitive filesystems |
78 |
+ echo ".PHONY: all install clean distclean dist" >> Makefile.in |
79 |
|
80 |
- local myconf="--with-install-root=${D}" |
81 |
+ eautoconf |
82 |
+} |
83 |
|
84 |
- use tk \ |
85 |
- && myconf="${myconf} --with-wish=/usr/bin/wish" \ |
86 |
- || myconf="${myconf} --disable-wordview" |
87 |
+src_configure() { |
88 |
+ econf --with-install-root="${D}" \ |
89 |
+ $(use_with tk wish "${EPREFIX}"/usr/bin/wish) \ |
90 |
+ $(use_with !tk wordview) |
91 |
+} |
92 |
|
93 |
- econf ${myconf} || die |
94 |
+src_compile() { |
95 |
emake LIB_DIR=/usr/share/catdoc || die |
96 |
- |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
- |
101 |
- emake -j1 mandir=/usr/share/man/man1 install || die |
102 |
+ emake -j1 mandir="${EPREFIX}"/usr/share/man/man1 install || die |
103 |
dodoc ${DOCS} |
104 |
- |
105 |
} |