summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-11-20 09:33:44 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-11-20 09:33:44 +0000
commite2ed3137389ed180160e597f2b8b403aa2c8c18c (patch)
tree71d360fef8dfd42950dac2b148ec4dbc020f9fec /games-fps
parentversion bump; remove obsolete version (Manifest recommit) (diff)
downloadgentoo-2-e2ed3137389ed180160e597f2b8b403aa2c8c18c.tar.gz
gentoo-2-e2ed3137389ed180160e597f2b8b403aa2c8c18c.tar.bz2
gentoo-2-e2ed3137389ed180160e597f2b8b403aa2c8c18c.zip
tidy; error check
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/quake1/ChangeLog5
-rw-r--r--games-fps/quake1/quake1-2.40.ebuild23
2 files changed, 14 insertions, 14 deletions
diff --git a/games-fps/quake1/ChangeLog b/games-fps/quake1/ChangeLog
index 634a4342ec4b..78f91219d4e7 100644
--- a/games-fps/quake1/ChangeLog
+++ b/games-fps/quake1/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-fps/quake1
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1/ChangeLog,v 1.4 2004/06/24 22:43:09 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1/ChangeLog,v 1.5 2004/11/20 09:33:44 mr_bones_ Exp $
+
+ 20 Nov 2004; Michael Sterrett <mr_bones_@gentoo.org> quake1-2.40.ebuild:
+ tidy; error check
27 May 2004; Michael Sterrett <mr_bones_@gentoo.org> quake1-2.40.ebuild:
use fixup
diff --git a/games-fps/quake1/quake1-2.40.ebuild b/games-fps/quake1/quake1-2.40.ebuild
index 0ab7351cfe33..a48411c2dc0b 100644
--- a/games-fps/quake1/quake1-2.40.ebuild
+++ b/games-fps/quake1/quake1-2.40.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1/quake1-2.40.ebuild,v 1.6 2004/11/03 00:24:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1/quake1-2.40.ebuild,v 1.7 2004/11/20 09:33:44 mr_bones_ Exp $
-inherit games eutils gcc
+inherit eutils gcc games
DESCRIPTION="The original Quake engine straight from id !"
HOMEPAGE="http://www.idsoftware.com/games/quake/quake/"
@@ -32,21 +32,21 @@ pkg_setup() {
src_unpack() {
unpack ${A}
- epatch ${FILESDIR}/fix-sys_printf.patch
+ epatch "${FILESDIR}/fix-sys_printf.patch"
mv WinQuake/Makefile{.linuxi386,}
mv QW/Makefile{.Linux,}
- epatch ${FILESDIR}/makefile-path-fixes.patch
+ epatch "${FILESDIR}/makefile-path-fixes.patch"
[ $(gcc-major-version) -eq 3 ] \
- && epatch ${FILESDIR}/makefile-gcc3-cflags.patch \
- || epatch ${FILESDIR}/makefile-gcc2-cflags.patch
+ && epatch "${FILESDIR}/makefile-gcc3-cflags.patch" \
+ || epatch "${FILESDIR}/makefile-gcc2-cflags.patch"
sed -i "s:GENTOO_CFLAGS:${CFLAGS} -DGL_EXT_SHARED=1:" {WinQuake,QW}/Makefile
cp QW/client/glquake.h{,.orig}
(echo "#define APIENTRY";cat QW/client/glquake.h.orig) > QW/client/glquake.h
- epatch ${FILESDIR}/makefile-sedable.patch
+ epatch "${FILESDIR}/makefile-sedable.patch"
if ! use 3dfx ; then
sed -i 's:^ $(BUILDDIR)/bin/glquake ::' WinQuake/Makefile
sed -i 's:^ $(BUILDDIR)/bin/glquake.3dfxgl ::' WinQuake/Makefile
@@ -67,15 +67,12 @@ src_unpack() {
}
src_compile() {
- cd ${S}/WinQuake
- make build_release || die "failed to build WinQuake"
- cd ${S}/QW
- make build_release || die "failed to build QW"
+ make -C "${S}/WinQuake" build_release || die "failed to build WinQuake"
+ make -C "${S}/QW" build_release || die "failed to build QW"
}
src_install() {
- dogamesbin WinQuake/release*/bin/*
- dogamesbin QW/release*/*qw*
+ dogamesbin WinQuake/release*/bin/* QW/release*/*qw* || die "dogamesbin failed"
dodoc readme.txt {WinQuake,QW}/*.txt
prepgamesdirs
}