summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-09-16 01:22:23 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-09-16 01:22:23 +0000
commit614538e4a25116f378cef68a65464f697b05d776 (patch)
tree05d1510117643bd6ea63e487d414f8ea3f7dd04c /games-fps/industri
parentMark 0.9.7 stable on alpha (diff)
downloadhistorical-614538e4a25116f378cef68a65464f697b05d776.tar.gz
historical-614538e4a25116f378cef68a65464f697b05d776.tar.bz2
historical-614538e4a25116f378cef68a65464f697b05d776.zip
needs app-arch/unzip; tidy
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'games-fps/industri')
-rw-r--r--games-fps/industri/ChangeLog7
-rw-r--r--games-fps/industri/industri-1.01.ebuild19
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
}