7d685f2078
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.
28 lines
762 B
Makefile
28 lines
762 B
Makefile
# $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/}
|
|
|
|
MAINTAINER= drochner@NetBSD.org
|
|
HOMEPAGE= http://prboom.sourceforge.net/
|
|
COMMENT= Multiplayer-capable and modified version of DOOM
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --with-waddir=${PREFIX}/share/doom
|
|
|
|
#CONFIGURE_ARGS+= --enable-gl
|
|
|
|
SUBST_CLASSES+= gamesdir
|
|
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'
|
|
|
|
.include "../../audio/SDL_mixer/buildlink3.mk"
|
|
.include "../../net/SDL_net/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|