From 2e9360f7fca37ab95bec045cf927c44340568e60 Mon Sep 17 00:00:00 2001 From: rillig Date: Mon, 3 Jul 2006 05:15:49 +0000 Subject: Fixed permissions for the game directories, since in unprivileged mode, they ended without the execute bits set. In 2004, some variables have been introduced to pkgsrc that fit exactly this purpose. Bumped PKGREVISION. --- games/angband-tty/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'games/angband-tty') diff --git a/games/angband-tty/Makefile b/games/angband-tty/Makefile index 4efa5f7a423..1fd07de7339 100644 --- a/games/angband-tty/Makefile +++ b/games/angband-tty/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.26 2005/06/16 06:57:52 jlam Exp $ +# $NetBSD: Makefile,v 1.27 2006/07/03 05:15:49 rillig Exp $ # DISTNAME= angband-283 PKGNAME= angband-tty-2.8.3 +PKGREVISION= 1 CATEGORIES= games MASTER_SITES= ftp://export.andrew.cmu.edu/angband/Source/ \ ftp://ftp.greyhelm.com/pub/Games/Angband/Angband-2.7.x/Source/ @@ -29,12 +30,12 @@ INSTALLATION_DIRS= bin do-install: ${INSTALL} -d -o bin -g games -m 0775 ${PREFIX}/share/angband - ${CP} -R ${WRKDIR}/${DISTNAME}/lib/* ${PREFIX}/share/angband + cd ${WRKDIR}/${DISTNAME}/lib && ${PAX} -wr * ${PREFIX}/share/angband cd ${PREFIX}/share/angband/help && \ ${PAX} -O -zrf ${DISTDIR}/${SPOILERFILE} - ${CHOWN} -R bin:games ${PREFIX}/share/angband - ${CHMOD} -R 0664 ${PREFIX}/share/angband/* - cd ${PREFIX}/share/angband && ${CHMOD} 0775 apex bone data edit file help info save user xtra - ${INSTALL} -c -s -o bin -g games -m 2755 ${WRKSRC}/angband ${PREFIX}/bin + ${CHOWN} -R ${GAMEOWN}:${GAMEGRP} ${PREFIX}/share/angband + cd ${PREFIX}/share/angband && ${CHMOD} ${GAMEDATAMODE} */* + cd ${PREFIX}/share/angband && ${CHMOD} ${GAMEDIRMODE} apex bone data edit file help info save user xtra + ${INSTALL_GAME} ${WRKSRC}/angband ${PREFIX}/bin .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3