aboutsummaryrefslogtreecommitdiff
path: root/games/xkobo
diff options
context:
space:
mode:
Diffstat (limited to 'games/xkobo')
-rw-r--r--games/xkobo/Makefile5
-rw-r--r--games/xkobo/pkg-plist2
2 files changed, 6 insertions, 1 deletions
diff --git a/games/xkobo/Makefile b/games/xkobo/Makefile
index fcbac6235d05..42986339af43 100644
--- a/games/xkobo/Makefile
+++ b/games/xkobo/Makefile
@@ -18,4 +18,9 @@ USE_IMAKE= yes
ALL_TARGET= xkobo
MAN1= xkobo.1
+post-install:
+ ${CHMOD} u-s,g+s ${PREFIX}/bin/xkobo
+ ${CHOWN} root:games ${PREFIX}/bin/xkobo
+ ${CHMOD} 775 ${PREFIX}/lib/X11/xkobo-scores
+
.include <bsd.port.mk>
diff --git a/games/xkobo/pkg-plist b/games/xkobo/pkg-plist
index 2077bfb83d3c..2d0e955f86b7 100644
--- a/games/xkobo/pkg-plist
+++ b/games/xkobo/pkg-plist
@@ -1,3 +1,3 @@
bin/xkobo
-@exec mkdir -p %D/lib/X11/xkobo-scores && chmod 755 %D/lib/X11/xkobo-scores; chown games %D/lib/X11/xkobo-scores
+@exec mkdir -p %D/lib/X11/xkobo-scores && chmod 775 %D/lib/X11/xkobo-scores; chmod u-s,g+s %D/bin/xkobo; chown root:games %D/lib/X11/xkobo-scores
@unexec rm -rf %D/lib/X11/xkobo-scores