summaryrefslogtreecommitdiff
path: root/games/0verkill/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-07-04 13:40:07 +0000
committerjperkin <jperkin@pkgsrc.org>2018-07-04 13:40:07 +0000
commit3cc59ce5299d6358f3c1487cc9da3d48ef0a0647 (patch)
tree4b7c9cc25a344fafc9d2f536ba6e474a9bb281e6 /games/0verkill/Makefile
parent063580a062ba10ffba035c8d96b541b5ce7a426d (diff)
downloadpkgsrc-3cc59ce5299d6358f3c1487cc9da3d48ef0a0647.tar.gz
*: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
Diffstat (limited to 'games/0verkill/Makefile')
-rw-r--r--games/0verkill/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/0verkill/Makefile b/games/0verkill/Makefile
index aa7ba435833..d57e3bbe075 100644
--- a/games/0verkill/Makefile
+++ b/games/0verkill/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2017/07/30 22:37:57 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2018/07/04 13:40:18 jperkin Exp $
DISTNAME= 0verkill-0.16
PKGREVISION= 1
@@ -16,13 +16,13 @@ INSTALLATION_DIRS= bin share/0verkill share/doc/0verkill
INSTALLATION_DIRS+= share/0verkill/data share/0verkill/grx
SUBST_CLASSES+= grx
-SUBST_STAGE.grx= post-patch
+SUBST_STAGE.grx= pre-configure
SUBST_MESSAGE.grx= Fix game data paths
SUBST_FILES.grx= data/sprites.dat data/level1.sp data/level2.sp
SUBST_SED.grx= -e "s|grx/|${PREFIX}/share/0verkill/grx/|g"
SUBST_CLASSES+= prefix
-SUBST_STAGE.prefix= post-patch
+SUBST_STAGE.prefix= pre-configure
SUBST_MESSAGE.prefix= Fix game configuration path prefix
SUBST_FILES.prefix= cfg.h
SUBST_SED.prefix= -e "s|@PREFIX@|${PREFIX}|g"