blob: 28b79ec92166388095d583fc128ffed2f5a53464 (
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
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.14 2010/02/01 00:01:50 joerg Exp $
#
DISTNAME= golddigC3.1
PKGNAME= golddig-3.1
PKGREVISION= 1
CATEGORIES= games x11
MASTER_SITES= http://www.NetBSD.org/~chuck/gz/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Fast action game designed for use with X
PKG_DESTDIR_SUPPORT= user-destdir
USE_X11BASE= yes
INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} \
MAN=${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
SCORE_GROUP= ${GAMES_GROUP}
PKG_GROUPS= ${SCORE_GROUP}
SETGIDGAME= yes
SPECIAL_PERMS+= bin/goldgid ${SETGID_GAMES_PERMS}
CONF_FILES_PERMS+= /dev/null /var/games/golddig.scores \
${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
post-build:
for f in ${WRKSRC}/golddig.6 ${WRKSRC}/gdedit.6; do \
${SED} "s|@PREFIX@|${PREFIX}|g" $$f > $$f.new && \
${MV} $$f.new $$f; \
done
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|