diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-09-16 01:17:11 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-09-16 01:17:11 +0000 |
commit | b0281f80e094f294032ecbbe1dd642faa2c94c7b (patch) | |
tree | 07eff552d972bb75de9fcbdf05ea56fddb4126c8 /games-fps | |
parent | Mark 0.9.3 stable on alpha (diff) | |
download | gentoo-2-b0281f80e094f294032ecbbe1dd642faa2c94c7b.tar.gz gentoo-2-b0281f80e094f294032ecbbe1dd642faa2c94c7b.tar.bz2 gentoo-2-b0281f80e094f294032ecbbe1dd642faa2c94c7b.zip |
needs app-arch/unzip; tidy
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/industri/ChangeLog | 7 | ||||
-rw-r--r-- | games-fps/industri/industri-1.01.ebuild | 19 |
2 files changed, 16 insertions, 10 deletions
diff --git a/games-fps/industri/ChangeLog b/games-fps/industri/ChangeLog index dc8687ec9729..b04c8976e12f 100644 --- a/games-fps/industri/ChangeLog +++ b/games-fps/industri/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-fps/industri -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/industri/ChangeLog,v 1.3 2004/06/25 03:23:01 agriffis Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/industri/ChangeLog,v 1.4 2005/09/16 01:17:11 mr_bones_ Exp $ + + 16 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> industri-1.01.ebuild: + needs app-arch/unzip; tidy 03 Jun 2004; Aron Griffis <agriffis@gentoo.org> industri-1.01.ebuild: Fix use invocation diff --git a/games-fps/industri/industri-1.01.ebuild b/games-fps/industri/industri-1.01.ebuild index 4bde393219fd..d064d6096038 100644 --- a/games-fps/industri/industri-1.01.ebuild +++ b/games-fps/industri/industri-1.01.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-fps/industri/industri-1.01.ebuild,v 1.8 2005/06/13 00:39:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/industri/industri-1.01.ebuild,v 1.9 2005/09/16 01:17:11 mr_bones_ Exp $ -inherit games toolchain-funcs +inherit toolchain-funcs games DESCRIPTION="Quake/Tenebrae based, single player game" HOMEPAGE="http://industri.sourceforge.net/" @@ -14,10 +14,12 @@ SLOT="0" KEYWORDS="x86" IUSE="" -DEPEND="virtual/opengl +RDEPEND="virtual/opengl virtual/x11 media-libs/libpng sys-libs/zlib" +DEPEND="${RDEPEND} + app-arch/unzip" S=${WORKDIR}/industri_BIN @@ -26,7 +28,7 @@ src_unpack() { cd "${S}"/linux mv Makefile.i386linux Makefile - sed -i "s:-mpentiumpro.*:${CFLAGS} \\\\:" Makefile + sed -i -e "s:-mpentiumpro.*:${CFLAGS} \\\\:" Makefile || die "sed failed" # Remove duplicated typedefs #71841 cd "${S}" @@ -34,14 +36,15 @@ src_unpack() { if echo '#include <GL/gl.h>' | $(tc-getCC) -E - 2>/dev/null | grep -sq ${typ} ; then sed -i \ -e "/^typedef.*${typ}/d" \ - glquake.h + glquake.h \ + || die "sed failed" fi done } src_compile() { - cd linux - emake MASTER_DIR=${GAMES_DATADIR}/quake-data build_release || die + emake -C linux MASTER_DIR="${GAMES_DATADIR}"/quake-data build_release \ + || die "emake failed" } src_install() { @@ -52,7 +55,7 @@ src_install() { dodoc linux/README cd "${WORKDIR}"/industri dodoc *.txt && rm *.txt - insinto ${GAMES_DATADIR}/quake-data/industri + insinto "${GAMES_DATADIR}"/quake-data/industri doins * prepgamesdirs } |