1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/games/nethack33/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

144 lines
3.5 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%%/Arc-fila.lev
%%DATADIR%%/Arc-filb.lev
%%DATADIR%%/Arc-goal.lev
%%DATADIR%%/Arc-loca.lev
%%DATADIR%%/Arc-strt.lev
%%DATADIR%%/Bar-fila.lev
%%DATADIR%%/Bar-filb.lev
%%DATADIR%%/Bar-goal.lev
%%DATADIR%%/Bar-loca.lev
%%DATADIR%%/Bar-strt.lev
%%DATADIR%%/Cav-fila.lev
%%DATADIR%%/Cav-filb.lev
%%DATADIR%%/Cav-goal.lev
%%DATADIR%%/Cav-loca.lev
%%DATADIR%%/Cav-strt.lev
%%DATADIR%%/Hea-fila.lev
%%DATADIR%%/Hea-filb.lev
%%DATADIR%%/Hea-goal.lev
%%DATADIR%%/Hea-loca.lev
%%DATADIR%%/Hea-strt.lev
%%DATADIR%%/Kni-fila.lev
%%DATADIR%%/Kni-filb.lev
%%DATADIR%%/Kni-goal.lev
%%DATADIR%%/Kni-loca.lev
%%DATADIR%%/Kni-strt.lev
%%DATADIR%%/Mon-fila.lev
%%DATADIR%%/Mon-filb.lev
%%DATADIR%%/Mon-goal.lev
%%DATADIR%%/Mon-loca.lev
%%DATADIR%%/Mon-strt.lev
%%DATADIR%%/Pri-fila.lev
%%DATADIR%%/Pri-filb.lev
%%DATADIR%%/Pri-goal.lev
%%DATADIR%%/Pri-loca.lev
%%DATADIR%%/Pri-strt.lev
%%DATADIR%%/Ran-fila.lev
%%DATADIR%%/Ran-filb.lev
%%DATADIR%%/Ran-goal.lev
%%DATADIR%%/Ran-loca.lev
%%DATADIR%%/Ran-strt.lev
%%DATADIR%%/Rog-fila.lev
%%DATADIR%%/Rog-filb.lev
%%DATADIR%%/Rog-goal.lev
%%DATADIR%%/Rog-loca.lev
%%DATADIR%%/Rog-strt.lev
%%DATADIR%%/Sam-fila.lev
%%DATADIR%%/Sam-filb.lev
%%DATADIR%%/Sam-goal.lev
%%DATADIR%%/Sam-loca.lev
%%DATADIR%%/Sam-strt.lev
%%DATADIR%%/Tou-fila.lev
%%DATADIR%%/Tou-filb.lev
%%DATADIR%%/Tou-goal.lev
%%DATADIR%%/Tou-loca.lev
%%DATADIR%%/Tou-strt.lev
%%DATADIR%%/Val-fila.lev
%%DATADIR%%/Val-filb.lev
%%DATADIR%%/Val-goal.lev
%%DATADIR%%/Val-loca.lev
%%DATADIR%%/Val-strt.lev
%%DATADIR%%/Wiz-fila.lev
%%DATADIR%%/Wiz-filb.lev
%%DATADIR%%/Wiz-goal.lev
%%DATADIR%%/Wiz-loca.lev
%%DATADIR%%/Wiz-strt.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%%/mapbg.xpm
%%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%%/pet_mark.xbm
%%DATADIR%%/quest.dat
%%DATADIR%%/recover
%%DATADIR%%/rip.xpm
%%DATADIR%%/rumors
%%DATADIR%%/sanctum.lev
%%DATADIR%%/soko1-1.lev
%%DATADIR%%/soko1-2.lev
%%DATADIR%%/soko2-1.lev
%%DATADIR%%/soko2-2.lev
%%DATADIR%%/soko3-1.lev
%%DATADIR%%/soko3-2.lev
%%DATADIR%%/soko4-1.lev
%%DATADIR%%/soko4-2.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
%%DATADIR%%/x11tiles
@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%%