1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/games/conquest/pkg-plist
Pawel Pekala 295fd58b92 - Add staging support
- Move ownership setting, /var dir creation to pkg-plist
- Automatically install/remove sample files
- Update pkg-message info, use SUB_FILES for DOCSDIR sub
2014-04-11 12:58:55 +00:00

17 lines
696 B
Plaintext

@group conquest
bin/conquest
@unexec if cmp -s %D/etc/conquest/conqrule.sample %D/etc/conquest/conqrule ; then rm -f %D/etc/conquest/conqrule; fi
etc/conquest/conqrule.sample
@exec if [ ! -f %D/etc/conquest/conqrule ] ; then cp -p %D/%F %B/conqrule; fi
libexec/conqdriv
sbin/conqai
sbin/conqoper
sbin/conqstrat
@unexec if cmp -s %D/%%DATADIR%%/conqnews.doc.sample %D/%%DATADIR%%/conqnews.doc ; then rm -f %D/%%DATADIR%%/conqnews.doc; fi
%%DATADIR%%/conqnews.doc.sample
@exec if [ ! -f %D/%%DATADIR%%/conqnews.doc ] ; then cp -p %D/%F %B/conqnews.doc; fi
%%DATADIR%%/conquest.doc
@dirrmtry etc/conquest
@dirrmtry %%DATADIR%%
@exec install -d -o root -g conquest -m 770 /var/games/conquest || true