summaryrefslogtreecommitdiff
path: root/www/phpbb
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-30 17:24:14 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-30 17:24:14 +0000
commit7910bede2a059cf7cb24baaddfa31ca41d640c21 (patch)
treeca15fb46f4bdad42f93c361830e1ece1acfffdc5 /www/phpbb
parent- Add new MASTER_SITES (diff)
- Fix typo NOPORTOCS -> NOPORTDOCS
- Fix install problem when NOPORTDOCS is defined - Bump PORTREVISION PR: 56189 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=88091
Diffstat (limited to 'www/phpbb')
-rw-r--r--www/phpbb/Makefile3
-rw-r--r--www/phpbb/pkg-plist2
2 files changed, 3 insertions, 2 deletions
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