1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Install setgid games

This commit is contained in:
Kris Kennaway 2000-09-09 11:03:36 +00:00
parent 747450cc2c
commit 760254ff8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32463
6 changed files with 25 additions and 4 deletions

View File

@ -25,4 +25,10 @@ USE_GMAKE= yes
pre-configure:
@${RM} -f ${WRKSRC}/config.cache
post-install:
${CHOWN} root:games ${PREFIX}/bin/gno3dtet
${CHMOD} 2555 ${PREFIX}/bin/gno3dtet
${CHOWN} root:games ${PREFIX}/var/games/gno3dtet.hof
${CHMOD} 664 ${PREFIX}/var/games/gno3dtet.hof
.include <bsd.port.mk>

View File

@ -21,5 +21,9 @@ MAN1= xbill.1
post-install:
${CP} ${WRKSRC}/README ${PREFIX}/share/xbill
${CHOWN} root:games ${PREFIX}/bin/xbill
${CHMOD} 2755 ${PREFIX}/bin/xbill
${CHOWN} root:games ${PREFIX}/share/xbill/scores
${CHMOD} 664 ${PREFIX}/share/xbill/scores
.include <bsd.port.mk>

View File

@ -22,4 +22,10 @@ USE_XPM= yes
WRKSRC= ${WRKDIR}/xboing
MAN1= xboing.1
post-install:
${CHOWN} root:games ${PREFIX}/bin/xboing
${CHMOD} 2755 ${PREFIX}/bin/xboing
${CHOWN} root:games ${PREFIX}/lib/X11/xboing/.xboing.scr
${CHMOD} 664 ${PREFIX}/lib/X11/xboing/.xboing.scr
.include <bsd.port.mk>

View File

@ -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>

View File

@ -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

View File

@ -20,9 +20,9 @@ WRKSRC= ${WRKDIR}/yahtzee
# Distribution does not include an install target. So here it is.
#
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/yahtzee ${PREFIX}/bin/
${MKDIR} -m 0777 ${PREFIX}/lib/yahtzee/
${INSTALL_DATA} -m 0777 /dev/null ${PREFIX}/lib/yahtzee/yahtzee.sco
${INSTALL_PROGRAM} -m 2755 -o root -g games ${WRKSRC}/yahtzee ${PREFIX}/bin/
${MKDIR} -m 0755 ${PREFIX}/lib/yahtzee/
${INSTALL_DATA} -m 0664 -o root -g games /dev/null ${PREFIX}/lib/yahtzee/yahtzee.sco
.include <bsd.port.mk>