diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-05-13 08:10:45 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-05-13 08:10:45 +0000 |
commit | c9d74a81e58b42a5ea42bfbdf7b2ce25eac9adb1 (patch) | |
tree | 951aebe6d4464d489a0d0b97516ef8b567df15bf /games-misc | |
parent | fix bug #50442 in -r5 (diff) | |
download | historical-c9d74a81e58b42a5ea42bfbdf7b2ce25eac9adb1.tar.gz historical-c9d74a81e58b42a5ea42bfbdf7b2ce25eac9adb1.tar.bz2 historical-c9d74a81e58b42a5ea42bfbdf7b2ce25eac9adb1.zip |
correct S; use flag fixing; error messages; tidy
Diffstat (limited to 'games-misc')
-rw-r--r-- | games-misc/fortune-mod/ChangeLog | 6 | ||||
-rw-r--r-- | games-misc/fortune-mod/Manifest | 4 | ||||
-rw-r--r-- | games-misc/fortune-mod/fortune-mod-1.0.9708-r1.ebuild | 24 |
3 files changed, 21 insertions, 13 deletions
diff --git a/games-misc/fortune-mod/ChangeLog b/games-misc/fortune-mod/ChangeLog index 311a3322328d..9e14248a4f33 100644 --- a/games-misc/fortune-mod/ChangeLog +++ b/games-misc/fortune-mod/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-misc/fortune-mod # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/ChangeLog,v 1.4 2004/05/13 07:52:01 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/ChangeLog,v 1.5 2004/05/13 08:10:45 mr_bones_ Exp $ + + 13 May 2004; Michael Sterrett <mr_bones_@gentoo.org> + fortune-mod-1.0.9708-r1.ebuild: + correct S; use flag fixing; error messages; tidy 13 May 2004; Joshua Kinard <kumba@gentoo.org> fortune-mod-1.0.9708-r1.ebuild, fortune-mod-1.99.1.ebuild: diff --git a/games-misc/fortune-mod/Manifest b/games-misc/fortune-mod/Manifest index a9ee8ac2e5f5..3a114ec60eac 100644 --- a/games-misc/fortune-mod/Manifest +++ b/games-misc/fortune-mod/Manifest @@ -1,6 +1,6 @@ -MD5 db59aafffc488a3eca63f8adeee92a10 ChangeLog 2757 +MD5 2a972158f3889cea31709f58e942cfa4 ChangeLog 2902 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 -MD5 53ca335a1ff65b578e3b4d30814c93ae fortune-mod-1.0.9708-r1.ebuild 1463 +MD5 8879ab5e327e06d792dde202f6305039 fortune-mod-1.0.9708-r1.ebuild 1508 MD5 48df5a5eee64295dff17af0eda666b87 fortune-mod-1.99.1.ebuild 1256 MD5 69ebce3aec1f10dead82c52fd02c1350 files/9708-Makefile.patch 1305 MD5 53d07a3874dcef229e5e19296a9d8db1 files/9708-ppc-rot.patch 226 diff --git a/games-misc/fortune-mod/fortune-mod-1.0.9708-r1.ebuild b/games-misc/fortune-mod/fortune-mod-1.0.9708-r1.ebuild index cffa4a141aa8..1c5bfcaa2363 100644 --- a/games-misc/fortune-mod/fortune-mod-1.0.9708-r1.ebuild +++ b/games-misc/fortune-mod/fortune-mod-1.0.9708-r1.ebuild @@ -1,15 +1,15 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/fortune-mod-1.0.9708-r1.ebuild,v 1.2 2004/05/13 07:52:01 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/fortune-mod-1.0.9708-r1.ebuild,v 1.3 2004/05/13 08:10:45 mr_bones_ Exp $ inherit eutils -MY_P="${PN}-${P##*.}.tar.gz" +MY_P="${PN}-${P##*.}" #The original (http://www.progsoc.uts.edu.au/~dbugger/hacks/hacks.html) is dead # but the guy setup his 'perm' home with LSM (http://lsm.execpc.com/) DESCRIPTION="The notorious fortune program" HOMEPAGE="ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune/" -SRC_URI="http://www.ibiblio.org/pub/Linux/games/amusements/fortune/${MY_P}" +SRC_URI="http://www.ibiblio.org/pub/Linux/games/amusements/fortune/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" @@ -29,26 +29,30 @@ pkg_setup() { src_unpack() { unpack ${A} cd ${S} - epatch ${FILESDIR}/9708-Makefile.patch - epatch ${FILESDIR}/9708-ppc-rot.patch + epatch "${FILESDIR}/9708-Makefile.patch" + epatch "${FILESDIR}/9708-ppc-rot.patch" } src_compile() { - [ `use offensive` ] && off=1 || off=0 + local off=0 + + use offensive && off=1 emake \ OFFENSIVE=${off} \ OPTCFLAGS="${CFLAGS}" \ - || die + || die "emake failed" } src_install() { - [ `use offensive` ] && off=1 || off=0 + local off=0 + + use offensive && off=1 make \ OFFENSIVE=${off} \ OPTCFLAGS="${CFLAGS}" \ - DESTDIR=${D} \ + DESTDIR="${D}" \ install \ - || die + || die "make install failed" dosed /usr/share/man/man6/fortune.6 |