diff options
author | John Marino <marino@FreeBSD.org> | 2014-08-14 15:20:29 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-08-14 15:20:29 +0000 |
commit | bb5fd13d531f189ae222b5ee02fe72b489afe29d (patch) | |
tree | 34d5a1fd442aa0c9d825e6fe07c0a6fd00e1739d /www | |
parent | 2e6a4b588ec2e984a47f1a32f344d03580071a3a (diff) | |
download | freebsd-ports-bb5fd13d531f189ae222b5ee02fe72b489afe29d.zip |
Use @sample keyword on two ports I thought couldn't use it
Possible due to extreme sleep deprivation, I was confused about the
limitations of the @sample keyword. The two www ports I modified last
night, phpbb3 and autoindex2, both could use @sample with config.php,
so go back and clean up my own mess. No revbump necessary as this is
functionally equivalent to what is there now.
Diffstat (limited to 'www')
-rw-r--r-- | www/autoindex2/pkg-plist | 4 | ||||
-rw-r--r-- | www/phpbb3/pkg-plist | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/www/autoindex2/pkg-plist b/www/autoindex2/pkg-plist index c6f6c1245a48..90493fc43168 100644 --- a/www/autoindex2/pkg-plist +++ b/www/autoindex2/pkg-plist @@ -3,9 +3,7 @@ @mode 644 %%INSTALLDIR%%/.htpasswd.autoindex.sample @mode 664 -@unexec if cmp -s %D/%%INSTALLDIR%%/config.php.sample %D/%%INSTALLDIR%%/config.php; then rm -f %D/%%INSTALLDIR%%/config.php; fi -%%INSTALLDIR%%/config.php.sample -@exec if [ ! -f %D/%%INSTALLDIR%%/config.php ] ; then cp -p %D/%F %B/config.php; fi +@sample %%INSTALLDIR%%/config.php.sample @mode %%INSTALLDIR%%/hidden_files %%INSTALLDIR%%/change_log.html diff --git a/www/phpbb3/pkg-plist b/www/phpbb3/pkg-plist index 9334955da49e..f459b23bd14e 100644 --- a/www/phpbb3/pkg-plist +++ b/www/phpbb3/pkg-plist @@ -131,9 +131,7 @@ %%PHPBBDIR%%/cache/.htaccess %%PHPBBDIR%%/cache/index.htm %%PHPBBDIR%%/common.php -@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 +@sample %%PHPBBDIR%%/config.php.sample %%PHPBBDIR%%/cron.php %%PHPBBDIR%%/docs/AUTHORS %%PHPBBDIR%%/docs/CHANGELOG.html |