From 825c48a3cea10c07308a95762202f7359115659e Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Thu, 9 May 2002 02:12:15 +0000 Subject: chmod a+x cgi-bin.default example scripts --- www/apache13/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'www') 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; \ -- cgit v1.2.3