aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-03-09 14:58:48 +0800
committerkris <kris@FreeBSD.org>2000-03-09 14:58:48 +0800
commita3d21ce27375cbe7817f0bbe42d1868e1ac2e52b (patch)
tree724ab78313e2e69a0d68dc8ebcc36b006c2c7f68 /games
parent5cabdfe7e823c17491800c685874511315f8274d (diff)
downloadfreebsd-ports-gnome-a3d21ce27375cbe7817f0bbe42d1868e1ac2e52b.tar.gz
freebsd-ports-gnome-a3d21ce27375cbe7817f0bbe42d1868e1ac2e52b.tar.zst
freebsd-ports-gnome-a3d21ce27375cbe7817f0bbe42d1868e1ac2e52b.zip
Install setgid games instead of setuid games
Diffstat (limited to 'games')
-rw-r--r--games/sokoban/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/sokoban/Makefile b/games/sokoban/Makefile
index 0cbe88d13979..04d9a41155cf 100644
--- a/games/sokoban/Makefile
+++ b/games/sokoban/Makefile
@@ -19,17 +19,17 @@ ALL_TARGET=
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/sokoban ${PREFIX}/bin/sokoban
- @ ${CHOWN} games:bin ${PREFIX}/bin/sokoban
- @ ${CHMOD} 4555 ${PREFIX}/bin/sokoban
+ @ ${CHOWN} root:games ${PREFIX}/bin/sokoban
+ @ ${CHMOD} 2555 ${PREFIX}/bin/sokoban
@ ${MKDIR} ${PREFIX}/share/sokoban
- @ ${CHOWN} games:bin ${PREFIX}/share/sokoban
+ @ ${CHOWN} root:games ${PREFIX}/share/sokoban
@ ${MKDIR} ${PREFIX}/share/sokoban/screens
- @ ${CHOWN} games:bin ${PREFIX}/share/sokoban/screens
+ @ ${CHOWN} root:games ${PREFIX}/share/sokoban/screens
@ ${INSTALL_DATA} ${WRKSRC}/screens/* ${PREFIX}/share/sokoban/screens
@ if [ ! -f ${PREFIX}/share/sokoban/highscore ]; then \
dd if=/dev/zero of=${PREFIX}/share/sokoban/highscore bs=1 count=2; \
fi
- @ ${CHOWN} games:bin ${PREFIX}/share/sokoban/highscore
+ @ ${CHOWN} root:games ${PREFIX}/share/sokoban/highscore
@ ${CHMOD} 0600 ${PREFIX}/share/sokoban/highscore
.include <bsd.port.mk>