aboutsummaryrefslogtreecommitdiff
path: root/games/xkobo
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-09-09 11:03:36 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-09-09 11:03:36 +0000
commit760254ff8ceb1bbf97c204004b415e4339d6d16e (patch)
tree31b72b729ece734b102692144935316eb73da7d8 /games/xkobo
parent747450cc2c8450e77a7605012b684b0b8dc8fb9b (diff)
downloadports-760254ff8ceb1bbf97c204004b415e4339d6d16e.tar.gz
ports-760254ff8ceb1bbf97c204004b415e4339d6d16e.zip
Notes
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