summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-03-18 20:02:59 +0000
committerJeroen Roovers <jer@gentoo.org>2009-03-18 20:02:59 +0000
commit4e6a00d28d8c64189deeba9f61939e5c2065f8c1 (patch)
tree43e3bf8c94d4b7a97008f2929cc23f8c862778e8 /app-text/an
parentKeyword ~amd64 and explicit RDEPEND (diff)
downloadhistorical-4e6a00d28d8c64189deeba9f61939e5c2065f8c1.tar.gz
historical-4e6a00d28d8c64189deeba9f61939e5c2065f8c1.tar.bz2
historical-4e6a00d28d8c64189deeba9f61939e5c2065f8c1.zip
Version bump. Do not store Debian patch locally. Remove some redundant comments and notifications.
Package-Manager: portage-2.2_rc26/cvs/Linux i686
Diffstat (limited to 'app-text/an')
-rw-r--r--app-text/an/ChangeLog9
-rw-r--r--app-text/an/Manifest9
-rw-r--r--app-text/an/an-0.95.3.1.ebuild66
-rw-r--r--app-text/an/files/an-0.95-make.patch31
4 files changed, 111 insertions, 4 deletions
diff --git a/app-text/an/ChangeLog b/app-text/an/ChangeLog
index f2aca7643300..91ccf1727e90 100644
--- a/app-text/an/ChangeLog
+++ b/app-text/an/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-text/an
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/an/ChangeLog,v 1.25 2009/03/07 14:11:06 gentoofan23 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/an/ChangeLog,v 1.26 2009/03/18 20:02:59 jer Exp $
+
+*an-0.95.3.1 (18 Mar 2009)
+
+ 18 Mar 2009; Jeroen Roovers <jer@gentoo.org> +files/an-0.95-make.patch,
+ +an-0.95.3.1.ebuild:
+ Version bump. Do not store Debian patch locally. Remove some redundant
+ comments and notifications.
07 Mar 2009; Thomas Anderson <gentoofan23@gentoo.org> an-0.95.3.ebuild:
Transition to eapi 2 use deps
diff --git a/app-text/an/Manifest b/app-text/an/Manifest
index 1acbb40e83a3..34054cc675fc 100644
--- a/app-text/an/Manifest
+++ b/app-text/an/Manifest
@@ -1,5 +1,8 @@
-MISC ChangeLog 3110 RMD160 78c1408e3fa6cd02915d368a5d8c341d281ecd5f SHA1 ad9c93ff1092361a289f23a888637c844eebf9cf SHA256 7f9dbee96f836940fa16706d7d6b89dcd449b92a46e8e6c8630940bd9bf4167b
-EBUILD an-0.95.3.ebuild 1586 RMD160 a6007ec360cd6473ea6556fb1ac272cba969e7b6 SHA1 8d0c5cfd36bb51b439ef01d467c83d391ef02e06 SHA256 a3369999bcc0e514fbc9a8391a07e6eae898bab1972243e1d1d5fd6f1498a875
+AUX an-0.95-make.patch 807 RMD160 dca29995e857aee472777afd6f31ed1e25663488 SHA1 fcbdb01095bbac1b75fb52ca806f8195a680f654 SHA256 a964b39f30e1d5f6263968f24c603acb0525e6a152703ce32c534fc50ebf0580
AUX an_0.95-3.diff 9803 RMD160 cc567e20cce82dd7e45cbb741a07bad8d95c2e96 SHA1 ce1d798aac40edef804fee77e33a356ac879a655 SHA256 fbb795b791b423e0d9b1b4a68255e57dec3db8926687b942df77f6166ba0bbd3
-MISC metadata.xml 360 RMD160 22be39fe77465ec8805ee3e6fc9218f75ae8089b SHA1 08b31da7c491295e9c5c7d6062c888f7db7d84d1 SHA256 1adab811286ade1a38f27e34473bea71fbf07e62c9ba10663f8fd8651bb72ddc
+DIST an_0.95-3.1.diff.gz 5114 RMD160 24ecac7359eefd61e0cd60bb8088f020d248c62b SHA1 491191d2cce4f860477c41e508e31df5f441f3f0 SHA256 13480915e7c977e4e48960bf604b6f8add4450d4695c2968e824178c1e159042
DIST an_0.95.orig.tar.gz 47829 RMD160 eec61214eaf3f3ab0666cec4a146ed37e7e96263 SHA1 930ce6f737da315597f01b46f74c60b2bb6639bf SHA256 11266dd1e347594d98f8dfd1e141d8b4fbe067752542d0e93c422c4789f9295c
+EBUILD an-0.95.3.1.ebuild 1662 RMD160 842fffcaecd41ba623107bd14ac952ac8f0a07ea SHA1 9aacb4756f71745711ec0a3c105cc23bff899731 SHA256 749da23427bb914eed56fbd024ab54ee18beab8c4416b124936f8a7fab42aede
+EBUILD an-0.95.3.ebuild 1586 RMD160 a6007ec360cd6473ea6556fb1ac272cba969e7b6 SHA1 8d0c5cfd36bb51b439ef01d467c83d391ef02e06 SHA256 a3369999bcc0e514fbc9a8391a07e6eae898bab1972243e1d1d5fd6f1498a875
+MISC ChangeLog 3331 RMD160 0d24589e2dc035ea75e242a70f3b73299ff08f53 SHA1 39e05959da6f5a18f3ebdb871526ad815a4fcc83 SHA256 f7bbcda40188b125b34904f31cd13cf6778fbe96f271c321f89d61259a7a8c24
+MISC metadata.xml 360 RMD160 22be39fe77465ec8805ee3e6fc9218f75ae8089b SHA1 08b31da7c491295e9c5c7d6062c888f7db7d84d1 SHA256 1adab811286ade1a38f27e34473bea71fbf07e62c9ba10663f8fd8651bb72ddc
diff --git a/app-text/an/an-0.95.3.1.ebuild b/app-text/an/an-0.95.3.1.ebuild
new file mode 100644
index 000000000000..e7f633086ac4
--- /dev/null
+++ b/app-text/an/an-0.95.3.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/an/an-0.95.3.1.ebuild,v 1.1 2009/03/18 20:02:59 jer Exp $
+
+EAPI="2"
+inherit eutils toolchain-funcs versionator
+
+DESCRIPTION="Very fast anagram generator with dictionary lookup"
+HOMEPAGE="http://packages.debian.org/unstable/games/an"
+
+MY_PV="$(get_version_component_range 1-2)"
+DEB_REV="$(get_version_component_range 3-4)"
+SRC_URI="
+ mirror://debian/pool/main/a/${PN}/${PN}_${MY_PV}.orig.tar.gz
+ mirror://debian/pool/main/a/${PN}/${PN}_${MY_PV}-${DEB_REV}.diff.gz
+"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="sys-apps/miscfiles[-minimal]"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ MY_PL="$(replace_version_separator 2 -)"
+ epatch "${WORKDIR}"/${PN}_${MY_PV}-${DEB_REV}.diff
+ epatch "${FILESDIR}"/${PN}-${MY_PV}-make.patch
+
+ # sys-apps/miscfiles doesn't have /usr/dict/words:
+ sed \
+ -e 's:/usr/dict/words:/usr/share/dict/words:' \
+ -i README || die "sed failed"
+}
+
+src_compile() {
+ tc-export CC
+ emake || die "make failed"
+}
+
+src_install() {
+ dobin ${PN} || die
+ doman ${PN}.6 || die
+ dodoc \
+ debian/changelog \
+ debian/README.Debian \
+ DICTIONARY \
+ EXAMPLE.ANAGRAMS \
+ HINTS \
+ INSTALL \
+ README \
+ TODO || die
+}
+
+pkg_postinst() {
+ einfo "Helpful note from an's author:"
+ einfo " If you do not have a dictionary you can obtain one from the"
+ einfo " following site: ftp://ftp.funet.fi/pub/doc/dictionaries/"
+ einfo " You will find a selection of dictionaries in many different"
+ einfo " languages here."
+}
diff --git a/app-text/an/files/an-0.95-make.patch b/app-text/an/files/an-0.95-make.patch
new file mode 100644
index 000000000000..652dcbca9670
--- /dev/null
+++ b/app-text/an/files/an-0.95-make.patch
@@ -0,0 +1,31 @@
+--- Makefile.orig 2009-03-18 20:52:41.000000000 +0100
++++ Makefile 2009-03-18 20:54:06.000000000 +0100
+@@ -27,14 +27,14 @@
+
+
+ # Note that if you change CC here you must also change it in ./lib/Makefile
+-CC=gcc
++#CC=gcc
+
+ # if using a compiler which adheres strictly to ANSI C guidelines then
+ # uncomment the next line.
+
+ #DEFS=-DFORCE_ANSI
+
+-CFLAGS=-O2 -Wall
++CFLAGS := $(CFLAGS) -Wall
+ CINCLUDES=-I $(LIBDIR) $(DEFS)
+
+ # Nothing should need changing below here
+--- lib/Makefile.orig 2009-03-18 20:52:41.000000000 +0100
++++ lib/Makefile 2009-03-18 20:53:37.000000000 +0100
+@@ -22,7 +22,7 @@
+ #Note may need to change this for your system, the only reason this Makefile
+ #exists is because the non-gnu make on suns is brain dead.
+
+-CC=gcc
+-CFLAGS=-O2
++#CC=gcc
++#CFLAGS=-O2
+ all: getopt.o getopt1.o
+