ChangeLog

# ChangeLog for app-text/an
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-text/an/ChangeLog,v 1.23 2007/02/09 00:58:40 flameeyes Exp $

09 Feb 2007; Diego Pettenò ChangeLog:
Regenerate digest in Manifest2 format.

09 Mar 2006; Jose Luis Rivero an-0.95.3.ebuild:
Marked alpha stable for bug #113966

31 Jan 2006; Joseph Jezak an-0.95.3.ebuild:
Marked ppc stable for bug #113966.

24 Jan 2006; Patrick McLean an-0.95.3.ebuild:
Stable on amd64 (bug #113966).

24 Jan 2006; Ian Leitch an-0.95.3.ebuild:
Stable on x86 (bug #113966).

24 Jan 2006; Markus Rothe an-0.95.3.ebuild:
Stable on ppc64; bug #113966

24 Jan 2006; Jeroen Roovers an-0.95.3.ebuild:
Stable on hppa (bug #113966).

15 Jan 2006; Jose Luis Rivero an-0.95.3.ebuild:
mark ~alpha as requested by bug #113966

18 Dec 2005; Jeroen Roovers +files/an_0.95-3.diff,
-files/an_0.95-3.diff.gz, an-0.95.3.ebuild:
Gunzipped the files/*.diff.gz

12 Dec 2005; Jeroen Roovers -an-0.93.ebuild:
Removed an 0.93 as suggested in bug #113966, comment #7.

11 Dec 2005; Stephanie Lockwood-Childs an-0.95.3.ebuild:
mark ~ppc as requested by bug #113966

05 Dec 2005; Jeroen Roovers an-0.95.3.ebuild:
Reverted versionator changes. Oops.

05 Dec 2005; Jeroen Roovers ChangeLog:
Removed versionator dependency, simplified ebuild a lot, changed SRC_URI to
use mirror://

05 Dec 2005; Jeroen Roovers an-0.95.3.ebuild:
Made warning notice about sys-apps/miscfiles conditional.

01 Dec 2005; Luis Medinas an-0.93.ebuild,
an-0.95.3.ebuild:
Added ~amd64 keyword. Bug #113966.

01 Dec 2005; Jeroen Roovers an-0.93.ebuild,
an-0.95.3.ebuild:
Fix bad positioning of inherit call (bugs #113994, #114009).

30 Nov 2005; Tom Gall an-0.95.3.ebuild:
add ~ppc64 per bug #113966

30 Nov 2005; Jeroen Roovers an-0.93.ebuild:
Removed quaint virtual/libc dependency

*an-0.95.3 (29 Nov 2005)

29 Nov 2005; Jeroen Roovers +files/an_0.95-3.diff.gz,
+an-0.95.3.ebuild:
Import from Debian's improved an[1].

[1] http://lists.debian.org/debian-devel/2000/11/msg00319.html

22 Nov 2005; Jeroen Roovers metadata.xml:
Reassigning to no-herd

22 Nov 2005; Jeroen Roovers metadata.xml:
Fixed herd assignment

22 Nov 2005; Jeroen Roovers an-0.93.ebuild:
Changed SRC_URI to something (a lot) more stable

*an-0.93 (22 Nov 2005)

22 Nov 2005; +metadata.xml, +an-0.93.ebuild:
Initial commit as per bug 108829.

Manifest

AUX an_0.95-3.diff 9803 RMD160 cc567e20cce82dd7e45cbb741a07bad8d95c2e96 SHA1 ce1d798aac40edef804fee77e33a356ac879a655 SHA256 fbb795b791b423e0d9b1b4a68255e57dec3db8926687b942df77f6166ba0bbd3
DIST an_0.95.orig.tar.gz 47829 RMD160 eec61214eaf3f3ab0666cec4a146ed37e7e96263 SHA1 930ce6f737da315597f01b46f74c60b2bb6639bf SHA256 11266dd1e347594d98f8dfd1e141d8b4fbe067752542d0e93c422c4789f9295c
EBUILD an-0.95.3.ebuild 2117 RMD160 bcd194bb4ad74abd4a0c34e9c8df9cd389a17f5d SHA1 753316f06a723c10f45aafd8ce75d092a0a82868 SHA256 5279c29510ef294f5b3cde2bb60a92273a8c89f74b5b7ac6364df315123cd225
MISC ChangeLog 2914 RMD160 5b2b30dbc0b24b4c0fbef81418f48b1668ab00a7 SHA1 008ce6bca35864dd582347958d49fa75aec038fc SHA256 57462b0a6fab8ee36a9cfdce57cde32ef9d3bfc4db202989e55d649a03eb565a
MISC metadata.xml 360 RMD160 22be39fe77465ec8805ee3e6fc9218f75ae8089b SHA1 08b31da7c491295e9c5c7d6062c888f7db7d84d1 SHA256 1adab811286ade1a38f27e34473bea71fbf07e62c9ba10663f8fd8651bb72ddc

an-0.95.3.ebuild

# Copyright 1999-2006 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.ebuild,v 1.15 2006/03/09 11:27:40 yoswink Exp $

inherit eutils toolchain-funcs versionator

DESCRIPTION="Very fast anagram generator with dictionary lookup"
HOMEPAGE="http://packages.debian.org/stable/games/an"

MY_PV="$(get_version_component_range 1-2)"
SRC_URI="mirror://debian/pool/main/a/an/${PN}_${MY_PV}.orig.tar.gz"

LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ppc64 x86"
IUSE=""

RDEPEND="sys-apps/miscfiles"

S="${WORKDIR}/${PN}-${MY_PV}"

src_unpack() {
unpack ${A}
cd ${S}

# Patching to -r3:
MY_PL="$(replace_version_separator 2 -)"
epatch "${FILESDIR}"/${PN}_${MY_PL}.diff

ebegin "Patching an to use toolchain and custom CFLAGS"
sed -e "s:gcc:$(tc-getCC):" \
-e "s:-O2.*:${CFLAGS}:" \
-i Makefile lib/Makefile
eend ${?}

# sys-apps/miscfiles doesn't have /usr/dict/words:
sed \
-e 's:/usr/dict/words:/usr/share/dict/words:' \
-i README || die
}

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() {
if has_version sys-apps/miscfiles && \
built_with_use sys-apps/miscfiles minimal; then
ewarn "If you merged sys-apps/miscfiles with USE=minimal,"
ewarn "an will NOT work properly, as /usr/share/dict/words"
ewarn "will then be a symlink to a gzipped file. an currently"
ewarn "does not support gzipped dictionary files and will"
ewarn "only produce garbage."
ewarn "Do 'USE=-minimal emerge sys-apps/miscfiles', or run an"
ewarn "with the -d /path/to/dictionary option, perhaps using"
ewarn "one of the files mentioned below."
echo
fi

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."
}

files

metadata.xml




no-herd

jer@gentoo.org
Jeroen Roovers


A fast and versatile anagram generator with dictionary support