# $NetBSD: Makefile.common,v 1.6 2020/11/25 20:34:37 nia Exp $ # # used by games/armagetronad/Makefile # used by games/armagetronad-server/Makefile DISTNAME= armagetronad-0.2.9.0.1 CATEGORIES= games MASTER_SITES= https://launchpad.net/armagetronad/0.2.9/${PKGVERSION_NOREV}/+download/ EXTRACT_SUFX= .tbz HOMEPAGE= http://www.armagetronad.org/ LICENSE= gnu-gpl-v2 WRKSRC= ${WRKDIR}/${DISTNAME:S/.src//} DISTINFO_FILE= ${.CURDIR}/../../games/armagetronad/distinfo PATCHDIR= ${.CURDIR}/../../games/armagetronad/patches GNU_CONFIGURE= yes USE_LANGUAGES= c c++ USE_TOOLS+= bash gmake pkg-config REPLACE_PYTHON+= language/update.py SUBST_CLASSES+= bash SUBST_MESSAGE.bash= Set proper BASH path. SUBST_STAGE.bash= pre-configure SUBST_FILES.bash= batch/Makefile.am SUBST_FILES.bash+= batch/Makefile.in SUBST_SED.bash= -e 's,`which bash`,${BASH},' CONFIGURE_ARGS+= --disable-sysinstall CONFIGURE_ARGS+= --disable-uninstall CONFIGURE_ARGS+= --disable-useradd # This sanitizes paths CONFIGURE_ARGS+= --disable-games CHECK_PORTABILITY_SKIP+= docker/deploy/targets.sh.in .include "../../textproc/libxml2/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk"