aboutsummaryrefslogtreecommitdiff
path: root/www/apache13/Makefile
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-05-09 02:12:15 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-05-09 02:12:15 +0000
commit825c48a3cea10c07308a95762202f7359115659e (patch)
treed8569aa686721f6b990dad7d2c5d8eb6c78b2a8b /www/apache13/Makefile
parent4bd2c0204edf283574aacb0082de546f7a81bb8e (diff)
downloadports-825c48a3cea10c07308a95762202f7359115659e.tar.gz
ports-825c48a3cea10c07308a95762202f7359115659e.zip
Notes
Diffstat (limited to 'www/apache13/Makefile')
-rw-r--r--www/apache13/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/apache13/Makefile b/www/apache13/Makefile
index 6ff11aea3467..38fa202df9a6 100644
--- a/www/apache13/Makefile
+++ b/www/apache13/Makefile
@@ -7,7 +7,7 @@
PORTNAME= apache
PORTVERSION= 1.3.24
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= www
MASTER_SITES= http://www.apache.org/dist/httpd/ \
ftp://ftp.ccs.neu.edu/net/mirrors/ftp.apache.org/apache/dist/httpd/ \
@@ -32,7 +32,8 @@ PATCH_DIST_ARGS= -d ${WRKSRC}/src --forward --quiet -E ${PATCH_DIST_STRIP}
MAINTAINER= ache@freebsd.org
-DOCUMENT_ROOT=${PREFIX}/www/data
+DATADIR=${PREFIX}/www
+DOCUMENT_ROOT=${DATADIR}/data
DEFAULT_PATH=/bin:/usr/bin:${PREFIX}/bin
.if defined(WITH_APACHE_SUEXEC) && ${WITH_APACHE_SUEXEC} == yes
@@ -116,7 +117,8 @@ pre-install:
PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL
post-install:
- @${INSTALL_DATA} ${WRKSRC}/apache.sh ${PREFIX}/etc/rc.d/apache.sh.default
+ chmod a+x ${DATADIR}/cgi-bin.default/*
+ ${INSTALL_DATA} ${WRKSRC}/apache.sh ${PREFIX}/etc/rc.d/apache.sh.default
@if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \
${ECHO} "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \
${INSTALL_SCRIPT} ${WRKSRC}/apache.sh ${PREFIX}/etc/rc.d/apache.sh; \