diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-07-19 10:16:29 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-07-19 10:16:29 +0000 |
commit | 5cf14a8c3bedba7adb1d7656ed63e56e41f3ea5e (patch) | |
tree | c2331dc8f96100b624a43393eb2ffcb88129becc /www/phpbb3 | |
parent | 1b5d8fb0136c92276917aecb19fdf864a12f254a (diff) | |
download | ports-5cf14a8c3bedba7adb1d7656ed63e56e41f3ea5e.tar.gz ports-5cf14a8c3bedba7adb1d7656ed63e56e41f3ea5e.zip |
Notes
Diffstat (limited to 'www/phpbb3')
-rw-r--r-- | www/phpbb3/Makefile | 3 | ||||
-rw-r--r-- | www/phpbb3/pkg-plist | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/www/phpbb3/Makefile b/www/phpbb3/Makefile index 6ee1050fcffd..0f840b3ffcfc 100644 --- a/www/phpbb3/Makefile +++ b/www/phpbb3/Makefile @@ -55,7 +55,8 @@ pre-everything:: do-install: @ ${MKDIR} -m 0775 ${PREFIX}/${PHPBBDIR} - @ cd ${WRKSRC} && ${FIND} . -print | ${TAR} cTf - - | ${TAR} xUCf ${PREFIX}/${PHPBBDIR} - + @ cd ${WRKSRC} && ${FIND} . ! -name config.php ! -name . -print | ${TAR} cTf - - | ${TAR} xUCf ${PREFIX}/${PHPBBDIR} - + @ ${TOUCH} ${PREFIX}/${PHPBBDIR}/config.php @ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPBBDIR} post-install: diff --git a/www/phpbb3/pkg-plist b/www/phpbb3/pkg-plist index 32f673338fcf..cbcbc44971a0 100644 --- a/www/phpbb3/pkg-plist +++ b/www/phpbb3/pkg-plist @@ -126,7 +126,6 @@ %%PHPBBDIR%%/cache/.htaccess %%PHPBBDIR%%/cache/index.htm %%PHPBBDIR%%/common.php -%%PHPBBDIR%%/config.php %%PHPBBDIR%%/cron.php %%PHPBBDIR%%/docs/AUTHORS %%PHPBBDIR%%/docs/CHANGELOG.html @@ -909,7 +908,9 @@ %%PHPBBDIR%%/viewforum.php %%PHPBBDIR%%/viewonline.php %%PHPBBDIR%%/viewtopic.php +@exec [ -f %D/%%PHPBBDIR%%/config.php ] || touch %D/%%PHPBBDIR%%/config.php @exec chown -R %%WWWOWN%%:%%WWWGRP%% %B +@unexec if [ -f %D/%%PHPBBDIR%%/config.php ]; then if [ `stat -f %%z %D/%%PHPBBDIR%%/config.php` = "0" ] ; then rm -f %D/%%PHPBBDIR%%/config.php; fi; fi @dirrm %%PHPBBDIR%%/styles/subsilver2/theme/images @dirrm %%PHPBBDIR%%/styles/subsilver2/theme @dirrm %%PHPBBDIR%%/styles/subsilver2/template @@ -963,5 +964,5 @@ @dirrm %%PHPBBDIR%%/adm/style @dirrm %%PHPBBDIR%%/adm/images @dirrm %%PHPBBDIR%%/adm -@dirrm %%PHPBBDIR%% +@dirrmtry %%PHPBBDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% |