aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-04-10 17:41:20 +0800
committerbapt <bapt@FreeBSD.org>2016-04-10 17:41:20 +0800
commite6f6de9eda32357c9abf6b7451d6e570ec471dc5 (patch)
treeddd48c8dd0547513d274e8520fa0d565ab5646c3 /sysutils
parentf68b16d446bedbae5041b2bf2fbafd363d96a511 (diff)
downloadfreebsd-ports-gnome-e6f6de9eda32357c9abf6b7451d6e570ec471dc5.tar.gz
freebsd-ports-gnome-e6f6de9eda32357c9abf6b7451d6e570ec471dc5.tar.zst
freebsd-ports-gnome-e6f6de9eda32357c9abf6b7451d6e570ec471dc5.zip
Convert to @sample
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/logstash-forwarder/pkg-plist4
-rw-r--r--sysutils/screen-legacy/pkg-plist4
-rw-r--r--sysutils/wemux/pkg-plist4
3 files changed, 3 insertions, 9 deletions
diff --git a/sysutils/logstash-forwarder/pkg-plist b/sysutils/logstash-forwarder/pkg-plist
index e5cf0f38196e..de7e17ddb1f8 100644
--- a/sysutils/logstash-forwarder/pkg-plist
+++ b/sysutils/logstash-forwarder/pkg-plist
@@ -1,4 +1,2 @@
bin/logstash-forwarder
-@unexec if cmp -s %D/etc/logstash-forwarder.conf.example %D/etc/logstash-forwarder.conf; then rm -f %D/etc/logstash-forwarder.conf; fi
-etc/logstash-forwarder.conf.example
-@exec if [ ! -f %D/etc/logstash-forwarder.conf ] ; then cp -p %D/%F %B/logstash-forwarder.conf; fi
+@sample etc/logstash-forwarder.conf.example etc/logstash-forwarder.conf
diff --git a/sysutils/screen-legacy/pkg-plist b/sysutils/screen-legacy/pkg-plist
index 4a17ddf537d8..4e3bf9157b49 100644
--- a/sysutils/screen-legacy/pkg-plist
+++ b/sysutils/screen-legacy/pkg-plist
@@ -1,8 +1,6 @@
bin/screen
%%MAN%%man/man1/screen.1.gz
-@unexec if cmp -s %D/etc/screenrc %D/%%EXAMPLESDIR%%/screenrc; then rm -f %D/etc/screenrc; else echo If permanently deleting this package, %%PREFIX%%/etc/screenrc must be removed manually; fi
-%%EXAMPLESDIR%%/screenrc
-@exec [ -f %D/etc/screenrc ] || cp %B/%f %D/etc/screenrc
+@sample %%EXAMPLESDIR%%/screenrc etc/screenrc
%%DATADIR%%/utf8encodings/01
%%DATADIR%%/utf8encodings/02
%%DATADIR%%/utf8encodings/03
diff --git a/sysutils/wemux/pkg-plist b/sysutils/wemux/pkg-plist
index 3d8cb897320d..b904ba0d165e 100644
--- a/sysutils/wemux/pkg-plist
+++ b/sysutils/wemux/pkg-plist
@@ -1,4 +1,2 @@
bin/wemux
-@unexec if cmp -s %D/etc/wemux.conf %D/etc/wemux.conf.example ; then rm -f %D/etc/wemux.conf ; fi
-etc/wemux.conf.example
-@exec if [ ! -f %D/etc/wemux.conf ]; then cp -p %D/%F %B/wemux.conf; fi
+@sample etc/wemux.conf.example etc/wemux.conf