Gentoo Archives: gentoo-commits

From: "Jonathan Callen (abcd)" <abcd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/gocr: ChangeLog gocr-0.47.ebuild
Date: Mon, 22 Feb 2010 20:58:37
Message-Id: E1NjfMR-0004Zk-1O@stork.gentoo.org
1 abcd 10/02/22 20:58:35
2
3 Modified: ChangeLog gocr-0.47.ebuild
4 Log:
5 Transfer prefix keywords, bump EAPI
6 (Portage version: -svn/cvs/Linux i686)
7
8 Revision Changes Path
9 1.59 app-text/gocr/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/ChangeLog?rev=1.59&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/ChangeLog?rev=1.59&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/ChangeLog?r1=1.58&r2=1.59
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v
18 retrieving revision 1.58
19 retrieving revision 1.59
20 diff -u -r1.58 -r1.59
21 --- ChangeLog 26 Dec 2009 17:31:31 -0000 1.58
22 +++ ChangeLog 22 Feb 2010 20:58:34 -0000 1.59
23 @@ -1,6 +1,9 @@
24 # ChangeLog for app-text/gocr
25 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v 1.58 2009/12/26 17:31:31 pva Exp $
27 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v 1.59 2010/02/22 20:58:34 abcd Exp $
29 +
30 + 22 Feb 2010; Jonathan Callen <abcd@g.o> gocr-0.47.ebuild:
31 + Transfer prefix keywords, bump EAPI
32
33 26 Dec 2009; Peter Volkov <pva@g.o> gocr-0.45.ebuild,
34 gocr-0.46.ebuild, gocr-0.47.ebuild:
35
36
37
38 1.3 app-text/gocr/gocr-0.47.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/gocr-0.47.ebuild?rev=1.3&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/gocr-0.47.ebuild?rev=1.3&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/gocr-0.47.ebuild?r1=1.2&r2=1.3
43
44 Index: gocr-0.47.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/app-text/gocr/gocr-0.47.ebuild,v
47 retrieving revision 1.2
48 retrieving revision 1.3
49 diff -u -r1.2 -r1.3
50 --- gocr-0.47.ebuild 26 Dec 2009 17:31:31 -0000 1.2
51 +++ gocr-0.47.ebuild 22 Feb 2010 20:58:34 -0000 1.3
52 @@ -1,6 +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/gocr/gocr-0.47.ebuild,v 1.2 2009/12/26 17:31:31 pva Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/gocr-0.47.ebuild,v 1.3 2010/02/22 20:58:34 abcd Exp $
58 +
59 +EAPI=3
60
61 inherit eutils
62
63 @@ -10,7 +12,7 @@
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
68 +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
69 IUSE="doc tk"
70
71 DEPEND=">=media-libs/netpbm-9.12
72 @@ -19,9 +21,7 @@
73
74 DOCS="AUTHORS BUGS CREDITS HISTORY RE* TODO"
75
76 -src_unpack() {
77 - unpack ${A}
78 - cd "${S}"
79 +src_prepare() {
80 epatch "${FILESDIR}/${P}-makefile.patch"
81 }
82
83 @@ -30,18 +30,17 @@
84
85 use doc && mymakes="${mymakes} doc examples"
86
87 - econf || die "econf failed"
88 emake ${mymakes} || die "make ${mymakes} failed"
89 }
90
91 src_install() {
92 - emake DESTDIR="${D}" prefix="/usr" exec_prefix="/usr" install || die "make install failed"
93 + emake DESTDIR="${D}" prefix="${EPREFIX}/usr" exec_prefix="${EPREFIX}/usr" install || die "make install failed"
94 # remove the tk frontend if tk is not selected
95 - use tk || rm "${D}"/usr/bin/gocr.tcl
96 + use tk || rm "${ED}"/usr/bin/gocr.tcl
97 # and install the documentation and examples
98 if use doc ; then
99 DOCS="${DOCS} doc/gocr.html doc/examples.txt doc/unicode.txt"
100 - insinto /usr/share/doc/${P}/examples
101 + insinto /usr/share/doc/${PF}/examples
102 doins "${S}"/examples/*.{fig,tex,pcx}
103 fi
104 # and then install all the docs