From 760254ff8ceb1bbf97c204004b415e4339d6d16e Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sat, 9 Sep 2000 11:03:36 +0000 Subject: Install setgid games --- games/xkobo/Makefile | 5 +++++ games/xkobo/pkg-plist | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'games/xkobo') 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 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 -- cgit v1.2.3