summaryrefslogtreecommitdiff
path: root/games/quake2forge/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake2forge/Makefile')
-rw-r--r--games/quake2forge/Makefile32
1 files changed, 18 insertions, 14 deletions
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"