1 |
jer 10/06/27 20:34:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: an-0.95.3.2.ebuild |
5 |
Removed: an-0.95.3.1.ebuild |
6 |
Log: |
7 |
Bump the Debian patch set. Replace the Makefile patch with a compatible set of sed scripts. Respect LDFLAGS. Do not patch lib/Makefile since we do not use it. Do not install INSTALL. Properly use EAPI=2. |
8 |
(Portage version: 2.2_rc67/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.27 app-text/an/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/an/ChangeLog?rev=1.27&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/an/ChangeLog?rev=1.27&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/an/ChangeLog?r1=1.26&r2=1.27 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-text/an/ChangeLog,v |
20 |
retrieving revision 1.26 |
21 |
retrieving revision 1.27 |
22 |
diff -u -r1.26 -r1.27 |
23 |
--- ChangeLog 18 Mar 2009 20:02:59 -0000 1.26 |
24 |
+++ ChangeLog 27 Jun 2010 20:34:25 -0000 1.27 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for app-text/an |
27 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/an/ChangeLog,v 1.26 2009/03/18 20:02:59 jer Exp $ |
29 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/an/ChangeLog,v 1.27 2010/06/27 20:34:25 jer Exp $ |
31 |
+ |
32 |
+*an-0.95.3.2 (27 Jun 2010) |
33 |
+ |
34 |
+ 27 Jun 2010; Jeroen Roovers <jer@g.o> -an-0.95.3.1.ebuild, |
35 |
+ +an-0.95.3.2.ebuild: |
36 |
+ Bump the Debian patch set. Replace the Makefile patch with a compatible |
37 |
+ set of sed scripts. Respect LDFLAGS. Do not patch lib/Makefile since we do |
38 |
+ not use it. Do not install INSTALL. Properly use EAPI=2. |
39 |
|
40 |
*an-0.95.3.1 (18 Mar 2009) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 app-text/an/an-0.95.3.2.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/an/an-0.95.3.2.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/an/an-0.95.3.2.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: an-0.95.3.2.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/app-text/an/an-0.95.3.2.ebuild,v 1.1 2010/06/27 20:34:25 jer Exp $ |
55 |
|
56 |
EAPI="2" |
57 |
|
58 |
inherit eutils toolchain-funcs versionator |
59 |
|
60 |
DESCRIPTION="Very fast anagram generator with dictionary lookup" |
61 |
HOMEPAGE="http://packages.debian.org/unstable/games/an" |
62 |
|
63 |
MY_PV="$(get_version_component_range 1-2)" |
64 |
DEB_REV="$(get_version_component_range 3-4)" |
65 |
SRC_URI=" |
66 |
mirror://debian/pool/main/a/${PN}/${PN}_${MY_PV}.orig.tar.gz |
67 |
mirror://debian/pool/main/a/${PN}/${PN}_${MY_PV}-${DEB_REV}.diff.gz |
68 |
" |
69 |
|
70 |
LICENSE="GPL-2 LGPL-2" |
71 |
SLOT="0" |
72 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86" |
73 |
IUSE="" |
74 |
|
75 |
RDEPEND="sys-apps/miscfiles[-minimal]" |
76 |
|
77 |
S="${WORKDIR}/${PN}-${MY_PV}" |
78 |
|
79 |
src_prepare() { |
80 |
MY_PL="$(replace_version_separator 2 -)" |
81 |
epatch "${WORKDIR}"/${PN}_${MY_PV}-${DEB_REV}.diff |
82 |
|
83 |
# sys-apps/miscfiles doesn't have /usr/dict/words: |
84 |
sed -i README \ |
85 |
-e 's:/usr/dict/words:/usr/share/dict/words:' \ |
86 |
|| die "sed README failed" |
87 |
sed -i Makefile \ |
88 |
-e 's|^CC=gcc|#CC=gcc|g' \ |
89 |
-e 's|^CFLAGS=-O2|CFLAGS := $(CFLAGS)|g' \ |
90 |
-e 's|$(CC) $(CFLAGS)|$(CC) $(CFLAGS) $(LDFLAGS)|g' \ |
91 |
-e 's|&& make|\&\& $(MAKE)|g' \ |
92 |
|| die "sed Makefile failed" |
93 |
} |
94 |
|
95 |
src_compile() { |
96 |
tc-export CC |
97 |
emake LDFLAGS="${LDFLAGS}" || die "emake failed" |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
dobin ${PN} || die |
102 |
doman ${PN}.6 || die |
103 |
dodoc \ |
104 |
debian/changelog \ |
105 |
debian/README.Debian \ |
106 |
DICTIONARY \ |
107 |
EXAMPLE.ANAGRAMS \ |
108 |
HINTS \ |
109 |
README \ |
110 |
TODO || die |
111 |
} |
112 |
|
113 |
pkg_postinst() { |
114 |
einfo "Helpful note from an's author:" |
115 |
einfo " If you do not have a dictionary you can obtain one from the" |
116 |
einfo " following site: ftp://ftp.funet.fi/pub/doc/dictionaries/" |
117 |
einfo " You will find a selection of dictionaries in many different" |
118 |
einfo " languages here." |
119 |
} |