diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-10-31 08:46:44 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-10-31 08:46:44 +0000 |
commit | 0e2218dbce09728716ed6cb16a7ebced7818962f (patch) | |
tree | 3d531c7bf313b5c4696ccc4987754c485245b22b /games-puzzle/xbomb | |
parent | touch (diff) | |
download | gentoo-2-0e2218dbce09728716ed6cb16a7ebced7818962f.tar.gz gentoo-2-0e2218dbce09728716ed6cb16a7ebced7818962f.tar.bz2 gentoo-2-0e2218dbce09728716ed6cb16a7ebced7818962f.zip |
tidy
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'games-puzzle/xbomb')
-rw-r--r-- | games-puzzle/xbomb/xbomb-2.1-r1.ebuild | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/games-puzzle/xbomb/xbomb-2.1-r1.ebuild b/games-puzzle/xbomb/xbomb-2.1-r1.ebuild index fa05d7ef212c..9fef78c65543 100644 --- a/games-puzzle/xbomb/xbomb-2.1-r1.ebuild +++ b/games-puzzle/xbomb/xbomb-2.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xbomb/xbomb-2.1-r1.ebuild,v 1.11 2005/04/15 17:28:06 nigoro Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xbomb/xbomb-2.1-r1.ebuild,v 1.12 2005/10/31 08:46:44 mr_bones_ Exp $ inherit eutils games @@ -10,35 +10,29 @@ SRC_URI="ftp://ftp.ibiblio.org/pub/Linux/games/strategy/${P}.tgz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ia64 ppc x86 ppc64" +KEYWORDS="amd64 ia64 ppc ppc64 x86" IUSE="" -RDEPEND="virtual/x11 - virtual/libc" -DEPEND="${RDEPEND} - >=sys-apps/sed-4" +DEPEND="virtual/x11" src_unpack() { unpack ${A} - epatch ${FILESDIR}/${P}.diff + epatch "${FILESDIR}"/${P}.diff sed -i \ -e "/^CFLAGS/ { s:=.*:=${CFLAGS}: }" \ -e "s:/usr/bin:${GAMES_BINDIR}:" \ - ${S}/Makefile \ + "${S}"/Makefile \ || die "sed Makefile failed" sed -i \ -e "s:/var/tmp:/var/games:g" \ - ${S}/hiscore.c \ + "${S}"/hiscore.c \ || die "sed hiscore.c failed" } -src_compile() { - emake || die "emake failed" -} - src_install() { - make install DESTDIR="${D}" || die + make DESTDIR="${D}" install || die "make install failed" dodoc README LSM + # FIXME: need to use GAMES_STATEDIR here dodir /var/games touch ${D}/var/games/xbomb{3,4,6}.hi || die "touch failed" fperms 664 /var/games/xbomb{3,4,6}.hi || die |