diff options
-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 fb0436c696a6..7a72dc3ac81d 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 8c03bf286277..f6cdded4972d 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 4bc90e7be192..fd308e316192 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 fcbac6235d05..42986339af43 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 2077bfb83d3c..2d0e955f86b7 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 26cf6e0207ce..dbeffb2ef690 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> |