blob: 61fd10c49dc70d0556522d9095665ee0c237bdc5 (
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
|
# $NetBSD: Makefile,v 1.18 2010/06/25 22:38:40 joerg Exp $
#
DISTNAME= tanked-0.90
PKGREVISION= 3
CATEGORIES= games x11
MASTER_SITES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://ogresoft.dyn.ml.org/tanked.html
COMMENT= Multiplayer internet tank game for X11
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
USE_TOOLS= imake
SETGIDGAME= yes
INSTALLATION_DIRS+= bin
SPECIAL_PERMS= bin/tanked ${SETGID_GAMES_PERMS}
.for dir in maps logs
OWN_DIRS_PERMS+= share/tanked/${dir} \
${GAMES_USER} ${GAMES_GROUP} ${GAMEDIRMODE}
.endfor
post-patch:
@${TOUCH} ${WRKSRC}/client/tanked.man
@${MV} ${WRKSRC}/server/maps.list ${WRKSRC}/server/maps.list.bak
@${SED} -e 's@XXX@${PREFIX}/share/tanked/@' \
< ${WRKSRC}/server/maps.list.bak > ${WRKSRC}/server/maps.list
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|