summaryrefslogtreecommitdiffstats
path: root/games/xkobo
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-09-09 11:03:36 +0000
committerkris <kris@FreeBSD.org>2000-09-09 11:03:36 +0000
commit744786352dc2de46a1fa181782d8e416248b2ccb (patch)
treea2ec862b748aa3c887da15ca3950598a1a309a19 /games/xkobo
parentc5f336e0c40f12a3cae3c6fef534cfbb5f5ed60d (diff)
downloadFreeBSD-ports-744786352dc2de46a1fa181782d8e416248b2ccb.zip
FreeBSD-ports-744786352dc2de46a1fa181782d8e416248b2ccb.tar.gz
Install setgid games
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 fcbac62..4298633 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 2077bfb..2d0e955 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
OpenPOWER on IntegriCloud