aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-08-31 01:24:14 +0800
committerkrion <krion@FreeBSD.org>2003-08-31 01:24:14 +0800
commitd38f1ea0d93c63e48d215eb0eb1df0233fa2413f (patch)
treebb3b33a9c1ed0e45f08f6e63795d4033d7ad762e /www
parentb7d3ce927c840ef7d6a22c320bb8f47ea2229ae7 (diff)
downloadfreebsd-ports-gnome-d38f1ea0d93c63e48d215eb0eb1df0233fa2413f.tar.gz
freebsd-ports-gnome-d38f1ea0d93c63e48d215eb0eb1df0233fa2413f.tar.zst
freebsd-ports-gnome-d38f1ea0d93c63e48d215eb0eb1df0233fa2413f.zip
- Fix typo NOPORTOCS -> NOPORTDOCS
- Fix install problem when NOPORTDOCS is defined - Bump PORTREVISION PR: 56189 Submitted by: maintainer
Diffstat (limited to 'www')
-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