needs app-arch/unzip; tidy
authorMichael Sterrett <mr_bones_@gentoo.org>
Fri, 16 Sep 2005 01:22:23 +0000 (01:22 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Fri, 16 Sep 2005 01:22:23 +0000 (01:22 +0000)
Package-Manager: portage-2.0.51.22-r2

games-fps/industri/ChangeLog
games-fps/industri/industri-1.01.ebuild
games-fps/rott/ChangeLog
games-fps/rott/rott-1.0.ebuild
games-fps/wolfgl/ChangeLog
games-fps/wolfgl/wolfgl-0.93-r1.ebuild

index dc8687ec9729ca3db5e76eeab40a06359315c3b8..b04c8976e12f6fcc5e3ea0c93bd519c14140e4a2 100644 (file)
@@ -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
index 4bde393219fd475d26fb92dbed47fabd189c9b83..d064d60960387ca421a06a391f49efb7fa6c0f16 100644 (file)
@@ -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
 }
index 2d7c820f6c28c9c9dbd641cc7badd4253dbd8d4b..86bf957bbb236674725861b1db79dff7df5b893d 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-fps/rott
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/rott/ChangeLog,v 1.4 2005/01/05 14:12:30 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/rott/ChangeLog,v 1.5 2005/09/16 01:19:49 mr_bones_ Exp $
+
+  16 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> rott-1.0.ebuild:
+  needs app-arch/unzip; tidy
 
   05 Jan 2005; <avatar@gentoo.org> rott-1.0.ebuild:
   Added to ~ppc.
index 26a66272dde202c41edde72e6bbe7d831ad5c295..2a5ee9b4405333f6d5a33fc42ead91c8e08b8d20 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/rott/rott-1.0.ebuild,v 1.6 2005/01/05 14:12:30 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/rott/rott-1.0.ebuild,v 1.7 2005/09/16 01:19:49 mr_bones_ Exp $
 
 inherit eutils games
 
@@ -11,32 +11,33 @@ SRC_URI="http://www.icculus.org/rott/releases/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="x86 ~ppc"
+KEYWORDS="~ppc x86"
 IUSE=""
 
-DEPEND="media-libs/libsdl
+RDEPEND="media-libs/libsdl
        media-libs/sdl-mixer"
+DEPEND="${RDEPEND}
+       app-arch/unzip"
 
 S=${WORKDIR}/${P}/rott
 
 src_unpack() {
        unpack ${A}
-       epatch ${FILESDIR}/${PV}-custom-datapath.patch
+       epatch "${FILESDIR}"/${PV}-custom-datapath.patch
 }
 
 src_compile() {
        make clean || die
-       make EXTRACFLAGS="${CFLAGS} -DDATADIR=\\\"${GAMES_DATADIR}/${PN}/\\\"" || die
+       emake -j1 EXTRACFLAGS="${CFLAGS} -DDATADIR=\\\"${GAMES_DATADIR}/${PN}/\\\"" \
+               || die "emake failed"
 }
 
 src_install() {
-       dogamesbin rott
+       dogamesbin rott || die "dogamesbin failed"
        dodoc *.txt ../{README,readme.txt}
-
-       cd ${WORKDIR}
-       insinto ${GAMES_DATADIR}/${PN}
-       doins *.dmo huntbgin.* remote1.rts
-
+       cd "${WORKDIR}"
+       insinto "${GAMES_DATADIR}"/${PN}
+       doins *.dmo huntbgin.* remote1.rts || die "doins failed"
        prepgamesdirs
 }
 
index 79fb3074dd2d5221202179acb1afd82eb9891eaf..31c295a626124ae18586ef5843744cea8b14f361 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for games-fps/wolfgl
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/wolfgl/ChangeLog,v 1.5 2005/06/10 13:08:55 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/wolfgl/ChangeLog,v 1.6 2005/09/16 01:22:23 mr_bones_ Exp $
+
+  16 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org>
+  wolfgl-0.93-r1.ebuild:
+  needs app-arch/unzip; tidy
 
   10 Jun 2005; David Holm <dholm@gentoo.org> wolfgl-0.93-r1.ebuild:
   Added to ~ppc.
index d370ff6c123c5afcf258d62749d8de72ad0d2d3b..dd0968c5d2914a2dbe83d2b8fc42a53b102a9966 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/wolfgl/wolfgl-0.93-r1.ebuild,v 1.4 2005/06/10 13:08:55 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/wolfgl/wolfgl-0.93-r1.ebuild,v 1.5 2005/09/16 01:22:23 mr_bones_ Exp $
 
 #ECVS_SERVER="cvs.sourceforge.net:/cvsroot/wolfgl"
 #ECVS_MODULE="wolfgl"
@@ -15,33 +15,36 @@ SRC_URI="mirror://gentoo/${P}.tbz2
 #      mirror://sourceforge/wolfgl/wolfglx-wl6-${PV}.zip
 #      mirror://sourceforge/wolfgl/wolfglx-sod-${PV}.zip
 
-KEYWORDS="~ppc x86"
 LICENSE="GPL-2"
 SLOT="0"
+KEYWORDS="~ppc x86"
 IUSE=""
 
-DEPEND="virtual/opengl
+RDEPEND="virtual/opengl
        virtual/x11"
+DEPEND="${RDEPEND}
+       app-arch/unzip"
 
 src_unpack() {
        unpack ${A}
-       cd ${S}
-       epatch ${FILESDIR}/${PV}-gcc.patch
-       epatch ${FILESDIR}/${PV}-sample-rate.patch
-       epatch ${FILESDIR}/${PV}-sprite.patch
+       cd "${S}"
+       epatch "${FILESDIR}"/${PV}-gcc.patch \
+               "${FILESDIR}"/${PV}-sample-rate.patch \
+               "${FILESDIR}"/${PV}-sprite.patch
 }
 
 src_compile() {
-       make CFLAGS="${CFLAGS}" DATADIR=${GAMES_DATADIR}/${PN} || die
+       emake -j1 CFLAGS="${CFLAGS}" DATADIR="${GAMES_DATADIR}"/${PN} \
+               || die "emake failed"
 }
 
 src_install() {
-       newgamesbin linux/SDM/wolfgl wolfgl-sdm
-       newgamesbin linux/SOD/wolfgl wolfgl-sod
-       newgamesbin linux/WL1/wolfgl wolfgl-wl1
-       newgamesbin linux/WL6/wolfgl wolfgl-wl6
-       insinto ${GAMES_DATADIR}/${PN}
-       doins ${WORKDIR}/*.{sdm,wl1}
+       newgamesbin linux/SDM/wolfgl wolfgl-sdm || die
+       newgamesbin linux/SOD/wolfgl wolfgl-sod || die
+       newgamesbin linux/WL1/wolfgl wolfgl-wl1 || die
+       newgamesbin linux/WL6/wolfgl wolfgl-wl6 || die
+       insinto "${GAMES_DATADIR}"/${PN}
+       doins "${WORKDIR}"/*.{sdm,wl1} || die
        prepgamesdirs
 }