Sun Sep 27 15:48:59 2009 UTC ()
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.


(snj)
diff -r1.32 -r1.33 pkgsrc/games/prboom/Makefile

cvs diff -r1.32 -r1.33 pkgsrc/games/prboom/Makefile (expand / switch to unified diff)

--- pkgsrc/games/prboom/Makefile 2009/01/07 16:38:11 1.32
+++ pkgsrc/games/prboom/Makefile 2009/09/27 15:48:59 1.33
@@ -1,27 +1,28 @@ @@ -1,27 +1,28 @@
1# $NetBSD: Makefile,v 1.32 2009/01/07 16:38:11 drochner Exp $ 1# $NetBSD: Makefile,v 1.33 2009/09/27 15:48:59 snj Exp $
2 2
3DISTNAME= prboom-2.5.0 3DISTNAME= prboom-2.5.0
 4PKGREVISION= 1
4CATEGORIES= games 5CATEGORIES= games
5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prboom/} 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prboom/}
6 7
7MAINTAINER= drochner@NetBSD.org 8MAINTAINER= drochner@NetBSD.org
8HOMEPAGE= http://prboom.sourceforge.net/ 9HOMEPAGE= http://prboom.sourceforge.net/
9COMMENT= Multiplayer-capable and modified version of DOOM 10COMMENT= Multiplayer-capable and modified version of DOOM
10 11
11PKG_DESTDIR_SUPPORT= user-destdir 12PKG_DESTDIR_SUPPORT= user-destdir
12 13
13GNU_CONFIGURE= YES 14GNU_CONFIGURE= YES
14CONFIGURE_ARGS+= --with-waddir=${PREFIX}/share/doom 15CONFIGURE_ARGS+= --with-waddir=${PREFIX}/share/doom
15 16
16#CONFIGURE_ARGS+= --enable-gl 17#CONFIGURE_ARGS+= --enable-gl
17 18
18SUBST_CLASSES+= gamesdir 19SUBST_CLASSES+= gamesdir
19SUBST_STAGE.gamesdir= pre-build 20SUBST_STAGE.gamesdir= post-patch
20SUBST_MESSAGE.gamesdir= Fixing hard-coded gamesdir 21SUBST_MESSAGE.gamesdir= Fixing hard-coded gamesdir
21SUBST_FILES.gamesdir= src/Makefile.in 22SUBST_FILES.gamesdir= src/Makefile.in
22SUBST_SED.gamesdir+=-e '/^gamesdir =/ s;/games;/bin;g' 23SUBST_SED.gamesdir+=-e '/^gamesdir =/ s;/games;/bin;g'
23 24
24.include "../../audio/SDL_mixer/buildlink3.mk" 25.include "../../audio/SDL_mixer/buildlink3.mk"
25.include "../../net/SDL_net/buildlink3.mk" 26.include "../../net/SDL_net/buildlink3.mk"
26 27
27.include "../../mk/bsd.pkg.mk" 28.include "../../mk/bsd.pkg.mk"