diff options
Diffstat (limited to 'games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild')
-rw-r--r-- | games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
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 new file mode 100644 index 000000000000..eaeb6e7745d7 --- /dev/null +++ b/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=5 +DESCRIPTION="Database of the Italian cookies for the fortune program" +HOMEPAGE="http://www.fortune-it.net/" +SRC_URI="http://www.fortune-it.net/download/fortune-it-${PVR}.tar.gz" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa m68k ~mips ppc64 s390 sh x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="offensive" + +DEPEND="games-misc/fortune-mod" + +S=${WORKDIR}/fortune-it-${PVR} + +src_prepare() { + use offensive || rm -f testi/*-o +} + +src_compile() { + local f + for f in testi/* ; do + strfile -s ${f} || die "strfile ${f} failed" + done +} + +src_install() { + insinto /usr/share/fortune + doins testi/* + dodoc README +} |