diff options
author | bapt <bapt@FreeBSD.org> | 2015-09-25 07:03:44 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-09-25 07:03:44 +0800 |
commit | 5cf19ee70c93ba942fc79a91430db60ce50a886f (patch) | |
tree | bfd844cfbc5620fea6ef12db66970b881e817d8e /net | |
parent | cb148447fafa0cc47eed768a69b7e298ea853adf (diff) | |
download | freebsd-ports-gnome-5cf19ee70c93ba942fc79a91430db60ce50a886f.tar.gz freebsd-ports-gnome-5cf19ee70c93ba942fc79a91430db60ce50a886f.tar.zst freebsd-ports-gnome-5cf19ee70c93ba942fc79a91430db60ce50a886f.zip |
Convert to @sample
Diffstat (limited to 'net')
-rw-r--r-- | net/hsflowd/pkg-plist | 4 | ||||
-rw-r--r-- | net/nss_ldap/pkg-plist | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/net/hsflowd/pkg-plist b/net/hsflowd/pkg-plist index ea91f25937e8..fd9f4fad6e4f 100644 --- a/net/hsflowd/pkg-plist +++ b/net/hsflowd/pkg-plist @@ -1,5 +1,3 @@ -@unexec if cmp -s %D/%%ETCDIR%%/hsflowd.conf %D/%%ETCDIR%%/hsflowd.conf.sample; then rm -f %D/%%ETCDIR%%/hsflowd.conf; fi -%%ETCDIR%%/hsflowd.conf.sample -@exec if [ ! -f %D/%%ETCDIR%%/hsflowd.conf ]; then cp -p %D/%F %B/hsflowd.conf; fi +@sample %%ETCDIR%%/hsflowd.conf.sample sbin/hsflowd @unexec if [ -d %%ETCDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf %%ETCDIR%%`` to remove any configuration files."; fi diff --git a/net/nss_ldap/pkg-plist b/net/nss_ldap/pkg-plist index 3da0ec815f7c..1ba99561fa22 100644 --- a/net/nss_ldap/pkg-plist +++ b/net/nss_ldap/pkg-plist @@ -1,5 +1,3 @@ lib/nss_ldap.so.1 -@unexec if cmp -s %D/etc/nss_ldap.conf %D/etc/nss_ldap.conf.sample; then rm -f %D/etc/nss_ldap.conf; fi -etc/nss_ldap.conf.sample -@exec if [ ! -f %D/etc/nss_ldap.conf ]; then cp %B/%f %D/etc/nss_ldap.conf; fi +@sample etc/nss_ldap.conf.sample man/man5/nss_ldap.5.gz |