summaryrefslogtreecommitdiff
path: root/games/xkobo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xkobo/Makefile')
-rw-r--r--games/xkobo/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/games/xkobo/Makefile b/games/xkobo/Makefile
index 83c009204e3..0c05197debb 100644
--- a/games/xkobo/Makefile
+++ b/games/xkobo/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2007/12/02 00:02:42 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2010/02/14 22:12:59 joerg Exp $
DISTNAME= xkobo-1.11
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_XCONTRIB:=games/}
@@ -9,6 +9,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://seki.math.hokudai.ac.jp:20080/xkobo-current.html
COMMENT= Multi-way scrolling shoot 'em up game for X. Strangely addictive
+PKG_DESTDIR_SUPPORT= user-destdir
+
+SETGIDGAME= yes
+SPECIAL_PERMS+= bin/xoko ${SETGID_GAMES_PERMS}
+OWN_DIRS_PERMS+= ${VARBASE}/games/xkobo ${GAMES_USER} ${GAMES_GROUP} \
+ ${GAMEDIRMODE}
+
+MAKE_ENV+= VARBASE=${VARBASE:Q}
+
USE_IMAKE= yes
USE_LANGUAGES= c c++
BUILD_TARGET+= xkobo all