diff options
author | mat <mat@FreeBSD.org> | 2014-04-13 03:23:10 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2014-04-13 03:23:10 +0800 |
commit | 7455a2d6656576e9aeb866995560127c72520c92 (patch) | |
tree | 56002410251e11e3489a42ca881f39c68af4e812 /dns/bind910 | |
parent | b47ed85f3cca0e578d1693b6337afded6d3c50ba (diff) | |
download | freebsd-ports-gnome-7455a2d6656576e9aeb866995560127c72520c92.tar.gz freebsd-ports-gnome-7455a2d6656576e9aeb866995560127c72520c92.tar.zst freebsd-ports-gnome-7455a2d6656576e9aeb866995560127c72520c92.zip |
Use @sample for my port, cleanup an etc/PORTNAME into ETCDIR.
Sponsored by: Absolight
Diffstat (limited to 'dns/bind910')
-rw-r--r-- | dns/bind910/pkg-plist | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/dns/bind910/pkg-plist b/dns/bind910/pkg-plist index ad6018aacff5..00f92bfa90c4 100644 --- a/dns/bind910/pkg-plist +++ b/dns/bind910/pkg-plist @@ -403,12 +403,8 @@ sbin/rndc sbin/rndc-confgen sbin/tsig-keygen %%BASE%%@unexec rm -f %%BIND_DESTETC%%/rndc.conf.sample -%%NOBASE%%@unexec if cmp -s %D/%%ETCDIR%%/rndc.conf.sample %D/%%ETCDIR%%/rndc.conf; then rm -f %D/%%ETCDIR%%/rndc.conf; fi -%%NOBASE%%%%ETCDIR%%/rndc.conf.sample -%%NOBASE%%@exec if [ ! -f %D/%%ETCDIR%%/rndc.conf ] ; then cp -p %D/%F %B/rndc.conf; fi -%%NOBASE%%@unexec if cmp -s %D/%%ETCDIR%%/named.conf.sample %D/%%ETCDIR%%/named.conf; then rm -f %D/%%ETCDIR%%/named.conf; fi -%%NOBASE%%%%ETCDIR%%/named.conf.sample -%%NOBASE%%@exec if [ ! -f %D/%%ETCDIR%%/named.conf ] ; then cp -p %D/%F %B/named.conf; fi +%%NOBASE%%@sample %%ETCDIR%%/rndc.conf.sample +%%NOBASE%%@sample %%ETCDIR%%/named.conf.sample %%NOBASE%%%%ETCDIR%%/named.root %%NOBASE%%%%ETCDIR%%/master/empty.db %%NOBASE%%%%ETCDIR%%/master/localhost-forward.db |