mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
56435ea646
- Consistent usage of %%ETCDIR%%
9 lines
425 B
Plaintext
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%%
|