3 DISTNAME= quakeforge-0.5.4
5 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=quake/}
7 MAINTAINER= snj@NetBSD.org
8 HOMEPAGE= http://www.quakeforge.net/
9 COMMENT= Improved Quake engine
11 BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
13 CONFIGURE_ARGS+= --with-cpp="${CPP} %d %i %o"
19 YACC= ${LOCALBASE}/bin/bison
22 SUBST_STAGE.dsp= post-patch
23 SUBST_MESSAGE.dsp= Adjusting sound device path.
24 SUBST_FILES.dsp= libs/audio/targets/snd_oss.c
25 SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|"
27 BUILD_DEFS+= USE_INET6
29 .include "../../mk/bsd.prefs.mk"
30 .if !(defined(USE_INET6) && ${USE_INET6} == "YES")
31 CONFIGURE_ARGS+= --without-ipv6
34 .include "../../devel/SDL/buildlink3.mk"
35 .include "../../mk/ossaudio.buildlink3.mk"
36 .include "../../mk/bsd.pkg.mk"