summaryrefslogtreecommitdiff
path: root/www/apache21
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-12-04 14:59:41 +0000
committerClement Laforet <clement@FreeBSD.org>2005-12-04 14:59:41 +0000
commitd38b409f151c93f9b7f87712c187c308ae3f038a (patch)
treefe9639f8cf13726bc37f3101fc2ab6f5b3b21fa1 /www/apache21
parent- Upgrade to 9.4.3; (diff)
- Various package fixes
- Bump PORTREVISION
Diffstat (limited to 'www/apache21')
-rw-r--r--www/apache21/Makefile6
-rw-r--r--www/apache21/pkg-plist2
2 files changed, 6 insertions, 2 deletions
diff --git a/www/apache21/Makefile b/www/apache21/Makefile
index d9eb5b76a727..ed39993491b9 100644
--- a/www/apache21/Makefile
+++ b/www/apache21/Makefile
@@ -9,6 +9,7 @@
PORTNAME= apache
PORTVERSION= 2.1.9
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \
${MASTER_SITE_LOCAL:S/%SUBDIR%/clement/}:powerlogo
@@ -230,6 +231,9 @@ install-startup-script:
post-install: install-startup-script
@${MKDIR} ${PREFIX}/etc/apache21/envvars.d
@${MKDIR} ${PREFIX}/etc/apache21/Includes
- @@${CAT} ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
+.if !defined(NOPORTDOCS)
+ @[ -d ${DOCSDIR}/style/lang/ ] && ${TOUCH} ${DOCSDIR}/style/lang/.keepme
+.endif
.include <bsd.port.post.mk>
diff --git a/www/apache21/pkg-plist b/www/apache21/pkg-plist
index 437379a11fe5..b38e026988f2 100644
--- a/www/apache21/pkg-plist
+++ b/www/apache21/pkg-plist
@@ -1,5 +1,5 @@
@comment $FreeBSD$
-@exec mkdir -p %D/etc/apache21 2> /dev/null
+@exec mkdir -p %D/etc/apache21/extra 2> /dev/null
@unexec if cmp -s %D/etc/apache21/httpd.conf %D/%%EXAMPLESDIR%%/httpd.conf; then rm -f %D/etc/apache21/httpd.conf; fi
%%EXAMPLESDIR%%/httpd.conf
@exec [ -f %D/etc/apache21/httpd.conf ] || cp %D/%%EXAMPLESDIR%%/httpd.conf %D/etc/apache21/httpd.conf