diff options
-rw-r--r-- | www/phpbb3/Makefile | 1 | ||||
-rw-r--r-- | www/phpbb3/pkg-plist | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/www/phpbb3/Makefile b/www/phpbb3/Makefile index 3a4d594bfce9..10783e2e7366 100644 --- a/www/phpbb3/Makefile +++ b/www/phpbb3/Makefile @@ -3,6 +3,7 @@ PORTNAME= phpbb PORTVERSION= 3.0.12 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://www.phpbb.com/files/release/ PKGNAMESUFFIX= 3 diff --git a/www/phpbb3/pkg-plist b/www/phpbb3/pkg-plist index f459b23bd14e..9334955da49e 100644 --- a/www/phpbb3/pkg-plist +++ b/www/phpbb3/pkg-plist @@ -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 |