From 614538e4a25116f378cef68a65464f697b05d776 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Fri, 16 Sep 2005 01:22:23 +0000 Subject: needs app-arch/unzip; tidy Package-Manager: portage-2.0.51.22-r2 --- games-fps/industri/ChangeLog | 7 +++++-- games-fps/industri/industri-1.01.ebuild | 19 +++++++++++-------- 2 files changed, 16 insertions(+), 10 deletions(-) (limited to 'games-fps/industri') 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 industri-1.01.ebuild: + needs app-arch/unzip; tidy 03 Jun 2004; Aron Griffis 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 ' | $(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 } -- cgit v1.2.3-65-gdbad