Date: Wed, 13 Aug 2014 22:45:46 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364819 - head/www/phpbb3 Message-ID: <201408132245.s7DMjkso088331@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Wed Aug 13 22:45:45 2014 New Revision: 364819 URL: http://svnweb.freebsd.org/changeset/ports/364819 QAT: https://qat.redports.org/buildarchive/r364819/ Log: www/phpbb3: Replace @sample keyword The @sample keyword got used here but it didn't work because the extension was php.sample instead of conf.sample. Fix it with @unexec and @exec tricks. By the way, the previous commit to this port and the one that should have provided this @sample fix is: PR: 191456 Modified: head/www/phpbb3/Makefile head/www/phpbb3/pkg-plist Modified: head/www/phpbb3/Makefile ============================================================================== --- head/www/phpbb3/Makefile Wed Aug 13 22:40:26 2014 (r364818) +++ head/www/phpbb3/Makefile Wed Aug 13 22:45:45 2014 (r364819) @@ -3,6 +3,7 @@ PORTNAME= phpbb PORTVERSION= 3.0.12 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://www.phpbb.com/files/release/ PKGNAMESUFFIX= 3 Modified: head/www/phpbb3/pkg-plist ============================================================================== --- head/www/phpbb3/pkg-plist Wed Aug 13 22:40:26 2014 (r364818) +++ head/www/phpbb3/pkg-plist Wed Aug 13 22:45:45 2014 (r364819) @@ -131,7 +131,9 @@ %%PHPBBDIR%%/cache/.htaccess %%PHPBBDIR%%/cache/index.htm %%PHPBBDIR%%/common.php -@sample %%PHPBBDIR%%/config.php.sample +@unexec if cmp -s %D/%%PHPBBDIR%%/config.php.sample %D/%%PHPBBDIR%%/config.php; then rm -f %D/%%PHPBBDIR%%/config.php; fi +%%PHPBBDIR%%/config.php.sample +@exec if [ ! -f %D/%%PHPBBDIR%%/config.php ] ; then cp -p %D/%F %B/config.php; fi %%PHPBBDIR%%/cron.php %%PHPBBDIR%%/docs/AUTHORS %%PHPBBDIR%%/docs/CHANGELOG.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408132245.s7DMjkso088331>