aboutsummaryrefslogtreecommitdiffstats
path: root/www/foswiki/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/foswiki/Makefile')
-rw-r--r--www/foswiki/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/www/foswiki/Makefile b/www/foswiki/Makefile
index 6e7dbc6bd7cf..0c4d942144c4 100644
--- a/www/foswiki/Makefile
+++ b/www/foswiki/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= foswiki
-PORTVERSION= 1.0.6
+PORTVERSION= 1.0.7
CATEGORIES= www
MASTER_SITES= SF
DISTNAME= Foswiki-${PORTVERSION}
@@ -60,10 +60,7 @@ RUN_DEPENDS+= ${BUILD_DEPENDS}
.endif
.if defined(WITH_APACHE)
-PLIST_SUB+= NOAPACHE="" CONFDIR=${CONFDIR_REL}
-CONFDIR= ${PREFIX}/${CONFDIR_REL}
-CONFDIR_REL= ${APACHEETCDIR}/Includes
-
+PLIST_SUB+= NOAPACHE=""
PKGMESSAGE= pkg-message-apache
SUB_FILES+= pkg-message-apache
.else
@@ -72,6 +69,10 @@ PKGMESSAGE= pkg-message-noapache
SUB_FILES+= pkg-message-noapache
.endif
+# Always set these so the pkg-message displays correctly
+CONFDIR= ${PREFIX}/${CONFDIR_REL}
+CONFDIR_REL= ${APACHEETCDIR}/Includes
+PLIST_SUB+= CONFDIR=${CONFDIR_REL}
SUB_FILES+= LocalSite.cfg
post-patch: