summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-07-17 05:00:23 +0000
committerMike Frysinger <vapier@gentoo.org>2006-07-17 05:00:23 +0000
commit58a63f11ae1e7d9b3202dedf1dfea55415a035d7 (patch)
tree1596527355753d48568320e2896c050f68eacc81 /games-misc/fortune-mod-it
parentmore KEYWORDS and misc cleanups (diff)
downloadgentoo-2-58a63f11ae1e7d9b3202dedf1dfea55415a035d7.tar.gz
gentoo-2-58a63f11ae1e7d9b3202dedf1dfea55415a035d7.tar.bz2
gentoo-2-58a63f11ae1e7d9b3202dedf1dfea55415a035d7.zip
more KEYWORDS and misc cleanups
(Portage version: 2.1.1_pre2-r8)
Diffstat (limited to 'games-misc/fortune-mod-it')
-rw-r--r--games-misc/fortune-mod-it/fortune-mod-it-1.51.ebuild19
-rw-r--r--games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild14
2 files changed, 16 insertions, 17 deletions
diff --git a/games-misc/fortune-mod-it/fortune-mod-it-1.51.ebuild b/games-misc/fortune-mod-it/fortune-mod-it-1.51.ebuild
index e3ff31ffd2cb..5b67dbb433b1 100644
--- a/games-misc/fortune-mod-it/fortune-mod-it-1.51.ebuild
+++ b/games-misc/fortune-mod-it/fortune-mod-it-1.51.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-it/fortune-mod-it-1.51.ebuild,v 1.3 2004/10/03 21:31:42 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-it/fortune-mod-it-1.51.ebuild,v 1.4 2006/07/17 05:00:23 vapier Exp $
DESCRIPTION="Database of the Italian cookies for the fortune program"
HOMEPAGE="http://www.orson.it/~fedeliallalinea/"
@@ -8,29 +8,28 @@ SRC_URI="http://www.orson.it/~fedeliallalinea/files/${P}.tar.gz"
LICENSE="freedist"
SLOT="0"
-KEYWORDS="x86 ppc"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
IUSE="offensive"
-DEPEND="games-misc/fortune-mod"
+RDEPEND="games-misc/fortune-mod"
-S="${WORKDIR}/${P}/src"
+S=${WORKDIR}/${P}/src
src_unpack() {
unpack ${A}
- use offensive || rm -f "${S}/zozzital"
+ cd "${S}"
+ use offensive || rm -f zozzital
}
src_compile() {
local f
-
- for f in *
- do
+ for f in * ; do
strfile -s ${f} || die "strfile ${f} failed"
done
}
src_install() {
- dodir /usr/share/fortune
- cp * "${D}/usr/share/fortune" || die "cp failed"
+ insinto /usr/share/fortune
+ doins * || die "cp failed"
dodoc ../README
}
diff --git a/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild b/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild
index 19703704dc42..210d420582cd 100644
--- a/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild
+++ b/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild,v 1.4 2005/08/27 18:04:49 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild,v 1.5 2006/07/17 05:00:23 vapier Exp $
DESCRIPTION="Database of the Italian cookies for the fortune program"
HOMEPAGE="http://www.fortune-it.net/"
@@ -8,12 +8,12 @@ SRC_URI="http://www.fortune-it.net/download/fortune-it-${PVR}.tar.gz"
LICENSE="freedist"
SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
IUSE="offensive"
-DEPEND="games-misc/fortune-mod"
+RDEPEND="games-misc/fortune-mod"
-S="${WORKDIR}/fortune-it-${PVR}"
+S=${WORKDIR}/fortune-it-${PVR}
src_unpack() {
unpack ${A}
@@ -28,7 +28,7 @@ src_compile() {
}
src_install() {
- dodir /usr/share/fortune
- cp ${S}/testi/* "${D}"/usr/share/fortune || die "cp failed"
+ insinto /usr/share/fortune
+ doins testi/* || die "cp failed"
dodoc README
}