summaryrefslogtreecommitdiff
blob: e3ff31ffd2cbdba9abf228e053ff73acbeebcb1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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 $

DESCRIPTION="Database of the Italian cookies for the fortune program"
HOMEPAGE="http://www.orson.it/~fedeliallalinea/"
SRC_URI="http://www.orson.it/~fedeliallalinea/files/${P}.tar.gz"

LICENSE="freedist"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE="offensive"

DEPEND="games-misc/fortune-mod"

S="${WORKDIR}/${P}/src"

src_unpack() {
	unpack ${A}
	use offensive || rm -f "${S}/zozzital"
}

src_compile() {
	local f

	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"
	dodoc ../README
}