Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / games / golddig / Makefile
blobc4b4723e68deaf4a6c58c4973b9d3f3fc8a5432b
1 # $NetBSD: Makefile,v 1.14 2010/02/01 00:01:50 joerg Exp $
4 DISTNAME= golddigC3.1
5 PKGNAME= golddig-3.1
6 PKGREVISION= 1
7 CATEGORIES= games x11
8 MASTER_SITES= http://www.NetBSD.org/~chuck/gz/
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 COMMENT= Fast action game designed for use with X
13 USE_X11BASE= yes
15 INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
16 INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} \
17 MAN=${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
19 SCORE_GROUP= ${GAMES_GROUP}
20 PKG_GROUPS= ${SCORE_GROUP}
22 SETGIDGAME= yes
24 SPECIAL_PERMS+= bin/goldgid ${SETGID_GAMES_PERMS}
26 CONF_FILES_PERMS+= /dev/null /var/games/golddig.scores \
27 ${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
29 post-build:
30 for f in ${WRKSRC}/golddig.6 ${WRKSRC}/gdedit.6; do \
31 ${SED} "s|@PREFIX@|${PREFIX}|g" $$f > $$f.new && \
32 ${MV} $$f.new $$f; \
33 done
35 .include "../../x11/libX11/buildlink3.mk"
36 .include "../../mk/bsd.pkg.mk"