diff options
author | wiz <wiz@pkgsrc.org> | 2000-01-05 01:02:12 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-01-05 01:02:12 +0000 |
commit | 000bfb5ae9de0b261b0466e0042f7137dcc0a8f9 (patch) | |
tree | 044c5b987460ca7637f20c6c2cbb48959f4c9aa9 /games | |
parent | 46f8efb26dad6787011e1aa654cfc90efa1eb450 (diff) | |
download | pkgsrc-000bfb5ae9de0b261b0466e0042f7137dcc0a8f9.tar.gz |
Improved PLIST for binary packages (creation of high-score directories,
permissions). Made user 'games' owner of most files.
Diffstat (limited to 'games')
-rw-r--r-- | games/rocksndiamonds/Makefile | 8 | ||||
-rw-r--r-- | games/rocksndiamonds/pkg/PLIST | 32 |
2 files changed, 34 insertions, 6 deletions
diff --git a/games/rocksndiamonds/Makefile b/games/rocksndiamonds/Makefile index 8b53ced5215..32c5a844394 100644 --- a/games/rocksndiamonds/Makefile +++ b/games/rocksndiamonds/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2000/01/03 17:23:26 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2000/01/05 01:02:12 wiz Exp $ # DISTNAME= rocksndiamonds-1.4.0 @@ -14,13 +14,13 @@ USE_GMAKE= YES SCORE_PATH= /var/games/rocksndiamonds do-install: - ${INSTALL_PROGRAM} -o ${BINOWN} -g games -m 2755 \ + ${INSTALL_PROGRAM} -o games -g games -m 2755 \ ${WRKSRC}/rocksndiamonds ${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/rocksndiamonds.1 ${PREFIX}/man/man1/ ${MKDIR} ${PREFIX}/share/rocksndiamonds cd ${WRKSRC} && ${PAX} -r -w sounds graphics levels \ ${PREFIX}/share/rocksndiamonds/ - ${CHOWN} -R ${BINOWN}:games ${PREFIX}/share/rocksndiamonds + ${CHOWN} -R games:games ${PREFIX}/share/rocksndiamonds ${MKDIR} ${SCORE_PATH}/scores ${CHMOD} 755 ${SCORE_PATH} ${CHMOD} 775 ${SCORE_PATH}/scores @@ -35,6 +35,6 @@ do-install: ${MKDIR} ${SCORE_PATH}/scores/${directory} \ && ${CHMOD} 775 ${SCORE_PATH}/scores/${directory} .endfor - ${CHOWN} -R ${BINOWN}:games ${SCORE_PATH} + ${CHOWN} -R games:games ${SCORE_PATH} .include "../../mk/bsd.pkg.mk" diff --git a/games/rocksndiamonds/pkg/PLIST b/games/rocksndiamonds/pkg/PLIST index 89e87b588d0..30df80570af 100644 --- a/games/rocksndiamonds/pkg/PLIST +++ b/games/rocksndiamonds/pkg/PLIST @@ -1,6 +1,10 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2000/01/03 17:23:27 wiz Exp $ -bin/rocksndiamonds +@comment $NetBSD: PLIST,v 1.2 2000/01/05 01:02:13 wiz Exp $ man/man1/rocksndiamonds.1 +@owner games +@group games +@mode 2755 +bin/rocksndiamonds +@mode share/rocksndiamonds/graphics/RocksDC.pcx share/rocksndiamonds/graphics/RocksDoor.pcx share/rocksndiamonds/graphics/RocksFont.pcx @@ -1202,3 +1206,27 @@ share/rocksndiamonds/levels/Tutorials/rnd_tutorial/levelinfo.conf @dirrm share/rocksndiamonds/levels/Tutorials @dirrm share/rocksndiamonds/levels @dirrm share/rocksndiamonds +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/classic_boulderdash +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/classic_emerald_mine +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/classic_sokoban +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/classic_supaplex +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/rnd_tutorial +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/rnd_ben_braithwaite +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/rnd_charles_briscoe-smith +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/rnd_gerhard_haeusler +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/rnd_holger_schemel +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/rnd_jan_hubicka +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/rnd_kimball_robinson +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/rnd_kjell_kristiansson +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/rnd_martin_herrmann +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/rnd_pavel_machek +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/rnd_tobias_authmann +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/rnd_visa_hastrup +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/rnd_warwick_allison +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/rnd_stephan_beyer +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/bd_boulderdash_16 +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/bd_boulderdash_2 +@exec install -d -m 775 -o games -g games /var/games/rocksndiamonds/scores/bd_xbd +@unexec echo Delete /var/games/rocksndiamonds if you do not need your hiscores anymore. |