summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/xdigger/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/xdigger/Makefile b/games/xdigger/Makefile
index 2fdedd9..70b5def 100644
--- a/games/xdigger/Makefile
+++ b/games/xdigger/Makefile
@@ -22,13 +22,14 @@ post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/configure.h
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xdigger ${PREFIX}/bin
+ ${INSTALL_PROGRAM} -m 2755 -o root -g games ${WRKSRC}/xdigger ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/xdigger.man ${PREFIX}/man/man6/xdigger.6
@${MKDIR} ${PREFIX}/share/xdigger
${INSTALL_DATA} ${WRKSRC}/xdigger.level ${PREFIX}/share/xdigger
${INSTALL_DATA} ${WRKSRC}/audio/*.au ${PREFIX}/share/xdigger
@${TOUCH} ${PREFIX}/share/xdigger/xdigger.hiscore
- @${CHMOD} a+rw ${PREFIX}/share/xdigger/xdigger.hiscore
+ @${CHMOD} 664 ${PREFIX}/share/xdigger/xdigger.hiscore
+ @${CHOWN} root:games ${PREFIX}/share/xdigger/xdigger.hiscore
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/xdigger
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/xdigger
OpenPOWER on IntegriCloud