diff options
author | kris <kris@FreeBSD.org> | 2000-09-09 11:03:36 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-09-09 11:03:36 +0000 |
commit | 744786352dc2de46a1fa181782d8e416248b2ccb (patch) | |
tree | a2ec862b748aa3c887da15ca3950598a1a309a19 | |
parent | c5f336e0c40f12a3cae3c6fef534cfbb5f5ed60d (diff) | |
download | FreeBSD-ports-744786352dc2de46a1fa181782d8e416248b2ccb.zip FreeBSD-ports-744786352dc2de46a1fa181782d8e416248b2ccb.tar.gz |
Install setgid games
-rw-r--r-- | games/gno3dtet/Makefile | 6 | ||||
-rw-r--r-- | games/xbill/Makefile | 4 | ||||
-rw-r--r-- | games/xboing/Makefile | 6 | ||||
-rw-r--r-- | games/xkobo/Makefile | 5 | ||||
-rw-r--r-- | games/xkobo/pkg-plist | 2 | ||||
-rw-r--r-- | games/yahtzee/Makefile | 6 |
6 files changed, 25 insertions, 4 deletions
diff --git a/games/gno3dtet/Makefile b/games/gno3dtet/Makefile index fb0436c..7a72dc3 100644 --- a/games/gno3dtet/Makefile +++ b/games/gno3dtet/Makefile @@ -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> diff --git a/games/xbill/Makefile b/games/xbill/Makefile index 8c03bf2..f6cdded 100644 --- a/games/xbill/Makefile +++ b/games/xbill/Makefile @@ -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> diff --git a/games/xboing/Makefile b/games/xboing/Makefile index 4bc90e7..fd308e3 100644 --- a/games/xboing/Makefile +++ b/games/xboing/Makefile @@ -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> diff --git a/games/xkobo/Makefile b/games/xkobo/Makefile index fcbac62..4298633 100644 --- a/games/xkobo/Makefile +++ b/games/xkobo/Makefile @@ -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> diff --git a/games/xkobo/pkg-plist b/games/xkobo/pkg-plist index 2077bfb..2d0e955 100644 --- a/games/xkobo/pkg-plist +++ b/games/xkobo/pkg-plist @@ -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 diff --git a/games/yahtzee/Makefile b/games/yahtzee/Makefile index 26cf6e0..dbeffb2 100644 --- a/games/yahtzee/Makefile +++ b/games/yahtzee/Makefile @@ -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> |