diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-09-09 11:03:36 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-09-09 11:03:36 +0000 |
commit | 760254ff8ceb1bbf97c204004b415e4339d6d16e (patch) | |
tree | 31b72b729ece734b102692144935316eb73da7d8 /games/xkobo | |
parent | Correctly remove directories on deinstall (diff) |
Install setgid games
Notes
Notes:
svn path=/head/; revision=32463
Diffstat (limited to 'games/xkobo')
-rw-r--r-- | games/xkobo/Makefile | 5 | ||||
-rw-r--r-- | games/xkobo/pkg-plist | 2 |
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 |