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 | 3a9cee9c6565353fee3061a8442eebb6914ae1cb (patch) | |
tree | 26c0c65d871b7c134993664edf313c240186683e /games-puzzle/xbomb | |
parent | touch (diff) | |
download | historical-3a9cee9c6565353fee3061a8442eebb6914ae1cb.tar.gz historical-3a9cee9c6565353fee3061a8442eebb6914ae1cb.tar.bz2 historical-3a9cee9c6565353fee3061a8442eebb6914ae1cb.zip |
tidy
Package-Manager: portage-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 |