From ccd10faba518c7ae03bb3ea8c6515bbd70cf0346 Mon Sep 17 00:00:00 2001 From: snj Date: Sun, 27 Sep 2009 15:48:59 +0000 Subject: 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. --- games/prboom/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'games') 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' -- cgit v1.2.3