# $NetBSD: Makefile,v 1.51 2021/12/08 16:04:40 adam Exp $ DISTNAME= quakeforge-0.7.2 PKGREVISION= 13 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=quake/} MAINTAINER= snj@NetBSD.org HOMEPAGE= http://www.quakeforge.net/ COMMENT= Improved Quake engine LICENSE= gnu-gpl-v2 CONFIGURE_ARGS+= --enable-xdg CONFIGURE_ARGS+= --with-cpp=${CPP:Q}" %d %i %o" GNU_CONFIGURE= YES USE_LANGUAGES= c c++ USE_TOOLS+= bison gmake pkg-config USE_LIBTOOL= YES SUBST_CLASSES+= dsp SUBST_STAGE.dsp= pre-configure SUBST_MESSAGE.dsp= Adjusting sound device path. SUBST_FILES.dsp= libs/audio/targets/snd_oss.c SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|" LIBS+= ${BUILDLINK_LDADD.oss} REPLACE_PYTHON+= tools/qfcc/source/qfpreqcc .include "../../mk/bsd.prefs.mk" PLIST_VARS+= sunaudio linux .if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" PLIST.sunaudio= yes .endif .if ${OPSYS} == "Linux" PLIST.linux= yes .endif INSTALLATION_DIRS= include/QF/GL include/QF/plugin include/QF/ruamoko/gui .include "options.mk" .include "../../lang/python/application.mk" .include "../../audio/flac/buildlink3.mk" .include "../../audio/libsamplerate/buildlink3.mk" .include "../../audio/libvorbis/buildlink3.mk" .include "../../audio/libwildmidi/buildlink3.mk" .include "../../devel/SDL/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../www/curl/buildlink3.mk" .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libXxf86dga/buildlink3.mk" .include "../../x11/libXxf86vm/buildlink3.mk" .include "../../x11/xorgproto/buildlink3.mk" .include "../../mk/oss.buildlink3.mk" .include "../../mk/bsd.pkg.mk"