diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2006-10-30 18:20:05 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2006-10-30 18:20:05 +0000 |
commit | 4ebdd474e7ce90ac6a04db9a425d07ff075cc3a4 (patch) | |
tree | f1d25ceca784b6fbe1bbb187bb752aef081e3c9d /games-action | |
parent | <+ferringb> antarus: just punt the fucking thing, frankly. (diff) | |
download | gentoo-2-4ebdd474e7ce90ac6a04db9a425d07ff075cc3a4.tar.gz gentoo-2-4ebdd474e7ce90ac6a04db9a425d07ff075cc3a4.tar.bz2 gentoo-2-4ebdd474e7ce90ac6a04db9a425d07ff075cc3a4.zip |
touchups
(Portage version: 2.1.2_pre3-r9)
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/atanks/atanks-1.1.0.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/games-action/atanks/atanks-1.1.0.ebuild b/games-action/atanks/atanks-1.1.0.ebuild index f3bcc1f77c50..9a2bc38ed870 100644 --- a/games-action/atanks/atanks-1.1.0.ebuild +++ b/games-action/atanks/atanks-1.1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-1.1.0.ebuild,v 1.16 2006/10/27 01:00:11 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-1.1.0.ebuild,v 1.17 2006/10/30 18:20:05 mr_bones_ Exp $ inherit eutils toolchain-funcs games @@ -18,14 +18,15 @@ DEPEND="media-libs/allegro" S=${WORKDIR}/${PN} src_unpack() { + DATA_DIR="${GAMES_DATADIR}/${PN}" + unpack ${A} cd "${S}" - epatch "${FILESDIR}/${PV}-gentoo.patch" + epatch \ + "${FILESDIR}/${PV}-gentoo.patch" \ + "${FILESDIR}/${P}-gcc4.patch" - epatch "${FILESDIR}/${P}-gcc4.patch" - - DATA_DIR="${GAMES_DATADIR}/${PN}" sed -i \ -e "s:DATA_DIR=.*:DATA_DIR=\\\\\"${DATA_DIR}\\\\\":" \ src/Makefile \ @@ -34,9 +35,8 @@ src_unpack() { src_install() { dogamesbin atanks || die "dogamesbin failed" - dodir "${DATA_DIR}" - cp {credits,gloat,instr,revenge}.txt *dat "${D}${DATA_DIR}" \ - || die "cp failed" + insinto "${DATA_DIR}" + doins {credits,gloat,instr,revenge}.txt *dat || die "doins failed" dodoc BUGS Changelog Help.txt tanks.txt README TODO prepgamesdirs } |