Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2015 22:57:57 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397785 - in head: games/xfireworks mail/qmhandle mail/sgwi misc/dphys-config
Message-ID:  <201509242257.t8OMvvMi088362@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Sep 24 22:57:57 2015
New Revision: 397785
URL: https://svnweb.freebsd.org/changeset/ports/397785

Log:
  Convert to @sample

Modified:
  head/games/xfireworks/pkg-plist
  head/mail/qmhandle/pkg-plist
  head/mail/sgwi/pkg-plist
  head/misc/dphys-config/pkg-plist

Modified: head/games/xfireworks/pkg-plist
==============================================================================
--- head/games/xfireworks/pkg-plist	Thu Sep 24 22:52:00 2015	(r397784)
+++ head/games/xfireworks/pkg-plist	Thu Sep 24 22:57:57 2015	(r397785)
@@ -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

Modified: head/mail/qmhandle/pkg-plist
==============================================================================
--- head/mail/qmhandle/pkg-plist	Thu Sep 24 22:52:00 2015	(r397784)
+++ head/mail/qmhandle/pkg-plist	Thu Sep 24 22:57:57 2015	(r397785)
@@ -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

Modified: head/mail/sgwi/pkg-plist
==============================================================================
--- head/mail/sgwi/pkg-plist	Thu Sep 24 22:52:00 2015	(r397784)
+++ head/mail/sgwi/pkg-plist	Thu Sep 24 22:57:57 2015	(r397785)
@@ -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

Modified: head/misc/dphys-config/pkg-plist
==============================================================================
--- head/misc/dphys-config/pkg-plist	Thu Sep 24 22:52:00 2015	(r397784)
+++ head/misc/dphys-config/pkg-plist	Thu Sep 24 22:57:57 2015	(r397785)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509242257.t8OMvvMi088362>