summaryrefslogtreecommitdiff
blob: fd96918c756d10fa5e01823dfdf822a66e1ef417 (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-board/xfrisk/xfrisk-1.2.ebuild,v 1.8 2006/12/01 21:05:02 wolf31o2 Exp $

inherit games

DESCRIPTION="The RISK board game"
HOMEPAGE="http://tuxick.net/xfrisk/"
SRC_URI="http://tuxick.net/xfrisk/files/XFrisk-${PV}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="amd64 ppc sparc x86"
SLOT="0"
IUSE=""

RDEPEND="x11-libs/libXmu
	x11-libs/Xaw3d"
DEPEND="${RDEPEND}
	x11-libs/libXaw"

S=${WORKDIR}/XFrisk

src_unpack() {
	unpack ${A}
	cd "${S}"
	sed -i \
		-e "s:/usr/local:${GAMES_PREFIX}:" \
		Makefile \
		|| die "sed failed"
}

src_install() {
	emake PREFIX="${D}/${GAMES_PREFIX}" install || die "emake install failed"
	dodoc BUGS ChangeLog FAQ TODO
	prepgamesdirs
}