Date: Thu, 24 Sep 2015 23:07:03 +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: r397787 - in head: sysutils/py-supervisor www/cgichk www/magento www/ojs2 Message-ID: <201509242307.t8ON737V092676@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Thu Sep 24 23:07:02 2015 New Revision: 397787 URL: https://svnweb.freebsd.org/changeset/ports/397787 Log: Convert to @sample Modified: head/sysutils/py-supervisor/pkg-plist head/www/cgichk/pkg-plist head/www/magento/pkg-plist head/www/ojs2/pkg-plist Modified: head/sysutils/py-supervisor/pkg-plist ============================================================================== --- head/sysutils/py-supervisor/pkg-plist Thu Sep 24 23:03:44 2015 (r397786) +++ head/sysutils/py-supervisor/pkg-plist Thu Sep 24 23:07:02 2015 (r397787) @@ -1,6 +1,4 @@ -@unexec if cmp -s %D/etc/supervisord.conf.sample %D/etc/supervisord.conf; then rm -f %D/etc/supervisord.conf; fi -etc/supervisord.conf.sample -@exec if [ ! -f %D/etc/supervisord.conf ]; then cp %D/etc/supervisord.conf.sample %D/etc/supervisord.conf; fi +@sample etc/supervisord.conf.sample @exec mkdir -p %%PIDDIR%% @unexec echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" @unexec echo "If you are permanently removing py-supervisor, you should also:" | /usr/bin/fmt Modified: head/www/cgichk/pkg-plist ============================================================================== --- head/www/cgichk/pkg-plist Thu Sep 24 23:03:44 2015 (r397786) +++ head/www/cgichk/pkg-plist Thu Sep 24 23:07:02 2015 (r397787) @@ -1,4 +1,2 @@ bin/cgichk -@unexec if cmp -s %D/etc/cgichk.cfg %D/etc/cgichk.cfg.sample; then rm -f %D/etc/cgichk.cfg; fi -etc/cgichk.cfg.sample -@exec if [ ! -f %B/cgichk.cfg ]; then cp -p %B/%f %B/cgichk.cfg; fi +@sample etc/cgichk.cfg.sample Modified: head/www/magento/pkg-plist ============================================================================== --- head/www/magento/pkg-plist Thu Sep 24 23:03:44 2015 (r397786) +++ head/www/magento/pkg-plist Thu Sep 24 23:07:02 2015 (r397787) @@ -1,7 +1,5 @@ @comment .htaccess when used can contain a lot of customizations -@unexec if cmp -s %D/%%MAGENTODIR%%/.htaccess %D/%%MAGENTODIR%%/.htaccess.sample; then rm -f %D/%%MAGENTODIR%%/.htaccess; fi -%%MAGENTODIR%%/.htaccess.sample -@exec if [ ! -f %D/%%MAGENTODIR%%/.htaccess ]; then cp -p %D/%F %B/.htaccess; fi +@sample %%MAGENTODIR%%/.htaccess.sample %%MAGENTODIR%%/LICENSE.html %%MAGENTODIR%%/LICENSE.txt %%MAGENTODIR%%/LICENSE_AFL.txt Modified: head/www/ojs2/pkg-plist ============================================================================== --- head/www/ojs2/pkg-plist Thu Sep 24 23:03:44 2015 (r397786) +++ head/www/ojs2/pkg-plist Thu Sep 24 23:07:02 2015 (r397787) @@ -296,9 +296,7 @@ %%WWWDIR%%/classes/xml/XMLNode.inc.php %%WWWDIR%%/classes/xml/XMLParser.inc.php %%WWWDIR%%/classes/xml/XMLParserDOMHandler.inc.php -@unexec if cmp -s %D/%%WWWDIR%%/config.inc.php.sample %D/%%WWWDIR%%/config.inc.php; then rm -f %D/%%WWWDIR%%/config.inc.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/config.inc.php has not been removed"; fi -%%WWWDIR%%/config.inc.php.sample -@exec if [ ! -f %D/%%WWWDIR%%/config.inc.php ]; then cp -p %D/%F %B/config.inc.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/config.inc.php has not been overwritten"; fi +@sample %%WWWDIR%%/config.inc.php.sample %%WWWDIR%%/dbscripts/xml/data/email_templates.xml %%WWWDIR%%/dbscripts/xml/data/locale/de_DE/email_templates_data.xml %%WWWDIR%%/dbscripts/xml/data/locale/el_GR/email_templates_data.xml
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509242307.t8ON737V092676>