From 7910bede2a059cf7cb24baaddfa31ca41d640c21 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Sat, 30 Aug 2003 17:24:14 +0000 Subject: - Fix typo NOPORTOCS -> NOPORTDOCS - Fix install problem when NOPORTDOCS is defined - Bump PORTREVISION PR: 56189 Submitted by: maintainer --- www/phpbb/Makefile | 3 ++- www/phpbb/pkg-plist | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'www/phpbb') diff --git a/www/phpbb/Makefile b/www/phpbb/Makefile index ef9ff8145632..add0ef760b41 100644 --- a/www/phpbb/Makefile +++ b/www/phpbb/Makefile @@ -7,6 +7,7 @@ PORTNAME= phpbb PORTVERSION= 2.0.6 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -83,7 +84,7 @@ do-install: post-install: # @ cd ${DATADIR} && ${INSTALL} -c -o ${WWWOWN} -g ${WWWGRP} \ # ${EXCEPTFILES} ${PREFIX}/${PHPBBDIR} -.if !defined(NOPORTOCS) +.if !defined(NOPORTDOCS) @ ${MKDIR} ${DOCSDIR} @ cd ${WRKSRC}/docs && ${FIND} * -type f -maxdepth 0 \! -name \*.bak \ \! -name COPYING -exec ${INSTALL_DATA} {} ${DOCSDIR} \; diff --git a/www/phpbb/pkg-plist b/www/phpbb/pkg-plist index 0d06f7d51791..8a48a8e0cae6 100644 --- a/www/phpbb/pkg-plist +++ b/www/phpbb/pkg-plist @@ -302,7 +302,7 @@ share/phpbb/upgrade.php %%PHPBBDIR%%/viewtopic.php @exec touch %B/config.php @exec chown -R %%WWWOWN%%:%%WWWGRP%% %B -@dirrm share/doc/phpbb +%%PORTDOCS%%@dirrm share/doc/phpbb @unexec rmdir %D/share/doc 2>/dev/null || true @dirrm share/phpbb/contrib @dirrm share/phpbb -- cgit v1.2.3