From 4a30a6c21c1c00d50cd4c63ada642f3734640eb0 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Tue, 22 Nov 2005 01:37:56 +0000 Subject: [PATCH] =?utf8?q?=1B[A=1B[AInitial=20commit=20of=20app-text/an-0.?= =?utf8?q?93=20Package-Manager:=20portage-2.0.53=5Frc7?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- app-text/an/ChangeLog | 9 +++++ app-text/an/Manifest | 4 +++ app-text/an/an-0.93.ebuild | 56 ++++++++++++++++++++++++++++++++ app-text/an/files/digest-an-0.93 | 1 + app-text/an/metadata.xml | 13 ++++++++ 5 files changed, 83 insertions(+) create mode 100644 app-text/an/ChangeLog create mode 100644 app-text/an/Manifest create mode 100644 app-text/an/an-0.93.ebuild create mode 100644 app-text/an/files/digest-an-0.93 create mode 100644 app-text/an/metadata.xml diff --git a/app-text/an/ChangeLog b/app-text/an/ChangeLog new file mode 100644 index 000000000000..ff80d1fdc808 --- /dev/null +++ b/app-text/an/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for app-text/an +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/an/ChangeLog,v 1.1 2005/11/22 01:37:56 jer Exp $ + +*an-0.93 (22 Nov 2005) + + 22 Nov 2005; +metadata.xml, +an-0.93.ebuild: + Initial commit as per bug 108829. + diff --git a/app-text/an/Manifest b/app-text/an/Manifest new file mode 100644 index 000000000000..9aaf69569d0e --- /dev/null +++ b/app-text/an/Manifest @@ -0,0 +1,4 @@ +MD5 3053abe1f9e19736938e5b401171b88c ChangeLog 317 +MD5 8623a1ea6c3e4ee314382553e6d0e253 an-0.93.ebuild 1765 +MD5 bfeba1bf1787a51a47d7d36fee06a4a6 files/digest-an-0.93 58 +MD5 fc80ee2a4d458c25637840c600a7bf23 metadata.xml 357 diff --git a/app-text/an/an-0.93.ebuild b/app-text/an/an-0.93.ebuild new file mode 100644 index 000000000000..4f60f71309ee --- /dev/null +++ b/app-text/an/an-0.93.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/an/an-0.93.ebuild,v 1.1 2005/11/22 01:37:56 jer Exp $ + +DESCRIPTION="Anagram generator with dictionary lookup" +HOMEPAGE="none" +SRC_URI="http://bindist.finkmirrors.net/bindist/dists/fink-0.8.0/main/source/games/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~hppa ~x86" +IUSE="" + +DEPEND="virtual/libc" +RDEPEND="sys-apps/miscfiles" + +inherit toolchain-funcs + +src_unpack() { + unpack ${A} + cd ${S} + # Patching an to use tc and custom CFLAGS: + sed -i -e "s:gcc:$(tc-getCC):" \ + -e "s:CFLAGS:#CFLAGS:" \ + Makefile lib/Makefile || die + # sys-apps/miscfiles doesn't have /usr/dict/words: + einfo "Patching an to use /usr/share/dict/words" + sed -i \ + -e 's:\/usr\/dict\/words:\/usr\/share\/dict\/words:' \ + an.6 an.c \ + an.man.txt \ + README || die +} + +src_install() { + dobin ${PN} + doman ${PN}.6 + dodoc ChangeLog DICTIONARY EXAMPLE.ANAGRAMS HINTS README TODO +} + +pkg_postinst() { + 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 + 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/digest-an-0.93 b/app-text/an/files/digest-an-0.93 new file mode 100644 index 000000000000..a8a6b32aa32d --- /dev/null +++ b/app-text/an/files/digest-an-0.93 @@ -0,0 +1 @@ +MD5 a78419d3b7cedf46c6d57311c3062297 an-0.93.tar.gz 84531 diff --git a/app-text/an/metadata.xml b/app-text/an/metadata.xml new file mode 100644 index 000000000000..8a1f1f4c58d8 --- /dev/null +++ b/app-text/an/metadata.xml @@ -0,0 +1,13 @@ + + + +hppa + + jer@gentoo.org + Jeroen Roovers + + +A fast and versatile anagram generator with dictionary support + + + -- 2.26.2