summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorsnj <snj>2009-09-27 15:48:59 +0000
committersnj <snj>2009-09-27 15:48:59 +0000
commitccd10faba518c7ae03bb3ea8c6515bbd70cf0346 (patch)
tree4c904a27dd1eaed24485e4374f67ad13eba8cce7 /games
parentd1c257a103d0f6cb3a9e47575c8f5907c136471f (diff)
downloadpkgsrc-ccd10faba518c7ae03bb3ea8c6515bbd70cf0346.tar.gz
Patches to Makefile.in need to be done before configure, not before
build. s/pre-build/post-patch/ and suddenly this package no longer installs binaries into games/ but in bin/, as expected by the PLIST. Bump PKGREVISION to 1. PKG_DEVELOPER=yes is your friend.
Diffstat (limited to 'games')
-rw-r--r--games/prboom/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/prboom/Makefile b/games/prboom/Makefile
index 6663dd2118d..a0c7ebcab8d 100644
--- a/games/prboom/Makefile
+++ b/games/prboom/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2009/01/07 16:38:11 drochner Exp $
+# $NetBSD: Makefile,v 1.33 2009/09/27 15:48:59 snj Exp $
DISTNAME= prboom-2.5.0
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prboom/}
@@ -16,7 +17,7 @@ CONFIGURE_ARGS+= --with-waddir=${PREFIX}/share/doom
#CONFIGURE_ARGS+= --enable-gl
SUBST_CLASSES+= gamesdir
-SUBST_STAGE.gamesdir= pre-build
+SUBST_STAGE.gamesdir= post-patch
SUBST_MESSAGE.gamesdir= Fixing hard-coded gamesdir
SUBST_FILES.gamesdir= src/Makefile.in
SUBST_SED.gamesdir+=-e '/^gamesdir =/ s;/games;/bin;g'