aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-04-15 01:44:58 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-04-15 01:44:58 +0800
commit3e80cf10d3cb147e487f00d8c9f08bba8b86251b (patch)
tree4f1e696053551318d91aaf6ce9e5843498cfb53a /sysutils
parent31e1765901385025afcb991d643d5f615e895c00 (diff)
downloadfreebsd-ports-gnome-3e80cf10d3cb147e487f00d8c9f08bba8b86251b.tar.gz
freebsd-ports-gnome-3e80cf10d3cb147e487f00d8c9f08bba8b86251b.tar.zst
freebsd-ports-gnome-3e80cf10d3cb147e487f00d8c9f08bba8b86251b.zip
Use @sample pkg-plist macro.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/watchfolder/pkg-plist4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysutils/watchfolder/pkg-plist b/sysutils/watchfolder/pkg-plist
index 9838504de609..a480589f5c54 100644
--- a/sysutils/watchfolder/pkg-plist
+++ b/sysutils/watchfolder/pkg-plist
@@ -1,7 +1,5 @@
bin/watchd
-@unexec if cmp -s %D/etc/watchd.conf %D/etc/watchd.conf.sample; then rm -f %D/etc/watchd.conf; fi
-etc/watchd.conf.sample
-@exec [ -f %B/watchd.conf ] || cp %B/%f %B/watchd.conf
+@sample etc/watchd.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/watchfolder.pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%