7f497ec7aa
PR: 107941 Approved by: philip
149 lines
3.9 KiB
Text
149 lines
3.9 KiB
Text
@comment $FreeBSD$
|
|
bin/%%HACKNAME%%
|
|
%%HACKDIR%%/%%HACKNAME%%
|
|
@exec mkdir %D/%%HACKDIR%%/save
|
|
@exec chmod -R 775 %D/%%HACKDIR%%
|
|
@exec chmod 2755 %D/%%HACKDIR%%/%%HACKNAME%%
|
|
@exec chown games:games %D/%%HACKDIR%%/save
|
|
%%HACKDIR%%/Arc-fila.lev
|
|
%%HACKDIR%%/Arc-filb.lev
|
|
%%HACKDIR%%/Arc-goal.lev
|
|
%%HACKDIR%%/Arc-loca.lev
|
|
%%HACKDIR%%/Arc-strt.lev
|
|
%%HACKDIR%%/Bar-fila.lev
|
|
%%HACKDIR%%/Bar-filb.lev
|
|
%%HACKDIR%%/Bar-goal.lev
|
|
%%HACKDIR%%/Bar-loca.lev
|
|
%%HACKDIR%%/Bar-strt.lev
|
|
%%HACKDIR%%/Cav-fila.lev
|
|
%%HACKDIR%%/Cav-filb.lev
|
|
%%HACKDIR%%/Cav-goal.lev
|
|
%%HACKDIR%%/Cav-loca.lev
|
|
%%HACKDIR%%/Cav-strt.lev
|
|
%%HACKDIR%%/Hea-fila.lev
|
|
%%HACKDIR%%/Hea-filb.lev
|
|
%%HACKDIR%%/Hea-goal.lev
|
|
%%HACKDIR%%/Hea-loca.lev
|
|
%%HACKDIR%%/Hea-strt.lev
|
|
%%HACKDIR%%/Kni-fila.lev
|
|
%%HACKDIR%%/Kni-filb.lev
|
|
%%HACKDIR%%/Kni-goal.lev
|
|
%%HACKDIR%%/Kni-loca.lev
|
|
%%HACKDIR%%/Kni-strt.lev
|
|
%%HACKDIR%%/Mon-fila.lev
|
|
%%HACKDIR%%/Mon-filb.lev
|
|
%%HACKDIR%%/Mon-goal.lev
|
|
%%HACKDIR%%/Mon-loca.lev
|
|
%%HACKDIR%%/Mon-strt.lev
|
|
%%HACKDIR%%/Pri-fila.lev
|
|
%%HACKDIR%%/Pri-filb.lev
|
|
%%HACKDIR%%/Pri-goal.lev
|
|
%%HACKDIR%%/Pri-loca.lev
|
|
%%HACKDIR%%/Pri-strt.lev
|
|
%%HACKDIR%%/Ran-fila.lev
|
|
%%HACKDIR%%/Ran-filb.lev
|
|
%%HACKDIR%%/Ran-goal.lev
|
|
%%HACKDIR%%/Ran-loca.lev
|
|
%%HACKDIR%%/Ran-strt.lev
|
|
%%HACKDIR%%/Rog-fila.lev
|
|
%%HACKDIR%%/Rog-filb.lev
|
|
%%HACKDIR%%/Rog-goal.lev
|
|
%%HACKDIR%%/Rog-loca.lev
|
|
%%HACKDIR%%/Rog-strt.lev
|
|
%%HACKDIR%%/Sam-fila.lev
|
|
%%HACKDIR%%/Sam-filb.lev
|
|
%%HACKDIR%%/Sam-goal.lev
|
|
%%HACKDIR%%/Sam-loca.lev
|
|
%%HACKDIR%%/Sam-strt.lev
|
|
%%HACKDIR%%/Tou-fila.lev
|
|
%%HACKDIR%%/Tou-filb.lev
|
|
%%HACKDIR%%/Tou-goal.lev
|
|
%%HACKDIR%%/Tou-loca.lev
|
|
%%HACKDIR%%/Tou-strt.lev
|
|
%%HACKDIR%%/Val-fila.lev
|
|
%%HACKDIR%%/Val-filb.lev
|
|
%%HACKDIR%%/Val-goal.lev
|
|
%%HACKDIR%%/Val-loca.lev
|
|
%%HACKDIR%%/Val-strt.lev
|
|
%%HACKDIR%%/Wiz-fila.lev
|
|
%%HACKDIR%%/Wiz-filb.lev
|
|
%%HACKDIR%%/Wiz-goal.lev
|
|
%%HACKDIR%%/Wiz-loca.lev
|
|
%%HACKDIR%%/Wiz-strt.lev
|
|
%%HACKDIR%%/air.lev
|
|
%%HACKDIR%%/asmodeus.lev
|
|
%%HACKDIR%%/astral.lev
|
|
%%HACKDIR%%/baalz.lev
|
|
%%HACKDIR%%/bigrm-1.lev
|
|
%%HACKDIR%%/bigrm-2.lev
|
|
%%HACKDIR%%/bigrm-3.lev
|
|
%%HACKDIR%%/bigrm-4.lev
|
|
%%HACKDIR%%/bigrm-5.lev
|
|
%%HACKDIR%%/castle.lev
|
|
%%HACKDIR%%/cmdhelp
|
|
%%HACKDIR%%/data
|
|
%%HACKDIR%%/dungeon
|
|
%%HACKDIR%%/earth.lev
|
|
%%HACKDIR%%/fakewiz1.lev
|
|
%%HACKDIR%%/fakewiz2.lev
|
|
%%HACKDIR%%/fire.lev
|
|
%%HACKDIR%%/help
|
|
%%HACKDIR%%/hh
|
|
%%HACKDIR%%/history
|
|
%%HACKDIR%%/juiblex.lev
|
|
%%HACKDIR%%/knox.lev
|
|
%%HACKDIR%%/license
|
|
%%HACKDIR%%/mapbg.xpm
|
|
%%HACKDIR%%/medusa-1.lev
|
|
%%HACKDIR%%/medusa-2.lev
|
|
%%HACKDIR%%/minefill.lev
|
|
%%HACKDIR%%/minend-1.lev
|
|
%%HACKDIR%%/minend-2.lev
|
|
%%HACKDIR%%/minend-3.lev
|
|
%%HACKDIR%%/minetn-1.lev
|
|
%%HACKDIR%%/minetn-2.lev
|
|
%%HACKDIR%%/minetn-3.lev
|
|
%%HACKDIR%%/minetn-4.lev
|
|
%%HACKDIR%%/minetn-5.lev
|
|
%%HACKDIR%%/minetn-6.lev
|
|
%%HACKDIR%%/minetn-7.lev
|
|
%%HACKDIR%%/opthelp
|
|
%%HACKDIR%%/options
|
|
%%HACKDIR%%/oracle.lev
|
|
%%HACKDIR%%/oracles
|
|
%%HACKDIR%%/orcus.lev
|
|
%%HACKDIR%%/pet_mark.xbm
|
|
%%HACKDIR%%/quest.dat
|
|
%%HACKDIR%%/rip.xpm
|
|
%%HACKDIR%%/recover
|
|
%%HACKDIR%%/rumors
|
|
%%HACKDIR%%/sanctum.lev
|
|
%%HACKDIR%%/soko1-1.lev
|
|
%%HACKDIR%%/soko1-2.lev
|
|
%%HACKDIR%%/soko2-1.lev
|
|
%%HACKDIR%%/soko2-2.lev
|
|
%%HACKDIR%%/soko3-1.lev
|
|
%%HACKDIR%%/soko3-2.lev
|
|
%%HACKDIR%%/soko4-1.lev
|
|
%%HACKDIR%%/soko4-2.lev
|
|
%%HACKDIR%%/tower1.lev
|
|
%%HACKDIR%%/tower2.lev
|
|
%%HACKDIR%%/tower3.lev
|
|
%%HACKDIR%%/valley.lev
|
|
%%HACKDIR%%/water.lev
|
|
%%HACKDIR%%/wizard1.lev
|
|
%%HACKDIR%%/wizard2.lev
|
|
%%HACKDIR%%/wizard3.lev
|
|
%%HACKDIR%%/wizhelp
|
|
%%HACKDIR%%/x11tiles
|
|
@mode 664
|
|
%%HACKDIR%%/perm
|
|
@mode
|
|
@unexec [ -s %D/%%HACKDIR%%/logfile ] || rm -f %D/%%HACKDIR%%/logfile
|
|
@exec touch %D/%%HACKDIR%%/logfile && chmod 664 %D/%%HACKDIR%%/logfile
|
|
@unexec [ -s %D/%%HACKDIR%%/record ] || rm -f %D/%%HACKDIR%%/record
|
|
@exec touch %D/%%HACKDIR%%/record && chmod 664 %D/%%HACKDIR%%/record
|
|
@unexec rmdir %D/%%HACKDIR%%/save >/dev/null 2>&1 || echo 'Nethack directory (%D/%%HACKDIR%%/) not removed due to existing save games. If you are permanently removing this port, you should do a ``rm -rf %D/%%HACKDIR%%``.' | fmt
|
|
@dirrmtry %%HACKDIR%%
|
|
%%PORTDOCS%%%%HACKDOCSDIR%%/Guidebook.txt
|
|
%%PORTDOCS%%@dirrm %%HACKDOCSDIR%%
|