diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-06-05 19:23:28 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-06-05 19:23:28 +0000 |
commit | b5b6f15f3c688dbf78b50c03e61948225e621748 (patch) | |
tree | c50d8dd6c7c2266920b4e1de879974af3fd9b4cc /games-puzzle | |
parent | mark x86 (diff) | |
download | gentoo-2-b5b6f15f3c688dbf78b50c03e61948225e621748.tar.gz gentoo-2-b5b6f15f3c688dbf78b50c03e61948225e621748.tar.bz2 gentoo-2-b5b6f15f3c688dbf78b50c03e61948225e621748.zip |
tidy
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/shaaft/shaaft-0.5.0.ebuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/games-puzzle/shaaft/shaaft-0.5.0.ebuild b/games-puzzle/shaaft/shaaft-0.5.0.ebuild index 0977dc236b0a..1aa0c1df1491 100644 --- a/games-puzzle/shaaft/shaaft-0.5.0.ebuild +++ b/games-puzzle/shaaft/shaaft-0.5.0.ebuild @@ -1,20 +1,19 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/shaaft-0.5.0.ebuild,v 1.5 2005/06/05 16:27:11 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/shaaft-0.5.0.ebuild,v 1.6 2005/06/05 19:23:28 mr_bones_ Exp $ inherit eutils games -S="${WORKDIR}/${P/s/S}" DESCRIPTION="A falling block game similar to Blockout" HOMEPAGE="http://criticalmass.sourceforge.net/shaaft.php" SRC_URI="mirror://sourceforge/criticalmass/${P/s/S}.tar.bz2" -KEYWORDS="x86 ~amd64" LICENSE="GPL-2" SLOT="0" +KEYWORDS="~amd64 x86" IUSE="" -RDEPEND="virtual/x11 +DEPEND="virtual/x11 virtual/opengl virtual/libc sys-libs/zlib @@ -22,22 +21,23 @@ RDEPEND="virtual/x11 >=media-libs/libsdl-1.2 media-libs/sdl-mixer media-libs/sdl-image" -DEPEND="${RDEPEND} - >=sys-apps/sed-4" + +S=${WORKDIR}/${P/s/S} src_unpack() { unpack ${A} - cd ${S} + cd "${S}" sed -i \ - -e 's:DATA_DIR:"'${GAMES_DATADIR}'\/'${PN/s/S}\/'":g' game/main.cpp \ - || die "sed main.cpp failed" + -e 's:DATA_DIR:"'${GAMES_DATADIR}'\/'${PN/s/S}\/'":g' \ + game/main.cpp \ + || die "sed main.cpp failed" - epatch ${FILESDIR}/${P}-gcc34.patch + epatch "${FILESDIR}"/${P}-gcc34.patch } src_install() { make DESTDIR="${D}" install || die "make install failed" - dodoc TODO.txt || die "dodoc failed" + dodoc TODO.txt prepgamesdirs } |