1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/audio/xmp/pkg-plist
Emanuel Haupt 56435ea646 - Work around a case where .if !exists(${ETCDIR}/${f}) fails
- Consistent usage of %%ETCDIR%%
2013-02-16 14:21:33 +00:00

9 lines
425 B
Plaintext

@unexec if cmp -s %D/%%ETCDIR%%/xmp.conf %D/%%ETCDIR%%/xmp.conf.sample; then rm -f %D/%%ETCDIR%%/xmp.conf; fi
%%ETCDIR%%/xmp.conf.sample
@exec [ -f %B/xmp.conf ] || cp %B/%f %B/xmp.conf
bin/xmp
@unexec if cmp -s %D/%%ETCDIR%%/modules.conf %D/%%ETCDIR%%/modules.conf.sample; then rm -f %D/%%ETCDIR%%/modules.conf; fi
%%ETCDIR%%/modules.conf.sample
@exec [ -f %B/modules.conf ] || cp %B/%f %B/modules.conf
@dirrmtry %%ETCDIR%%