aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-09-25 06:57:57 +0800
committerbapt <bapt@FreeBSD.org>2015-09-25 06:57:57 +0800
commitcb148447fafa0cc47eed768a69b7e298ea853adf (patch)
tree7a7be971915f08b1b587c37fb2e6d2fcc068a869
parentda72b53ce3e95e2bec032942ed0d3cc4a8194143 (diff)
downloadfreebsd-ports-gnome-cb148447fafa0cc47eed768a69b7e298ea853adf.tar.gz
freebsd-ports-gnome-cb148447fafa0cc47eed768a69b7e298ea853adf.tar.zst
freebsd-ports-gnome-cb148447fafa0cc47eed768a69b7e298ea853adf.zip
Convert to @sample
-rw-r--r--games/xfireworks/pkg-plist4
-rw-r--r--mail/qmhandle/pkg-plist4
-rw-r--r--mail/sgwi/pkg-plist12
-rw-r--r--misc/dphys-config/pkg-plist4
4 files changed, 6 insertions, 18 deletions
diff --git a/games/xfireworks/pkg-plist b/games/xfireworks/pkg-plist
index 365e9e9717c0..eea5397d79ee 100644
--- a/games/xfireworks/pkg-plist
+++ b/games/xfireworks/pkg-plist
@@ -1,5 +1,3 @@
bin/xfireworks
man/man1/xfireworks.1.gz
-@unexec if cmp -s %D/etc/xfireworks.conf %D/etc/xfireworks.conf.sample; then rm -f %D/etc/xfireworks.conf; fi
-etc/xfireworks.conf.sample
-@exec test -f %B/xfireworks.conf || cp %B/%f %B/xfireworks.conf
+@sample etc/xfireworks.conf.sample
diff --git a/mail/qmhandle/pkg-plist b/mail/qmhandle/pkg-plist
index b4af8947dccb..e72ef90b5225 100644
--- a/mail/qmhandle/pkg-plist
+++ b/mail/qmhandle/pkg-plist
@@ -1,4 +1,2 @@
bin/qmHandle
-@unexec if cmp -s %D/etc/qmHandle.conf %D/etc/qmHandle.conf.sample; then rm -f %D/etc/qmHandle.conf; fi
-etc/qmHandle.conf.sample
-@exec [ -f %B/qmHandle.conf ] || cp %B/%f %B/qmHandle.conf
+@sample etc/qmHandle.conf.sample
diff --git a/mail/sgwi/pkg-plist b/mail/sgwi/pkg-plist
index 208099623bf8..289367da9707 100644
--- a/mail/sgwi/pkg-plist
+++ b/mail/sgwi/pkg-plist
@@ -1,16 +1,10 @@
-@unexec if cmp -s %D/www/sgwi/.htaccess %D/www/sgwi/.htaccess.sample; then rm -f %D/www/sgwi/.htaccess; fi
-www/sgwi/.htaccess.sample
-@exec [ -f %B/.htaccess ] || cp %B/%f %B/.htaccess
-@unexec if cmp -s %D/www/sgwi/.htpasswd %D/www/sgwi/.htpasswd.sample; then rm -f %D/www/sgwi/.htpasswd; fi
-www/sgwi/.htpasswd.sample
-@exec [ -f %B/.htpasswd ] || cp %B/%f %B/.htpasswd
+@sample www/sgwi/.htaccess.sample
+@sample www/sgwi/.htpasswd.sample
www/sgwi/awl.php
www/sgwi/connect.php
www/sgwi/includes/awl.inc.php
@exec [ -f %D/www/sgwi/config.inc.php ] && mv -f %D/www/sgwi/config.inc.php %D/www/sgwi/includes/config.inc.php
-@unexec if cmp -s %D/www/sgwi/includes/config.inc.php %D/www/sgwi/includes/config.inc.php.sample; then rm -f %D/www/sgwi/includes/config.inc.php; fi
-www/sgwi/includes/config.inc.php.sample
-@exec [ -f %B/config.inc.php ] || cp %B/%f %B/config.inc.php
+@sample www/sgwi/includes/config.inc.php.sample
www/sgwi/includes/connect.inc.php
www/sgwi/includes/copyright.inc.php
www/sgwi/includes/functions.inc.php
diff --git a/misc/dphys-config/pkg-plist b/misc/dphys-config/pkg-plist
index 1ae2e97ead60..8f1530708613 100644
--- a/misc/dphys-config/pkg-plist
+++ b/misc/dphys-config/pkg-plist
@@ -1,7 +1,5 @@
bin/dphys-config
-@unexec if cmp -s %D/etc/dphys-config %D/etc/dphys-config.sample; then rm -f %D/etc/dphys-config; fi
-etc/dphys-config.sample
-@exec [ -f %B/dphys-config ] || cp %B/%f %B/dphys-config
+@sample etc/dphys-config.sample
man/man1/dphys-config.1.gz
%%EXAMPLESDIR%%/cron.d.example
%%EXAMPLESDIR%%/dphys-config.example