summaryrefslogtreecommitdiff
path: root/games/prboom-plus/Makefile
diff options
context:
space:
mode:
authorshattered <shattered>2014-09-13 12:55:06 +0000
committershattered <shattered>2014-09-13 12:55:06 +0000
commit92eabce5608899a8b890c5400aef0f2a9e929d4d (patch)
tree77f5db819c05ac8dc21b0bde1babd9fda9ed9967 /games/prboom-plus/Makefile
parent8e93aa853239ec35dd64f1e79d23fd020e2ee5c2 (diff)
downloadpkgsrc-92eabce5608899a8b890c5400aef0f2a9e929d4d.tar.gz
Import prboom-plus-2.5.1.3 as games/prboom-plus.
PrBoom+ is a modified version of id Software's classic game DOOM. It runs on several platforms (including Win32 and Unixes) and features many additions to the original game. It also supports multiplayer games.
Diffstat (limited to 'games/prboom-plus/Makefile')
-rw-r--r--games/prboom-plus/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/games/prboom-plus/Makefile b/games/prboom-plus/Makefile
new file mode 100644
index 00000000000..980db24df93
--- /dev/null
+++ b/games/prboom-plus/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2014/09/13 12:55:06 shattered Exp $
+
+DISTNAME= prboom-plus-2.5.1.3
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prboom-plus/}
+
+MAINTAINER= drochner@NetBSD.org
+HOMEPAGE= http://prboom-plus.sourceforge.net/
+COMMENT= Multiplayer-capable and modified version of DOOM
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --with-waddir=${PREFIX}/share/doom
+
+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"