1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/games/tome/pkg-plist
Edwin Groothuis 9d69aa89c1 [patch] games/tome package-building is broken
The package by make package will install fine but it's not
	possible to start the game. make install runs T.o.M.Es own
	install script which changes file permissions. This is not
	done using the binary package. To fix this I have added the
	corresponding @exec directives to the pkg-plist.

	While here I added the creation of the plot directory which
	is not part of the binary package.

	While here I replaced @dirrm with @dirrmtry directives to
	make the deinstall less verbose. Problem is T.o.M.E spams
	the %%DATADIR%% so it won't deinstall cleanly. To make the
	user aware of this I added a pkg-deinstall script which
	will emit a corresponding message.

PR:		ports/125194
Submitted by:	Tobias Rehbein <tobias.rehbein@web.de>
Approved by:	Peter Thoenen <peter.thoenen@yahoo.com>
2008-07-05 02:49:58 +00:00

478 lines
13 KiB
Plaintext

bin/tome
@exec chown root:games %F
@exec chmod 2755 %F
%%DATADIR%%/apex/.cvsignore
%%DATADIR%%/apex/delete.me
%%DATADIR%%/apex/scores.raw
%%DATADIR%%/bone/bone001.012
%%DATADIR%%/bone/bone004.001
%%DATADIR%%/bone/bone004.002
%%DATADIR%%/bone/bone004.003
%%DATADIR%%/bone/bone004.004
%%DATADIR%%/bone/bone004.005
%%DATADIR%%/bone/bone004.006
%%DATADIR%%/bone/bone004.007
%%DATADIR%%/bone/bone004.008
%%DATADIR%%/bone/bone004.009
%%DATADIR%%/bone/bone004.010
%%DATADIR%%/cmov/delete.me
%%DATADIR%%/core/auto.lua
%%DATADIR%%/core/building.lua
%%DATADIR%%/core/crpt_aux.lua
%%DATADIR%%/core/dungeon.lua
%%DATADIR%%/core/gen_idx.lua
%%DATADIR%%/core/gods.lua
%%DATADIR%%/core/help.lua
%%DATADIR%%/core/init.lua
%%DATADIR%%/core/load.lua
%%DATADIR%%/core/load2.lua
%%DATADIR%%/core/mimc_aux.lua
%%DATADIR%%/core/monsters.lua
%%DATADIR%%/core/objects.lua
%%DATADIR%%/core/player.lua
%%DATADIR%%/core/powers.lua
%%DATADIR%%/core/quests.lua
%%DATADIR%%/core/s_aux.lua
%%DATADIR%%/core/stores.lua
%%DATADIR%%/core/util.lua
%%DATADIR%%/core/xml.lua
%%DATADIR%%/data/.cvsignore
%%DATADIR%%/data/delete.me
%%DATADIR%%/dngn/dun1.14
%%DATADIR%%/dngn/dun10.0
%%DATADIR%%/dngn/dun11.20
%%DATADIR%%/dngn/dun11.22
%%DATADIR%%/dngn/dun17.15
%%DATADIR%%/dngn/dun18.0
%%DATADIR%%/dngn/dun18.1
%%DATADIR%%/dngn/dun19.11
%%DATADIR%%/dngn/dun2.31
%%DATADIR%%/dngn/dun22.10
%%DATADIR%%/dngn/dun22.5
%%DATADIR%%/dngn/dun24.0
%%DATADIR%%/dngn/dun29.15
%%DATADIR%%/dngn/dun3.18
%%DATADIR%%/dngn/dun3.28
%%DATADIR%%/dngn/dun3.3
%%DATADIR%%/dngn/dun5.0
%%DATADIR%%/dngn/dun5.14
%%DATADIR%%/dngn/dun6.0
%%DATADIR%%/edit/a_info.txt
%%DATADIR%%/edit/ab_info.txt
%%DATADIR%%/edit/al_info.txt
%%DATADIR%%/edit/ba_info.txt
%%DATADIR%%/edit/between.map
%%DATADIR%%/edit/d_info.txt
%%DATADIR%%/edit/dragons.map
%%DATADIR%%/edit/e_info.txt
%%DATADIR%%/edit/evil.map
%%DATADIR%%/edit/f_info.txt
%%DATADIR%%/edit/haunted.map
%%DATADIR%%/edit/k_info.txt
%%DATADIR%%/edit/maeglin.map
%%DATADIR%%/edit/misc.txt
%%DATADIR%%/edit/nirnaeth.map
%%DATADIR%%/edit/numenor.txt
%%DATADIR%%/edit/ow_info.txt
%%DATADIR%%/edit/p_info.txt
%%DATADIR%%/edit/qrand1.map
%%DATADIR%%/edit/qrand10.map
%%DATADIR%%/edit/qrand11.map
%%DATADIR%%/edit/qrand12.map
%%DATADIR%%/edit/qrand14.map
%%DATADIR%%/edit/qrand5.map
%%DATADIR%%/edit/qrand6.map
%%DATADIR%%/edit/qrand7.map
%%DATADIR%%/edit/r_info.txt
%%DATADIR%%/edit/ra_info.txt
%%DATADIR%%/edit/re_info.txt
%%DATADIR%%/edit/readme.txt
%%DATADIR%%/edit/s_crypt.map
%%DATADIR%%/edit/s_death.map
%%DATADIR%%/edit/s_doom.map
%%DATADIR%%/edit/s_factory.map
%%DATADIR%%/edit/s_gates.map
%%DATADIR%%/edit/s_info.txt
%%DATADIR%%/edit/s_name.map
%%DATADIR%%/edit/s_orc.map
%%DATADIR%%/edit/s_ship.map
%%DATADIR%%/edit/set_info.txt
%%DATADIR%%/edit/special.txt
%%DATADIR%%/edit/spiders.map
%%DATADIR%%/edit/st_info.txt
%%DATADIR%%/edit/t_basic.txt
%%DATADIR%%/edit/t_bree.txt
%%DATADIR%%/edit/t_d_bree.txt
%%DATADIR%%/edit/t_d_gond.txt
%%DATADIR%%/edit/t_d_khaz.txt
%%DATADIR%%/edit/t_d_lori.txt
%%DATADIR%%/edit/t_d_mina.txt
%%DATADIR%%/edit/t_gondol.txt
%%DATADIR%%/edit/t_info.txt
%%DATADIR%%/edit/t_khazad.txt
%%DATADIR%%/edit/t_lorien.txt
%%DATADIR%%/edit/t_minas.txt
%%DATADIR%%/edit/t_pref.txt
%%DATADIR%%/edit/thieves.map
%%DATADIR%%/edit/thrain.map
%%DATADIR%%/edit/tr_info.txt
%%DATADIR%%/edit/trolls.map
%%DATADIR%%/edit/v_info.txt
%%DATADIR%%/edit/volcano.txt
%%DATADIR%%/edit/w_info.txt
%%DATADIR%%/edit/wf_info.txt
%%DATADIR%%/edit/wights.map
%%DATADIR%%/edit/wolves.map
%%DATADIR%%/file/book-0.txt
%%DATADIR%%/file/book-1.txt
%%DATADIR%%/file/book-10.txt
%%DATADIR%%/file/book-101.txt
%%DATADIR%%/file/book-102.txt
%%DATADIR%%/file/book-103.txt
%%DATADIR%%/file/book-104.txt
%%DATADIR%%/file/book-105.txt
%%DATADIR%%/file/book-106.txt
%%DATADIR%%/file/book-107.txt
%%DATADIR%%/file/book-11.txt
%%DATADIR%%/file/book-12.txt
%%DATADIR%%/file/book-13.txt
%%DATADIR%%/file/book-14.txt
%%DATADIR%%/file/book-15.txt
%%DATADIR%%/file/book-16.txt
%%DATADIR%%/file/book-17.txt
%%DATADIR%%/file/book-18.txt
%%DATADIR%%/file/book-19.txt
%%DATADIR%%/file/book-2.txt
%%DATADIR%%/file/book-20.txt
%%DATADIR%%/file/book-200.txt
%%DATADIR%%/file/book-201.txt
%%DATADIR%%/file/book-202.txt
%%DATADIR%%/file/book-203.txt
%%DATADIR%%/file/book-4.txt
%%DATADIR%%/file/book-6.txt
%%DATADIR%%/file/book-7.txt
%%DATADIR%%/file/book-8.txt
%%DATADIR%%/file/book-9.txt
%%DATADIR%%/file/bravado.txt
%%DATADIR%%/file/chainswd.txt
%%DATADIR%%/file/dam_huge.txt
%%DATADIR%%/file/dam_lots.txt
%%DATADIR%%/file/dam_med.txt
%%DATADIR%%/file/dam_none.txt
%%DATADIR%%/file/dam_xxx.txt
%%DATADIR%%/file/dead.txt
%%DATADIR%%/file/death.txt
%%DATADIR%%/file/elvish.txt
%%DATADIR%%/file/error.txt
%%DATADIR%%/file/mondeath.txt
%%DATADIR%%/file/monfear.txt
%%DATADIR%%/file/monspeak.txt
%%DATADIR%%/file/news.txt
%%DATADIR%%/file/news2.txt
%%DATADIR%%/file/rart_f.txt
%%DATADIR%%/file/rart_s.txt
%%DATADIR%%/file/readme!
%%DATADIR%%/file/rumors.txt
%%DATADIR%%/file/sample.txt
%%DATADIR%%/file/sfail.txt
%%DATADIR%%/file/silly.txt
%%DATADIR%%/file/smeagol.txt
%%DATADIR%%/file/smeagolr.txt
%%DATADIR%%/file/speakpet.txt
%%DATADIR%%/file/timefun.txt
%%DATADIR%%/file/timenorm.txt
%%DATADIR%%/help/TANG.txt
%%DATADIR%%/help/ability.txt
%%DATADIR%%/help/advanced.hlp
%%DATADIR%%/help/attack.txt
%%DATADIR%%/help/automat.txt
%%DATADIR%%/help/birth.txt
%%DATADIR%%/help/bldg.txt
%%DATADIR%%/help/c_alchem.txt
%%DATADIR%%/help/c_archer.txt
%%DATADIR%%/help/c_assass.txt
%%DATADIR%%/help/c_axemas.txt
%%DATADIR%%/help/c_bard.txt
%%DATADIR%%/help/c_demono.txt
%%DATADIR%%/help/c_druid.txt
%%DATADIR%%/help/c_geoman.txt
%%DATADIR%%/help/c_hafted.txt
%%DATADIR%%/help/c_lorema.txt
%%DATADIR%%/help/c_mage.txt
%%DATADIR%%/help/c_merch.txt
%%DATADIR%%/help/c_mimic.txt
%%DATADIR%%/help/c_mindcr.txt
%%DATADIR%%/help/c_monk.txt
%%DATADIR%%/help/c_necro.txt
%%DATADIR%%/help/c_palad.txt
%%DATADIR%%/help/c_polear.txt
%%DATADIR%%/help/c_posses.txt
%%DATADIR%%/help/c_pr_drk.txt
%%DATADIR%%/help/c_pr_eru.txt
%%DATADIR%%/help/c_pr_man.txt
%%DATADIR%%/help/c_priest.txt
%%DATADIR%%/help/c_ranger.txt
%%DATADIR%%/help/c_rogue.txt
%%DATADIR%%/help/c_runecr.txt
%%DATADIR%%/help/c_sorcer.txt
%%DATADIR%%/help/c_summon.txt
%%DATADIR%%/help/c_swordm.txt
%%DATADIR%%/help/c_symbia.txt
%%DATADIR%%/help/c_thaum.txt
%%DATADIR%%/help/c_unbel.txt
%%DATADIR%%/help/c_warper.txt
%%DATADIR%%/help/c_warrio.txt
%%DATADIR%%/help/command.txt
%%DATADIR%%/help/corspoil.txt
%%DATADIR%%/help/debug.txt
%%DATADIR%%/help/def.aux
%%DATADIR%%/help/defines.txt
%%DATADIR%%/help/dungeon.txt
%%DATADIR%%/help/dunspoil.txt
%%DATADIR%%/help/essences.txt
%%DATADIR%%/help/experien.hlp
%%DATADIR%%/help/explore.hlp
%%DATADIR%%/help/fatespoi.txt
%%DATADIR%%/help/foot.aux
%%DATADIR%%/help/g_eru.txt
%%DATADIR%%/help/g_manwe.txt
%%DATADIR%%/help/g_melkor.txt
%%DATADIR%%/help/g_tulkas.txt
%%DATADIR%%/help/g_yavann.txt
%%DATADIR%%/help/gambling.txt
%%DATADIR%%/help/general.txt
%%DATADIR%%/help/gods.txt
%%DATADIR%%/help/head.aux
%%DATADIR%%/help/help.hlp
%%DATADIR%%/help/index.txt
%%DATADIR%%/help/inscrip.txt
%%DATADIR%%/help/lua.hlp
%%DATADIR%%/help/lua_gf.txt
%%DATADIR%%/help/lua_intr.txt
%%DATADIR%%/help/lua_mon.txt
%%DATADIR%%/help/lua_play.txt
%%DATADIR%%/help/lua_pow.txt
%%DATADIR%%/help/lua_ques.txt
%%DATADIR%%/help/lua_skil.txt
%%DATADIR%%/help/lua_spel.txt
%%DATADIR%%/help/lua_util.txt
%%DATADIR%%/help/luckspoi.txt
%%DATADIR%%/help/m_air.txt
%%DATADIR%%/help/m_convey.txt
%%DATADIR%%/help/m_demono.txt
%%DATADIR%%/help/m_divin.txt
%%DATADIR%%/help/m_earth.txt
%%DATADIR%%/help/m_fire.txt
%%DATADIR%%/help/m_geoman.txt
%%DATADIR%%/help/m_mana.txt
%%DATADIR%%/help/m_meta.txt
%%DATADIR%%/help/m_mimic.txt
%%DATADIR%%/help/m_mind.txt
%%DATADIR%%/help/m_mindcr.txt
%%DATADIR%%/help/m_music.txt
%%DATADIR%%/help/m_nature.txt
%%DATADIR%%/help/m_necrom.txt
%%DATADIR%%/help/m_symbio.txt
%%DATADIR%%/help/m_tempo.txt
%%DATADIR%%/help/m_thaum.txt
%%DATADIR%%/help/m_udun.txt
%%DATADIR%%/help/m_water.txt
%%DATADIR%%/help/macrofaq.txt
%%DATADIR%%/help/magic.hlp
%%DATADIR%%/help/magic.txt
%%DATADIR%%/help/newbie.hlp
%%DATADIR%%/help/option.txt
%%DATADIR%%/help/r_beorn.txt
%%DATADIR%%/help/r_deathm.txt
%%DATADIR%%/help/r_drkelf.txt
%%DATADIR%%/help/r_dunad.txt
%%DATADIR%%/help/r_dwarf.txt
%%DATADIR%%/help/r_elf.txt
%%DATADIR%%/help/r_ent.txt
%%DATADIR%%/help/r_gnome.txt
%%DATADIR%%/help/r_hafelf.txt
%%DATADIR%%/help/r_hafogr.txt
%%DATADIR%%/help/r_hielf.txt
%%DATADIR%%/help/r_hobbit.txt
%%DATADIR%%/help/r_human.txt
%%DATADIR%%/help/r_kobold.txt
%%DATADIR%%/help/r_maia.txt
%%DATADIR%%/help/r_orc.txt
%%DATADIR%%/help/r_pettyd.txt
%%DATADIR%%/help/r_rohank.txt
%%DATADIR%%/help/r_thlord.txt
%%DATADIR%%/help/r_troll.txt
%%DATADIR%%/help/r_wodelf.txt
%%DATADIR%%/help/r_yeek.txt
%%DATADIR%%/help/rm_barb.txt
%%DATADIR%%/help/rm_class.txt
%%DATADIR%%/help/rm_herm.txt
%%DATADIR%%/help/rm_lsoul.txt
%%DATADIR%%/help/rm_skel.txt
%%DATADIR%%/help/rm_spec.txt
%%DATADIR%%/help/rm_vamp.txt
%%DATADIR%%/help/rm_zomb.txt
%%DATADIR%%/help/skills.txt
%%DATADIR%%/help/spoil_faq.txt
%%DATADIR%%/help/spoiler.hlp
%%DATADIR%%/help/tome_faq.txt
%%DATADIR%%/help/version.txt
%%DATADIR%%/help/whattome.txt
%%DATADIR%%/help/wishing.txt
%%DATADIR%%/info/delete.me
%%DATADIR%%/mods/.cvsignore
%%DATADIR%%/mods/mods_aux.lua
%%DATADIR%%/mods/modules.lua
%%DATADIR%%/module.lua
%%DATADIR%%/note/delete.me
%%DATADIR%%/patch/.cvsignore
%%DATADIR%%/patch/delete.me
%%DATADIR%%/pref/422color.prf
%%DATADIR%%/pref/colors.prf
%%DATADIR%%/pref/font-ami.prf
%%DATADIR%%/pref/font-dos.prf
%%DATADIR%%/pref/font-ibm.prf
%%DATADIR%%/pref/font-mac.new
%%DATADIR%%/pref/font-mac.prf
%%DATADIR%%/pref/font-win.prf
%%DATADIR%%/pref/font-x11.prf
%%DATADIR%%/pref/font-xxx.prf
%%DATADIR%%/pref/font.prf
%%DATADIR%%/pref/graf-ami.prf
%%DATADIR%%/pref/graf-dos.prf
%%DATADIR%%/pref/graf-ibm.prf
%%DATADIR%%/pref/graf-iso.prf
%%DATADIR%%/pref/graf-mac.prf
%%DATADIR%%/pref/graf-new.prf
%%DATADIR%%/pref/graf-sdl.prf
%%DATADIR%%/pref/graf-win.prf
%%DATADIR%%/pref/graf-x11.prf
%%DATADIR%%/pref/graf-xxx.prf
%%DATADIR%%/pref/graf.prf
%%DATADIR%%/pref/pref-acn.prf
%%DATADIR%%/pref/pref-ami.prf
%%DATADIR%%/pref/pref-emx.prf
%%DATADIR%%/pref/pref-gcu.prf
%%DATADIR%%/pref/pref-iso.prf
%%DATADIR%%/pref/pref-mac.prf
%%DATADIR%%/pref/pref-sdl.prf
%%DATADIR%%/pref/pref-win.prf
%%DATADIR%%/pref/pref-x11.prf
%%DATADIR%%/pref/pref.prf
%%DATADIR%%/pref/trap-iso.prf
%%DATADIR%%/pref/trap-xxx.prf
%%DATADIR%%/pref/user.prf
%%DATADIR%%/pref/xtra-gcu.prf
%%DATADIR%%/pref/xtra-new.prf
%%DATADIR%%/pref/xtra-xxx.prf
%%DATADIR%%/save/delete.me
%%DATADIR%%/scpt/.cvsignore
%%DATADIR%%/scpt/bounty.lua
%%DATADIR%%/scpt/corrupt.lua
%%DATADIR%%/scpt/drunk.lua
%%DATADIR%%/scpt/fireprof.lua
%%DATADIR%%/scpt/god.lua
%%DATADIR%%/scpt/gods.lua
%%DATADIR%%/scpt/help.lua
%%DATADIR%%/scpt/init.lua
%%DATADIR%%/scpt/intro.lua
%%DATADIR%%/scpt/joke.lua
%%DATADIR%%/scpt/library.lua
%%DATADIR%%/scpt/mimic.lua
%%DATADIR%%/scpt/mkeys.lua
%%DATADIR%%/scpt/player.lua
%%DATADIR%%/scpt/powers.lua
%%DATADIR%%/scpt/s_air.lua
%%DATADIR%%/scpt/s_convey.lua
%%DATADIR%%/scpt/s_demon.lua
%%DATADIR%%/scpt/s_divin.lua
%%DATADIR%%/scpt/s_earth.lua
%%DATADIR%%/scpt/s_eru.lua
%%DATADIR%%/scpt/s_fire.lua
%%DATADIR%%/scpt/s_geom.lua
%%DATADIR%%/scpt/s_mana.lua
%%DATADIR%%/scpt/s_manwe.lua
%%DATADIR%%/scpt/s_melkor.lua
%%DATADIR%%/scpt/s_meta.lua
%%DATADIR%%/scpt/s_mind.lua
%%DATADIR%%/scpt/s_music.lua
%%DATADIR%%/scpt/s_nature.lua
%%DATADIR%%/scpt/s_stick.lua
%%DATADIR%%/scpt/s_tempo.lua
%%DATADIR%%/scpt/s_tulkas.lua
%%DATADIR%%/scpt/s_udun.lua
%%DATADIR%%/scpt/s_water.lua
%%DATADIR%%/scpt/s_yavann.lua
%%DATADIR%%/scpt/spells.lua
%%DATADIR%%/scpt/stores.lua
%%DATADIR%%/scpt/test.lua
%%DATADIR%%/user/automat.atm
%%DATADIR%%/user/delete.me
%%DATADIR%%/xtra/ang16.bdf
%%DATADIR%%/xtra/angband.fnt
%%DATADIR%%/xtra/font/10X20.FON
%%DATADIR%%/xtra/font/12X24.FON
%%DATADIR%%/xtra/font/5X8.FON
%%DATADIR%%/xtra/font/6X10.FON
%%DATADIR%%/xtra/font/6X12.FON
%%DATADIR%%/xtra/font/6X13.FON
%%DATADIR%%/xtra/font/6X13B.FON
%%DATADIR%%/xtra/font/6X9.FON
%%DATADIR%%/xtra/font/7X13.FON
%%DATADIR%%/xtra/font/7X13B.FON
%%DATADIR%%/xtra/font/8X13.FON
%%DATADIR%%/xtra/font/8X13B.FON
%%DATADIR%%/xtra/font/9X15.FON
%%DATADIR%%/xtra/font/9X15B.FON
%%DATADIR%%/xtra/font/VeraMono.ttf
%%DATADIR%%/xtra/font/XM10X17.FNT
%%DATADIR%%/xtra/font/XM10X17B.FNT
%%DATADIR%%/xtra/font/XM12X20.FNT
%%DATADIR%%/xtra/font/XM12X20B.FNT
%%DATADIR%%/xtra/font/XM16X25.FNT
%%DATADIR%%/xtra/font/XM16X25B.FNT
%%DATADIR%%/xtra/font/XM5X8.FNT
%%DATADIR%%/xtra/font/XM6X12.FNT
%%DATADIR%%/xtra/font/XM6X12B.FNT
%%DATADIR%%/xtra/font/XM8X16B.FNT
%%DATADIR%%/xtra/font/xm4x6.fnt
%%DATADIR%%/xtra/font/xm8x13.fnt
%%DATADIR%%/xtra/font/xm8x13b.fnt
%%DATADIR%%/xtra/font/xm8x16.fnt
%%DATADIR%%/xtra/graf/16x16.bmp
%%DATADIR%%/xtra/graf/16x16.png
%%DATADIR%%/xtra/graf/8x8.bmp
%%DATADIR%%/xtra/graf/8x8.png
%%DATADIR%%/xtra/graf/mask.bmp
%%DATADIR%%/xtra/graf/tome-128.png
%%DATADIR%%/xtra/music/delete.me
%%DATADIR%%/xtra/sound/Sound.cfg
%%DATADIR%%/xtra/sound/readme.txt
@exec mkdir %D/%%DATADIR%%/plot
@exec chown -R root:games %D/%%DATADIR%%
@exec chmod -R g+w %D/%%DATADIR%%
@dirrmtry %%DATADIR%%/xtra/sound
@dirrmtry %%DATADIR%%/xtra/music
@dirrmtry %%DATADIR%%/xtra/graf
@dirrmtry %%DATADIR%%/xtra/font
@dirrmtry %%DATADIR%%/xtra
@dirrmtry %%DATADIR%%/user
@dirrmtry %%DATADIR%%/scpt
@dirrmtry %%DATADIR%%/save
@dirrmtry %%DATADIR%%/pref
@dirrmtry %%DATADIR%%/plot
@dirrmtry %%DATADIR%%/patch
@dirrmtry %%DATADIR%%/note
@dirrmtry %%DATADIR%%/mods
@dirrmtry %%DATADIR%%/info
@dirrmtry %%DATADIR%%/help
@dirrmtry %%DATADIR%%/file
@dirrmtry %%DATADIR%%/edit
@dirrmtry %%DATADIR%%/dngn
@dirrmtry %%DATADIR%%/data
@dirrmtry %%DATADIR%%/core
@dirrmtry %%DATADIR%%/cmov
@dirrmtry %%DATADIR%%/bone
@dirrmtry %%DATADIR%%/apex
@dirrmtry %%DATADIR%%