diff options
-rw-r--r-- | games-misc/fortune-mod-gentoo-dev/ChangeLog | 9 | ||||
-rw-r--r-- | games-misc/fortune-mod-gentoo-dev/fortune-mod-gentoo-dev-20090306.ebuild | 32 |
2 files changed, 40 insertions, 1 deletions
diff --git a/games-misc/fortune-mod-gentoo-dev/ChangeLog b/games-misc/fortune-mod-gentoo-dev/ChangeLog index acf6cbf6a8d0..1de1aa41b3a5 100644 --- a/games-misc/fortune-mod-gentoo-dev/ChangeLog +++ b/games-misc/fortune-mod-gentoo-dev/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-misc/fortune-mod-gentoo-dev # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-gentoo-dev/ChangeLog,v 1.27 2009/03/05 11:23:53 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-gentoo-dev/ChangeLog,v 1.28 2009/03/05 22:35:42 robbat2 Exp $ + +*fortune-mod-gentoo-dev-20090306 (05 Mar 2009) + + 05 Mar 2009; Robin H. Johnson <robbat2@gentoo.org> + +fortune-mod-gentoo-dev-20090306.ebuild: + Some more submissions. Bug #261370: Fix build on non-bash shells. Support + for USE=offensive. *fortune-mod-gentoo-dev-20090305 (05 Mar 2009) diff --git a/games-misc/fortune-mod-gentoo-dev/fortune-mod-gentoo-dev-20090306.ebuild b/games-misc/fortune-mod-gentoo-dev/fortune-mod-gentoo-dev-20090306.ebuild new file mode 100644 index 000000000000..1178b0466087 --- /dev/null +++ b/games-misc/fortune-mod-gentoo-dev/fortune-mod-gentoo-dev-20090306.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-gentoo-dev/fortune-mod-gentoo-dev-20090306.ebuild,v 1.1 2009/03/05 22:35:42 robbat2 Exp $ + +DESCRIPTION="Fortune database of #gentoo-dev quotes" +HOMEPAGE="http://www.gentoo.org/" +MY_PN="fortune-gentoo-dev" +MY_P="${MY_PN}-${PV}" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2 + http://dev.gentoo.org/~robbat2/distfiles/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="offensive" + +RDEPEND="games-misc/fortune-mod" +# Perl is used to build stuff only +# and strfile belongs to fortune-mod +DEPEND="dev-lang/perl + ${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + use offensive || rm -f "${D}"/usr/share/fortune/off/* +} |