aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-08-17 06:25:03 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-08-17 06:25:03 +0000
commit64c614c46cb1d0e471bdcdfb30cb7c52ff078434 (patch)
tree9ea66e4d52664cf30c4509910d01a920c86d06bd /games
parent4e04ff0f8a596c70f7b90eefb8bc49c3d1332597 (diff)
downloadports-64c614c46cb1d0e471bdcdfb30cb7c52ff078434.tar.gz
ports-64c614c46cb1d0e471bdcdfb30cb7c52ff078434.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/glasteroids/Makefile5
-rw-r--r--games/gtkballs/Makefile5
2 files changed, 6 insertions, 4 deletions
diff --git a/games/glasteroids/Makefile b/games/glasteroids/Makefile
index 67345f7bbd3a..7cca6c77e7d4 100644
--- a/games/glasteroids/Makefile
+++ b/games/glasteroids/Makefile
@@ -24,13 +24,14 @@ pre-build:
@ ${CP} ${FILESDIR}/Makefile.FreeBSD ${WRKSRC}
do-install:
- @ ${INSTALL_PROGRAM} ${WRKSRC}/Glasteroids ${PREFIX}/bin/glasteroids
+ @ ${INSTALL_PROGRAM} -m 2755 -o root -g games ${WRKSRC}/Glasteroids ${PREFIX}/bin/glasteroids
@ ${MKDIR} ${PREFIX}/share/glasteroids
@ ${INSTALL_DATA} ${WRKSRC}/gameText.txf ${PREFIX}/share/glasteroids
@ cd ${WRKSRC}; tar -cf - scores.txt textures | \
( cd ${PREFIX}/share/glasteroids; tar -xf - )
@ ${CHMOD} a+rx ${PREFIX}/share/glasteroids/textures
- @ ${CHMOD} a+rw ${PREFIX}/share/glasteroids/scores.txt
+ @ ${CHMOD} g+rw,a-x ${PREFIX}/share/glasteroids/scores.txt
+ @ ${CHOWN} root:games ${PREFIX}/share/glasteroids/scores.txt
post-install:
.if !defined(NOPORTDOCS)
diff --git a/games/gtkballs/Makefile b/games/gtkballs/Makefile
index 3a6d776dbfce..ff5ff422c6c9 100644
--- a/games/gtkballs/Makefile
+++ b/games/gtkballs/Makefile
@@ -22,12 +22,13 @@ MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}"
MAN6= gtkballs.6
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gtkballs ${PREFIX}/bin
+ ${INSTALL_PROGRAM} -m 2755 -o root -g games ${WRKSRC}/gtkballs ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/gtkballs.6 ${PREFIX}/man/man6
@${MKDIR} ${PREFIX}/share/gtkballs
${INSTALL_DATA} ${WRKSRC}/gtkballs-data/*.xpm ${PREFIX}/share/gtkballs
${INSTALL_DATA} ${WRKSRC}/score ${PREFIX}/share/gtkballs/score
- @${CHMOD} a+rw ${PREFIX}/share/gtkballs/score
+ @${CHMOD} g+rw ${PREFIX}/share/gtkballs/score
+ @${CHOWN} root:games ${PREFIX}/share/gtkballs/score
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/gtkballs
.for file in README README.russian TODO