summaryrefslogtreecommitdiff
path: root/games/svb/Makefile
blob: 08af2ce916936d3403915beec4b3d1e6152a8986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.18 2018/01/14 15:26:48 rillig Exp $

DISTNAME=		svb
PKGNAME=		svb-1.0
PKGREVISION=		2
CATEGORIES=		games x11
MASTER_SITES=		http://ring.nict.go.jp/archives/X/opengroup/R5contrib/
EXTRACT_SUFX=		.shar.Z

MAINTAINER=		pkgsrc-users@NetBSD.org
COMMENT=		Spy Vs. Bob, the timeless classic

WRKSRC=			${WRKDIR}
USE_IMAKE=		yes
NO_INSTALL_MANPAGES=	yes
INSTALLATION_DIRS=	bin ${PKGMANDIR}/man6

MAKE_ENV+=	VARBASE=${VARBASE}

SETGIDGAME=	yes

SPECIAL_PERMS+=	bin/svb ${SETGID_GAMES_PERMS}

CONF_FILES_PERMS+=	/dev/null ${VARBASE}/games/svb.scorefile \
			${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}

post-install:
	${INSTALL_MAN} ${WRKSRC}/svb.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/svb.6

.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"