28 lines
763 B
Makefile
28 lines
763 B
Makefile
# $NetBSD$
|
|
|
|
DISTNAME= prboom-plus-2.5.1.4
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prboom-plus/}
|
|
|
|
MAINTAINER= micha@NetBSD.org
|
|
HOMEPAGE= https://prboom-plus.sourceforge.net/
|
|
COMMENT= Multiplayer-capable and modified version of DOOM
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
# DOOMWADDIR is intentionally shared with other Doom packages
|
|
DOOMWADDIR= share/doom
|
|
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --with-waddir=${PREFIX}/${DOOMWADDIR}
|
|
|
|
SUBST_CLASSES+= gamesdir
|
|
SUBST_STAGE.gamesdir= pre-configure
|
|
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"
|