[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / cbzone

File: [cvs.NetBSD.org] / pkgsrc / games / cbzone / Makefile (download)

Revision 1.12, Wed Apr 21 15:46:04 2021 UTC (21 months, 1 week ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, HEAD
Changes since 1.11: +2 -2 lines

*: remove dead download sites

# $NetBSD: Makefile,v 1.12 2021/04/21 15:46:04 wiz Exp $

DISTNAME=		cbzone-sound
PKGNAME=		cbzone-2.0c
PKGREVISION=		2
CATEGORIES=		games x11
#MASTER_SITES=		ftp://ftp.cdrom.com/pub/X11/R5contrib/

MAINTAINER=		pkgsrc-users@NetBSD.org
COMMENT=		Simple classic game of 3D tank warfare

WRKSRC=			${WRKDIR}/cbzone
USE_TOOLS+=		gmake
USE_IMAKE=		yes

BUILD_DEFS+=		VARBASE
BUILD_DEFS+=		GAMES_USER
BUILD_DEFS+=		GAMES_GROUP
BUILD_DEFS+=		GAMEDATAMODE

MAKE_DIRS_PERMS+=	${VARBASE}/games ${GAMES_USER} ${GAMES_GROUP} ${GAMEDIRMODE}
REQD_FILES_PERMS+=	/dev/null ${VARBASE}/games/cbzone.highscores \
			${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
SPECIAL_PERMS+=		bin/cbzone.exec ${SETGID_GAMES_PERMS}

SUBST_CLASSES+=		scoredir
SUBST_STAGE.scoredir=	post-configure
SUBST_FILES.scoredir=	c_scores.c
SUBST_VARS.scoredir=	VARBASE

.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"