aboutsummaryrefslogtreecommitdiffstats
path: root/games/xbat
diff options
context:
space:
mode:
authornakai <nakai@FreeBSD.org>2000-08-26 12:55:28 +0800
committernakai <nakai@FreeBSD.org>2000-08-26 12:55:28 +0800
commit8609385bd710df6f0f4fe431e1253f012c36ea40 (patch)
tree161c091c451bf02c7aaa8debb0276184f3162a3a /games/xbat
parent3fa80c52e4746aca9e0c04040ebd35b90e27093c (diff)
downloadfreebsd-ports-gnome-8609385bd710df6f0f4fe431e1253f012c36ea40.tar.gz
freebsd-ports-gnome-8609385bd710df6f0f4fe431e1253f012c36ea40.tar.zst
freebsd-ports-gnome-8609385bd710df6f0f4fe431e1253f012c36ea40.zip
Fix for world-writable.
Submitted by: Kris Kennaway <kris@FreeBSD.org>
Diffstat (limited to 'games/xbat')
-rw-r--r--games/xbat/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/xbat/Makefile b/games/xbat/Makefile
index 1f41a521953d..2fb5a48a44c1 100644
--- a/games/xbat/Makefile
+++ b/games/xbat/Makefile
@@ -19,4 +19,11 @@ USE_IMAKE= yes
WRKSRC= ${WRKDIR}/Xev111
ALL_TARGET= xbat
+post-install:
+ ${CHOWN} root:games ${PREFIX}/bin/xbat
+ ${CHMOD} 2755 ${PREFIX}/bin/xbat
+ ${CHOWN} -R root:games ${PREFIX}/lib/X11/Xbat/Score/
+ ${CHMOD} 664 ${PREFIX}/lib/X11/Xbat/Score/*
+ ${CHMOD} 755 ${PREFIX}/lib/X11/Xbat/Score/
+
.include <bsd.port.mk>