1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/games/nethack32/pkg-plist
Edwin Groothuis 0416031c9b Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 02:20:05 +00:00

130 lines
3.2 KiB
Plaintext

%%HACKLINK%%bin/nethack
bin/%%HACKNAME%%
%%DATADIR%%/%%HACKNAME%%
@exec mkdir %D/%%DATADIR%%/save
@exec chmod -R 775 %D/%%DATADIR%%
@exec chmod 2755 %D/%%DATADIR%%/%%HACKNAME%%
@exec chown games:games %D/%%DATADIR%%/save
@dirrmtry %%DATADIR%%/save
%%PORTDOCS%%%%DOCSDIR%%/Guidebook.txt
%%DATADIR%%/pet_mark.xbm
%%DATADIR%%/rip.xpm
%%DATADIR%%/x11tiles
%%DATADIR%%/A-filla.lev
%%DATADIR%%/A-fillb.lev
%%DATADIR%%/A-goal.lev
%%DATADIR%%/A-locate.lev
%%DATADIR%%/A-start.lev
%%DATADIR%%/B-filla.lev
%%DATADIR%%/B-fillb.lev
%%DATADIR%%/B-goal.lev
%%DATADIR%%/B-locate.lev
%%DATADIR%%/B-start.lev
%%DATADIR%%/C-filla.lev
%%DATADIR%%/C-fillb.lev
%%DATADIR%%/C-goal.lev
%%DATADIR%%/C-locate.lev
%%DATADIR%%/C-start.lev
%%DATADIR%%/E-filla.lev
%%DATADIR%%/E-fillb.lev
%%DATADIR%%/E-goal.lev
%%DATADIR%%/E-locate.lev
%%DATADIR%%/E-start.lev
%%DATADIR%%/H-filla.lev
%%DATADIR%%/H-fillb.lev
%%DATADIR%%/H-goal.lev
%%DATADIR%%/H-locate.lev
%%DATADIR%%/H-start.lev
%%DATADIR%%/K-filla.lev
%%DATADIR%%/K-fillb.lev
%%DATADIR%%/K-goal.lev
%%DATADIR%%/K-locate.lev
%%DATADIR%%/K-start.lev
%%DATADIR%%/P-filla.lev
%%DATADIR%%/P-fillb.lev
%%DATADIR%%/P-goal.lev
%%DATADIR%%/P-locate.lev
%%DATADIR%%/P-start.lev
%%DATADIR%%/R-filla.lev
%%DATADIR%%/R-fillb.lev
%%DATADIR%%/R-goal.lev
%%DATADIR%%/R-locate.lev
%%DATADIR%%/R-start.lev
%%DATADIR%%/S-filla.lev
%%DATADIR%%/S-fillb.lev
%%DATADIR%%/S-goal.lev
%%DATADIR%%/S-locate.lev
%%DATADIR%%/S-start.lev
%%DATADIR%%/T-filla.lev
%%DATADIR%%/T-fillb.lev
%%DATADIR%%/T-goal.lev
%%DATADIR%%/T-locate.lev
%%DATADIR%%/T-start.lev
%%DATADIR%%/V-filla.lev
%%DATADIR%%/V-fillb.lev
%%DATADIR%%/V-goal.lev
%%DATADIR%%/V-locate.lev
%%DATADIR%%/V-start.lev
%%DATADIR%%/W-filla.lev
%%DATADIR%%/W-fillb.lev
%%DATADIR%%/W-goal.lev
%%DATADIR%%/W-locate.lev
%%DATADIR%%/W-start.lev
%%DATADIR%%/air.lev
%%DATADIR%%/asmodeus.lev
%%DATADIR%%/astral.lev
%%DATADIR%%/baalz.lev
%%DATADIR%%/bigrm-1.lev
%%DATADIR%%/bigrm-2.lev
%%DATADIR%%/bigrm-3.lev
%%DATADIR%%/bigrm-4.lev
%%DATADIR%%/bigrm-5.lev
%%DATADIR%%/castle.lev
%%DATADIR%%/cmdhelp
%%DATADIR%%/data
%%DATADIR%%/dungeon
%%DATADIR%%/earth.lev
%%DATADIR%%/fakewiz1.lev
%%DATADIR%%/fakewiz2.lev
%%DATADIR%%/fire.lev
%%DATADIR%%/help
%%DATADIR%%/hh
%%DATADIR%%/history
%%DATADIR%%/juiblex.lev
%%DATADIR%%/knox.lev
%%DATADIR%%/license
%%DATADIR%%/medusa-1.lev
%%DATADIR%%/medusa-2.lev
%%DATADIR%%/minefill.lev
%%DATADIR%%/minend-1.lev
%%DATADIR%%/minend-2.lev
%%DATADIR%%/minetn-1.lev
%%DATADIR%%/minetn-2.lev
%%DATADIR%%/opthelp
%%DATADIR%%/options
%%DATADIR%%/oracle.lev
%%DATADIR%%/oracles
%%DATADIR%%/orcus.lev
%%DATADIR%%/quest.dat
%%DATADIR%%/recover
%%DATADIR%%/rumors
%%DATADIR%%/sanctum.lev
%%DATADIR%%/tower1.lev
%%DATADIR%%/tower2.lev
%%DATADIR%%/tower3.lev
%%DATADIR%%/valley.lev
%%DATADIR%%/water.lev
%%DATADIR%%/wizard1.lev
%%DATADIR%%/wizard2.lev
%%DATADIR%%/wizard3.lev
%%DATADIR%%/wizhelp
@mode 664
%%DATADIR%%/perm
@mode
@unexec [ -s %D/%%DATADIR%%/logfile ] || rm -f %D/%%DATADIR%%/logfile
@exec touch %D/%%DATADIR%%/logfile && chmod 664 %D/%%DATADIR%%/logfile
@unexec [ -s %D/%%DATADIR%%/record ] || rm -f %D/%%DATADIR%%/record
@exec touch %D/%%DATADIR%%/record && chmod 664 %D/%%DATADIR%%/record
@dirrmtry %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%