summaryrefslogtreecommitdiff
path: root/www/apache2
diff options
context:
space:
mode:
authorghen <ghen>2006-01-05 10:01:20 +0000
committerghen <ghen>2006-01-05 10:01:20 +0000
commit303e6a46668b10febd7fec918f5dcb89011901e1 (patch)
tree067dcda6e2b08b9e72daa465473f9045b05ab627 /www/apache2
parent8ace12a560c47b1718412a196b962b6adbd32ae5 (diff)
downloadpkgsrc-303e6a46668b10febd7fec918f5dcb89011901e1.tar.gz
Fix the default config and ServerRoot paths in apache and apache2 manpages,
as suggested by PR pkg/32300, bump PKGREVISION. Ok by tron, wiz.
Diffstat (limited to 'www/apache2')
-rw-r--r--www/apache2/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile
index 8c0d7cb0a4c..23fc45634b4 100644
--- a/www/apache2/Makefile
+++ b/www/apache2/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.90 2005/12/29 06:22:21 jlam Exp $
+# $NetBSD: Makefile,v 1.91 2006/01/05 10:01:20 ghen Exp $
.include "Makefile.common"
PKGNAME= apache-${APACHE_VERSION}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= www
HOMEPAGE= http://httpd.apache.org/
@@ -87,6 +87,15 @@ OWN_DIRS+= ${VARBASE}/db/httpd
OWN_DIRS_PERMS+= ${VARBASE}/db/httpd/proxy ${APACHE_USER} ${APACHE_GROUP} 0755
FIX_PERMS= apachectl apxs dbmmanage envvars-std mkcert
+# Fix paths in the apache manpages.
+SUBST_CLASSES+= man
+SUBST_STAGE.man= post-patch
+SUBST_FILES.man= docs/man/*.1 docs/man/*.8
+SUBST_SED.man= -e 's,/usr/local/etc/apache,${PKG_SYSCONFDIR},'
+SUBST_SED.man+= -e 's,/path/to/apache/etc,${PKG_SYSCONFDIR},'
+SUBST_SED.man+= -e 's,/usr/local/apache2,${PREFIX}/share/httpd/htdocs,'
+SUBST_SED.man+= -e 's,/usr/web,${PREFIX}/share/httpd/htdocs,'
+
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= config.layout