You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-board/xfrisk/xfrisk-1.2.ebuild

39 lines
828 B

# Copyright 1999-2011 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.10 2011/08/02 05:46:50 mattst88 Exp $
EAPI=2
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/libXaw3d"
DEPEND="${RDEPEND}
x11-libs/libXaw"
S=${WORKDIR}/XFrisk
src_prepare() {
sed -i \
-e '/^CC=/d' \
-e '/^LDFLAGS=/d' \
-e "/^CFLAGS=/s|=.*|=${CFLAGS}|" \
-e "s:/usr/local:${GAMES_PREFIX}:" \
Makefile \
|| die
}
src_install() {
emake PREFIX="${D}/${GAMES_PREFIX}" install || die
dodoc BUGS ChangeLog FAQ TODO
prepgamesdirs
}