summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-04-17 19:13:45 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-04-17 19:13:45 +0000
commit077aa55677f1ac534a41db747083cada1122a8f8 (patch)
tree3e4a7e7500bdf13261c459c9efad554f65a5c030 /games
parent01e4ca12cfb003be72be7d93bfefc3c9088fab42 (diff)
downloadpkgsrc-077aa55677f1ac534a41db747083cada1122a8f8.tar.gz
Look for files in prefix/share/${PKGBASE} and prefix/lib/${PKGBASE}.
Diffstat (limited to 'games')
-rw-r--r--games/quake2forge/MESSAGE4
-rw-r--r--games/quake2forge/Makefile32
-rw-r--r--games/quake2forge/PLIST56
3 files changed, 48 insertions, 44 deletions
diff --git a/games/quake2forge/MESSAGE b/games/quake2forge/MESSAGE
index 8c735ededd6..8a07055f5e4 100644
--- a/games/quake2forge/MESSAGE
+++ b/games/quake2forge/MESSAGE
@@ -1,9 +1,9 @@
==========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2004/04/16 15:03:21 xtraeme Exp $
+$NetBSD: MESSAGE,v 1.2 2004/04/17 19:13:45 xtraeme Exp $
To run Quake 2(TM), you must place the .pak files from your Quake 2
CD into:
- ${PREFIX}/share/quake2/baseq2
+ ${PREFIX}/share/quake2forge/baseq2
==========================================================================
diff --git a/games/quake2forge/Makefile b/games/quake2forge/Makefile
index fa9788ed199..fd345cffa1a 100644
--- a/games/quake2forge/Makefile
+++ b/games/quake2forge/Makefile
@@ -1,38 +1,42 @@
-# $NetBSD: Makefile,v 1.4 2004/04/17 17:31:57 xtraeme Exp $
+# $NetBSD: Makefile,v 1.5 2004/04/17 19:13:45 xtraeme Exp $
#
-DISTNAME= quake2-0.2.1
-PKGNAME= ${DISTNAME:S/quake2/quake2forge/}
-CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=quake/}
-EXTRACT_SUFX= .tar.bz2
+DISTNAME= quake2-0.2.1
+PKGNAME= ${DISTNAME:S/quake2/quake2forge/}
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=quake/}
+EXTRACT_SUFX= .tar.bz2
-MAINTAINER= xtraeme@NetBSD.org
-HOMEPAGE= http://www.quakeforge.net/
-COMMENT= Quake2Forge is the Quake II engine
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://www.quakeforge.net/
+COMMENT= Quake2Forge is the Quake II engine
USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
-USE_LIBTOOL= yes
-USE_X11= yes
+USE_LIBTOOL= yes
+USE_X11= yes
GNU_CONFIGURE= yes
-USE_BUILTIN.glu= yes
+USE_BUILTIN.glu= yes
USE_BUILTIN.MesaLib= yes
BUILDLINK_TRANSFORM+= S:-Werror:
-CONFIGURE_ARGS+= --program-transform-name='s/^quake2$$/quake2forge/'
+CONFIGURE_ARGS+= --program-transform-name='s/^quake2$$/quake2forge/'
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/quake2forge
${INSTALL_DATA} ${WRKSRC}/docs/README* ${PREFIX}/share/doc/quake2forge
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${PREFIX}/share/doc/quake2forge
-SUBST_CLASSES= snd
+SUBST_CLASSES= snd data
SUBST_STAGE.snd= post-patch
SUBST_FILES.snd= src/snd.c
SUBST_SED.snd= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
SUBST_MESSAGE.snd= "Fixing harcoded audio device."
+SUBST_STAGE.data= post-patch
+SUBST_FILES.data= configure
+SUBST_SED.data= -e "s|PACKAGE=quake2|PACKAGE=${PKGBASE}|g"
+SUBST_MESSAGE.data= "Fixing installation directories."
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/ossaudio.buildlink3.mk"
diff --git a/games/quake2forge/PLIST b/games/quake2forge/PLIST
index 5fcaa240f46..ac245388eb3 100644
--- a/games/quake2forge/PLIST
+++ b/games/quake2forge/PLIST
@@ -1,23 +1,23 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/16 15:03:20 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/04/17 19:13:45 xtraeme Exp $
bin/quake2forge
-lib/quake2/baseq2/game.a
-lib/quake2/baseq2/game.la
-lib/quake2/baseq2/game.so
-lib/quake2/ctf/game.a
-lib/quake2/ctf/game.la
-lib/quake2/ctf/game.so
-lib/quake2/ref_glx.a
-lib/quake2/ref_glx.la
-lib/quake2/ref_glx.so
-lib/quake2/ref_sdlgl.a
-lib/quake2/ref_sdlgl.la
-lib/quake2/ref_sdlgl.so
-lib/quake2/ref_softsdl.a
-lib/quake2/ref_softsdl.la
-lib/quake2/ref_softsdl.so
-lib/quake2/ref_softx.a
-lib/quake2/ref_softx.la
-lib/quake2/ref_softx.so
+lib/quake2forge/baseq2/game.a
+lib/quake2forge/baseq2/game.la
+lib/quake2forge/baseq2/game.so
+lib/quake2forge/ctf/game.a
+lib/quake2forge/ctf/game.la
+lib/quake2forge/ctf/game.so
+lib/quake2forge/ref_glx.a
+lib/quake2forge/ref_glx.la
+lib/quake2forge/ref_glx.so
+lib/quake2forge/ref_sdlgl.a
+lib/quake2forge/ref_sdlgl.la
+lib/quake2forge/ref_sdlgl.so
+lib/quake2forge/ref_softsdl.a
+lib/quake2forge/ref_softsdl.la
+lib/quake2forge/ref_softsdl.so
+lib/quake2forge/ref_softx.a
+lib/quake2forge/ref_softx.la
+lib/quake2forge/ref_softx.so
share/doc/quake2forge/README.Solaris
share/doc/quake2forge/README.axp
share/doc/quake2forge/README.install
@@ -30,13 +30,13 @@ share/doc/quake2forge/changes-ctf.txt
share/doc/quake2forge/changes.txt
share/doc/quake2forge/joystick.txt
share/doc/quake2forge/readme.txt
-share/quake2/baseq2/config.cfg
-@dirrm share/quake2/baseq2
+share/quake2forge/baseq2/config.cfg
+@dirrm share/quake2forge/baseq2
@dirrm share/doc/quake2forge
-@exec ${MKDIR} %D/lib/quake2/xatrix
-@dirrm lib/quake2/xatrix
-@exec ${MKDIR} %D/lib/quake2/rogue
-@dirrm lib/quake2/rogue
-@dirrm lib/quake2/ctf
-@dirrm lib/quake2/baseq2
-@dirrm lib/quake2
+@exec ${MKDIR} %D/lib/quake2forge/xatrix
+@dirrm lib/quake2forge/xatrix
+@exec ${MKDIR} %D/lib/quake2forge/rogue
+@dirrm lib/quake2forge/rogue
+@dirrm lib/quake2forge/ctf
+@dirrm lib/quake2forge/baseq2
+@dirrm lib/quake2forge