summaryrefslogtreecommitdiff
path: root/www/apache2
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2006-01-05 10:01:20 +0000
committerghen <ghen@pkgsrc.org>2006-01-05 10:01:20 +0000
commitdfb6734a8578e9705e0127cb13603da33c1e9a92 (patch)
tree067dcda6e2b08b9e72daa465473f9045b05ab627 /www/apache2
parent7f74be65822696b3ea6763bd420cfbcc74368e95 (diff)
downloadpkgsrc-dfb6734a8578e9705e0127cb13603da33c1e9a92.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