quake-data -> quake1 #111622
authorMike Frysinger <vapier@gentoo.org>
Sat, 5 Nov 2005 22:47:28 +0000 (22:47 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 5 Nov 2005 22:47:28 +0000 (22:47 +0000)
Package-Manager: portage-2.0.53_rc7

12 files changed:
games-fps/anaglyph-stereo-quake/anaglyph-stereo-quake-130100-r1.ebuild
games-fps/fuhquake-bin/fuhquake-bin-0.31.ebuild
games-fps/industri/industri-1.01.ebuild
games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild
games-fps/quake1-ctf/quake1-ctf-4.0.ebuild
games-fps/quake1-killer/quake1-killer-2.2z.ebuild
games-fps/quake1-movies/quake1-movies-0.ebuild
games-fps/quake1-rally/quake1-rally-1.2.ebuild
games-fps/quake1-teamfortress/quake1-teamfortress-2.9.ebuild
games-fps/quake1-textures/quake1-textures-20040716.ebuild
games-fps/tenebrae/tenebrae-1.04.ebuild
games-fps/wmquake/wmquake-1.1.ebuild

index f3c5f523b0d921fdce57cac93db982a409d5e6f3..4c0095051052d358ad3f478504dbad32c612f306 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/anaglyph-stereo-quake/anaglyph-stereo-quake-130100-r1.ebuild,v 1.10 2005/09/26 18:02:10 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/anaglyph-stereo-quake/anaglyph-stereo-quake-130100-r1.ebuild,v 1.11 2005/11/05 22:33:53 vapier Exp $
 
 inherit eutils games
 
@@ -25,32 +25,32 @@ S=${WORKDIR}/WinQuake
 src_unpack() {
        unpack ${A}
 
-       cd ${S}
+       cd "${S}"
        mv GLQUAKE.H glquake.h
        mv GL_DRAW.C gl_draw.c
        mv GL_RMAIN.C gl_rmain.c
-       epatch ${FILESDIR}/stupid-dosformat.patch
+       epatch "${FILESDIR}"/stupid-dosformat.patch
        mv Makefile{.linuxi386,}
-       epatch ${FILESDIR}/makefile-path-fixes.patch
-       epatch ${FILESDIR}/fix-sys_printf.patch
-       epatch ${FILESDIR}/makefile-cflags.patch
-       epatch ${FILESDIR}/gentoo-paths.patch
-       edos2unix console.c ${WORKDIR}/${P}-SDL.patch
-       epatch ${WORKDIR}/${P}-SDL.patch
-       epatch ${FILESDIR}/${P}-amd64.patch
+       epatch "${FILESDIR}"/makefile-path-fixes.patch
+       epatch "${FILESDIR}"/fix-sys_printf.patch
+       epatch "${FILESDIR}"/makefile-cflags.patch
+       epatch "${FILESDIR}"/gentoo-paths.patch
+       edos2unix console.c "${WORKDIR}"/${P}-SDL.patch
+       epatch "${WORKDIR}"/${P}-SDL.patch
+       epatch "${FILESDIR}"/${P}-amd64.patch
 }
 
 src_compile() {
        make \
                OPTFLAGS="${CFLAGS}" \
-               GENTOO_DATADIR=${GAMES_DATADIR}/quake-data \
+               GENTOO_DATADIR=${GAMES_DATADIR}/quake1 \
                build_release \
                || die "failed to build WinQuake"
 }
 
 src_install() {
-       newgamesbin release*/bin/glquake.sdl anaglyph-stereo-quake
-       dodoc ${WORKDIR}/readme.id.txt
-       dohtml ${WORKDIR}/3dquake.html
+       newgamesbin release*/bin/glquake.sdl anaglyph-stereo-quake || die
+       dodoc "${WORKDIR}"/readme.id.txt
+       dohtml "${WORKDIR}"/3dquake.html
        prepgamesdirs
 }
index e6dab7ba91d0f62c9b295094fa5cb4d75ca1aa17..62f21a0cfa0170b06ee58b78d3e9a2189f5fe8b8 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/fuhquake-bin/fuhquake-bin-0.31.ebuild,v 1.2 2005/09/06 04:49:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/fuhquake-bin/fuhquake-bin-0.31.ebuild,v 1.3 2005/11/05 22:47:28 vapier Exp $
 
 inherit games
 
@@ -36,7 +36,7 @@ src_install() {
        exeinto "${dir}"
        doexe fuhquake-gl.glx fuhquake.svga fuhquake.x11 fuhquake-security.so || die "doexe"
        cp -r fuhquake qw "${D}/${dir}"/ || die "cp data"
-       dosym "${GAMES_DATADIR}"/quake-data/id1 "${dir}"/id1
+       dosym "${GAMES_DATADIR}"/quake1/id1 "${dir}"/id1
 
        for x in fuhquake-gl.glx fuhquake.svga fuhquake.x11 ; do
                games_make_wrapper ${x} ./${x} "${dir}"
index d064d60960387ca421a06a391f49efb7fa6c0f16..0d1b80127c23a34e83360ad546827929b5253786 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/industri/industri-1.01.ebuild,v 1.9 2005/09/16 01:17:11 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/industri/industri-1.01.ebuild,v 1.10 2005/11/05 22:35:19 vapier Exp $
 
 inherit toolchain-funcs games
 
@@ -43,7 +43,10 @@ src_unpack() {
 }
 
 src_compile() {
-       emake -C linux MASTER_DIR="${GAMES_DATADIR}"/quake-data build_release \
+       emake \
+               -C linux \
+               MASTER_DIR="${GAMES_DATADIR}"/quake1 \
+               build_release \
                || die "emake failed"
 }
 
@@ -55,7 +58,7 @@ src_install() {
        dodoc linux/README
        cd "${WORKDIR}"/industri
        dodoc *.txt && rm *.txt
-       insinto "${GAMES_DATADIR}"/quake-data/industri
+       insinto "${GAMES_DATADIR}"/quake1/industri
        doins *
        prepgamesdirs
 }
@@ -63,5 +66,5 @@ src_install() {
 pkg_postinst() {
        games_pkg_postinst
        einfo "Please setup your quake pak files before playing in"
-       einfo "${GAMES_DATADIR}/quake-data"
+       einfo "${GAMES_DATADIR}/quake1"
 }
index c70c25b776e0ce22e97d805480d58d383b136a36..980f97038802d09a99752adaeb1a29a06f2e52c0 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/nprquake-sdl/nprquake-sdl-1-r1.ebuild,v 1.6 2005/09/26 18:11:08 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild,v 1.7 2005/11/05 22:36:21 vapier Exp $
 
 inherit eutils games
 
@@ -15,18 +15,18 @@ IUSE=""
 
 DEPEND="media-libs/libsdl"
 
-S="${WORKDIR}/NPRQuake-SDL"
+S=${WORKDIR}/NPRQuake-SDL
 
 src_unpack() {
        unpack ${A}
-       cd ${S}
-       epatch "${FILESDIR}/${PV}-gentoo.patch"
+       cd "${S}"
+       epatch "${FILESDIR}"/${PV}-gentoo.patch
 }
 
 src_compile() {
        make \
                GENTOO_LIBDIR="${GAMES_LIBDIR}/${PN}" \
-               GENTOO_DATADIR="${GAMES_DATADIR}/quake-data" \
+               GENTOO_DATADIR="${GAMES_DATADIR}/quake1" \
                OPTFLAGS="${CFLAGS}" \
                release \
                || die
index 7602b571c3dce7a0a37173c2f7bd86ae2c02b5f6..0408301b0a0444bdc56c4c8e9cf0aca8efeeae45 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/quake1-ctf/quake1-ctf-4.0.ebuild,v 1.2 2005/09/26 18:08:17 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1-ctf/quake1-ctf-4.0.ebuild,v 1.3 2005/11/05 22:37:14 vapier Exp $
 
 inherit eutils games
 
@@ -46,9 +46,7 @@ src_unpack() {
 }
 
 src_install() {
-       local dir=${GAMES_DATADIR}/quake-data
-       dodir "${dir}"
-       insinto "${dir}"
-       doins -r *
+       insinto "${GAMES_DATADIR}/quake1"
+       doins -r * || die
        prepgamesdirs
 }
index 042f32b0340206e0270cda2f5114a2e90b882a1e..6863e9807425862ea5e7b3c2577716099d80c234 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/quake1-killer/quake1-killer-2.2z.ebuild,v 1.2 2005/09/26 18:05:03 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1-killer/quake1-killer-2.2z.ebuild,v 1.3 2005/11/05 22:38:41 vapier Exp $
 
-inherit eutils games
+inherit games
 
 DESCRIPTION="The Killer Quake Patch"
 HOMEPAGE="http://kqp.mpog.com/ http://www.planetquake.com/qca/reviews/patch143.htm"
@@ -25,9 +25,7 @@ src_unpack() {
 }
 
 src_install() {
-       local dir=${GAMES_DATADIR}/quake-data/killer
-       dodir "${dir}"
-       insinto "${dir}"
-       doins -r *
+       insinto "${GAMES_DATADIR}/quake-data/killer"
+       doins -r * || die
        prepgamesdirs
 }
index 8f41caf902df4d540cca74cd22077cfa0ba3dabf..2108bc42093bc994a5df16651adda30bfd44507d 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/quake1-movies/quake1-movies-0.ebuild,v 1.3 2005/09/26 18:05:31 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1-movies/quake1-movies-0.ebuild,v 1.4 2005/11/05 22:40:11 vapier Exp $
 
 inherit eutils games
 
@@ -14,8 +14,7 @@ SRC_URI="http://ftp.se.kde.org/pub/pc/games/idgames2/planetquake/cineplex/camper
        http://ftp.se.kde.org/pub/pc/games/idgames2/planetquake/cineplex/op_bays.zip
        http://ftp.se.kde.org/pub/pc/games/idgames2/planetquake/cineplex/artifact.zip
        http://ftp.se.kde.org/pub/pc/games/idgames2/planetquake/blah/blahmov.zip
-       http://ftp.se.kde.org/pub/pc/games/idgames2/planetquake/blah/blahouts.zip
-       "
+       http://ftp.se.kde.org/pub/pc/games/idgames2/planetquake/blah/blahouts.zip"
 
 LICENSE="as-is"
 SLOT="0"
@@ -33,14 +32,14 @@ myunpack() {
 }
 
 src_unpack() {
-       cd ${S}
+       cd "${S}"
        einfo "Diary of a Camper ..."
        mkdir id1
        cd id1
        myunpack camper.zip
        mv movies.txt movies-camper.txt
 
-       cd ${S}
+       cd "${S}"
        einfo "Ranger Gone Bad ..."
        cd id1
        myunpack rgb.zip
@@ -54,33 +53,31 @@ src_unpack() {
        cd ta2
        myunpack ta2.zip
 
-       cd ${S}
+       cd "${S}"
        einfo "Operation Bayshield ..."
        mkdir op_bays
        cd op_bays
        myunpack op_bays.zip
 
-       cd ${S}
+       cd "${S}"
        einfo "The Artifact ..."
        mkdir artifact
        cd artifact
        myunpack artifact.zip
 
-       cd ${S}
+       cd "${S}"
        einfo "Blahbalicious ..."
        myunpack blahmov.zip
        rm *.bat
        cd blah
        myunpack blahouts.zip
 
-       cd ${S}
+       cd "${S}"
        edos2unix $(find . -name '*.txt' -o -name '*.cfg')
 }
 
 src_install() {
-       local dir=${GAMES_DATADIR}/quake-data
-       dodir "${dir}"
-       insinto "${dir}"
+       insinto "${GAMES_DATADIR}/quake-data"
        doins -r * || die "doins"
        prepgamesdirs
 }
index 946b4dfe8a49db24f7e44d4e0634e2f76ba87786..00a878eb04321247ca94906fe75f1e13277ea6bc 100644 (file)
@@ -1,13 +1,12 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1-rally/quake1-rally-1.2.ebuild,v 1.3 2005/09/26 18:01:07 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1-rally/quake1-rally-1.2.ebuild,v 1.4 2005/11/05 22:41:28 vapier Exp $
 
-inherit eutils games
+inherit games
 
 DESCRIPTION="TC which turns Quake into a Rally racing game"
 HOMEPAGE="http://www.quakerally.com/"
-SRC_URI="
-       mirror://gentoo/qr12.zip
+SRC_URI="mirror://gentoo/qr12.zip
        mirror://gentoo/qrlo1.zip"
 
 LICENSE="as-is"
@@ -32,9 +31,7 @@ src_unpack() {
 }
 
 src_install() {
-       local dir=${GAMES_DATADIR}/quake-data
-       dodir "${dir}"
-       insinto "${dir}"
+       insinto "${GAMES_DATADIR}/quake1"
        doins -r * || die "doins"
        prepgamesdirs
 }
index 4c98d3f3f0087ccdc255efcfc07be64f48b9fc39..9258e17fc9b95db9f0c64da97f866112f84617d2 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/quake1-teamfortress/quake1-teamfortress-2.9.ebuild,v 1.2 2005/09/26 18:11:39 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1-teamfortress/quake1-teamfortress-2.9.ebuild,v 1.3 2005/11/05 22:42:43 vapier Exp $
 
 inherit eutils games
 
@@ -31,9 +31,7 @@ src_unpack() {
 }
 
 src_install() {
-       local dir=${GAMES_DATADIR}/quake-data
-       dodir "${dir}"
-       insinto "${dir}"
-       doins -r *
+       insinto "${GAMES_DATADIR}/quake1"
+       doins -r * || die
        prepgamesdirs
 }
index 76fd7e65e5220b77821654ba6105a71674f4952c..cd437041eb68825c0e6ff4bae69533517a478103 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1-textures/quake1-textures-20040716.ebuild,v 1.3 2004/12/10 21:41:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1-textures/quake1-textures-20040716.ebuild,v 1.4 2005/11/05 22:43:44 vapier Exp $
 
 inherit games
 
@@ -20,7 +20,7 @@ S=${WORKDIR}
 src_install () {
        dodoc *.txt
        rm *.txt
-       insinto ${GAMES_DATADIR}/quake-data/id1/textures
+       insinto "${GAMES_DATADIR}"/quake1/id1/textures
        doins * || die "doins failed"
        prepgamesdirs
 }
index 5d4e1dca5ff2f485e824bc6ef986cdba7145a2a4..bbcf88eab077c6f7116bdd5a3023ac2746b47190 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/tenebrae/tenebrae-1.04.ebuild,v 1.8 2005/09/26 18:05:56 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/tenebrae/tenebrae-1.04.ebuild,v 1.9 2005/11/05 22:45:14 vapier Exp $
 
 #ECVS_SERVER="cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae"
 #ECVS_MODULE="tenebrae_0"
@@ -34,7 +34,7 @@ src_unpack() {
                cvs_src_unpack
        fi
        cd tenebrae_0
-       epatch ${FILESDIR}/${PV}-glhax.patch
+       epatch "${FILESDIR}"/${PV}-glhax.patch
        cd linux
        sed "s:-mpentiumpro -O6:${CFLAGS}:" Makefile.i386linux > Makefile
        #if use sdl ; then
@@ -44,8 +44,8 @@ src_unpack() {
 }
 
 src_compile() {
-       cd ${S}/tenebrae_0/linux
-       make MASTER_DIR=${GAMES_DATADIR}/quake-data build_release || die
+       cd "${S}"/tenebrae_0/linux
+       make MASTER_DIR="${GAMES_DATADIR}/quake1" build_release || die
        #if use sdl ; then
        #       cd ${S}/tenebrae_0/sdl
        #       egamesconf || die
@@ -55,8 +55,8 @@ src_compile() {
 
 src_install() {
        newgamesbin tenebrae_0/linux/release*/bin/tenebrae.run tenebrae || die "newgamesbin"
-       insinto ${GAMES_DATADIR}/quake-data/tenebrae
-       doins ${WORKDIR}/tenebrae/* || die "doins data"
-       dodoc tenebrae_0/linux/README ${WORKDIR}/Tenebrae_Readme.txt
+       insinto "${GAMES_DATADIR}/quake1/tenebrae"
+       doins "${WORKDIR}"/tenebrae/* || die "doins data"
+       dodoc tenebrae_0/linux/README "${WORKDIR}"/Tenebrae_Readme.txt
        prepgamesdirs
 }
index 18db8fd301c3bcb4f9108102109dc775b4e5a823..ed0ff9590463196aecbeb2769744708bacc9eff5 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/wmquake/wmquake-1.1.ebuild,v 1.4 2004/06/24 22:50:27 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/wmquake/wmquake-1.1.ebuild,v 1.5 2005/11/05 22:46:24 vapier Exp $
 
 inherit games
 
@@ -19,7 +19,7 @@ DEPEND="${RDEPEND}
 
 src_unpack() {
        unpack ${A}
-       cd ${S}
+       cd "${S}"
        sed -i \
                -e "s:CFLAGS = .*:CFLAGS = ${CFLAGS}:" Makefile \
                || die "sed Makefile failed"
@@ -28,7 +28,7 @@ src_unpack() {
 src_install() {
        exeinto "${GAMES_LIBDIR}/wmquake"
        doexe wmquake || die "doexe failed"
-       games_make_wrapper wmquake "${GAMES_LIBDIR}/wmquake/wmquake" "${GAMES_DATADIR}/quake-data/"
+       games_make_wrapper wmquake "${GAMES_LIBDIR}/wmquake/wmquake" "${GAMES_DATADIR}/quake1/"
        dodoc README*
        prepgamesdirs
 }
@@ -40,12 +40,12 @@ pkg_postinst() {
        einfo "wmquake can find your Quake .pak files"
        echo
        einfo "You have 2 choices to do this"
-       einfo "1 Copy pak*.pak files to ${GAMES_DATADIR}/quake-data/id1"
-       einfo "2 Symlink pak*.pak files in ${GAMES_DATADIR}/quake-data/id1"
+       einfo "1 Copy pak*.pak files to ${GAMES_DATADIR}/quake1/id1"
+       einfo "2 Symlink pak*.pak files in ${GAMES_DATADIR}/quake1/id1"
        echo
        einfo "Example:"
        einfo "my pak*.pak files are in /mnt/secondary/Games/Quake/Id1/"
-       einfo "ln -s /mnt/secondary/Games/Quake/Id1/pak0.pak ${GAMES_DATADIR}/quake-data/id1/pak0.pak"
+       einfo "ln -s /mnt/secondary/Games/Quake/Id1/pak0.pak ${GAMES_DATADIR}/quake1/id1/pak0.pak"
        echo
        einfo "You only need pak0.pak to play the demo version,"
        einfo "the others are needed for registered version"