diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-03-10 19:07:28 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-03-10 19:07:28 +0000 |
commit | 341f370f0fa8636e2227e41148a1407c39cd50d3 (patch) | |
tree | c2a5d44a80ec8cdb77d9f03ce5216f3b11dd8d6d /games-strategy/xbattle/xbattle-5.4.1.ebuild | |
parent | Add ~arm/~s390/~sh (diff) | |
download | gentoo-2-341f370f0fa8636e2227e41148a1407c39cd50d3.tar.gz gentoo-2-341f370f0fa8636e2227e41148a1407c39cd50d3.tar.bz2 gentoo-2-341f370f0fa8636e2227e41148a1407c39cd50d3.zip |
EAPI=2
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'games-strategy/xbattle/xbattle-5.4.1.ebuild')
-rw-r--r-- | games-strategy/xbattle/xbattle-5.4.1.ebuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/games-strategy/xbattle/xbattle-5.4.1.ebuild b/games-strategy/xbattle/xbattle-5.4.1.ebuild index dce9cacc5ad1..8ecfc5982b62 100644 --- a/games-strategy/xbattle/xbattle-5.4.1.ebuild +++ b/games-strategy/xbattle/xbattle-5.4.1.ebuild @@ -1,7 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/xbattle/xbattle-5.4.1.ebuild,v 1.11 2009/02/11 02:36:36 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/xbattle/xbattle-5.4.1.ebuild,v 1.12 2009/03/10 19:07:28 mr_bones_ Exp $ +EAPI=2 inherit games DESCRIPTION="A multi-player game of strategy and coordination" @@ -10,7 +11,7 @@ SRC_URI="ftp://cns-ftp.bu.edu/pub/xbattle/${P}.tar.gz" LICENSE="xbattle" SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 mips ppc sparc x86" +KEYWORDS="alpha amd64 hppa ia64 ~mips ppc sparc x86" IUSE="" RDEPEND="x11-libs/libXext @@ -21,17 +22,17 @@ DEPEND="${RDEPEND} app-text/rman x11-misc/imake" -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { sed -i \ -e "s:/export/home/lesher/:${GAMES_DATADIR}/${PN}/:" Imakefile \ || die "sed Imakefile failed" } -src_compile() { +src_configure() { xmkmf || die "xmkmf failed" +} + +src_compile() { emake CDEBUGFLAGS="${CFLAGS}" || die "emake failed" } |