diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-11-06 17:19:12 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-11-06 17:19:12 +0000 |
commit | 7de501c35d6b5d6741167584f3d2207faea5467b (patch) | |
tree | ffebae23aa6e0b6ec79a4201a4086b0af3e94aee /games-action/xbomber | |
parent | Driver for the Athena ASE IIIe SmartCard Reader/Writer. (diff) | |
download | gentoo-2-7de501c35d6b5d6741167584f3d2207faea5467b.tar.gz gentoo-2-7de501c35d6b5d6741167584f3d2207faea5467b.tar.bz2 gentoo-2-7de501c35d6b5d6741167584f3d2207faea5467b.zip |
tidy
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'games-action/xbomber')
-rw-r--r-- | games-action/xbomber/xbomber-101.ebuild | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/games-action/xbomber/xbomber-101.ebuild b/games-action/xbomber/xbomber-101.ebuild index edc2a26a94eb..5a2750b61ad6 100644 --- a/games-action/xbomber/xbomber-101.ebuild +++ b/games-action/xbomber/xbomber-101.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/xbomber/xbomber-101.ebuild,v 1.8 2005/11/06 16:12:01 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/xbomber/xbomber-101.ebuild,v 1.9 2005/11/06 17:19:12 mr_bones_ Exp $ -inherit games +inherit eutils games DESCRIPTION="Bomberman clone w/multiplayer support" HOMEPAGE="http://www.xdr.com/dash/bomber.html" @@ -13,27 +13,31 @@ SLOT="0" KEYWORDS="~amd64 ~ppc x86" IUSE="" -RDEPEND="virtual/x11" -DEPEND="${RDEPEND} - >=sys-apps/sed-4" +DEPEND="virtual/x11" src_unpack() { unpack ${A} - cd ${S} - sed -i "s:X386:X11R6:" Makefile - sed -i "s:data/%s:${GAMES_DATADIR}/${PN}/%s:" bomber.c - sed -i "s:=\"data\":=\"${GAMES_DATADIR}/${PN}\":" sound.c - epatch ${FILESDIR}/${P}-va_list.patch + cd "${S}" + sed -i \ + -e "s:X386:X11R6:" Makefile \ + || die "sed failed" + sed -i \ + -e "s:data/%s:${GAMES_DATADIR}/${PN}/%s:" bomber.c \ + || die "sed failed" + sed -i \ + -e "s:=\"data\":=\"${GAMES_DATADIR}/${PN}\":" sound.c \ + || die "sed failed" + epatch "${FILESDIR}"/${P}-va_list.patch } src_compile() { - emake CFLAGS="${CFLAGS}" || die + emake CFLAGS="${CFLAGS}" || die "emake failed" } src_install() { - dogamesbin matcher bomber - dodir ${GAMES_DATADIR}/${PN} - cp -r data/* ${D}/${GAMES_DATADIR}/${PN}/ + dogamesbin matcher bomber || die "dogamesbin failed" + insinto "${GAMES_DATADIR}"/${PN} + doins -r data/* || die "doins failed" dodoc README Changelog prepgamesdirs } |