aboutsummaryrefslogtreecommitdiffstats
path: root/www/suphp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/suphp/Makefile')
-rw-r--r--www/suphp/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/www/suphp/Makefile b/www/suphp/Makefile
index 9b601ce934fc..ab10d5f9f4d8 100644
--- a/www/suphp/Makefile
+++ b/www/suphp/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= suphp
-PORTVERSION= 0.6.3
+PORTVERSION= 0.7.0
CATEGORIES= www
MASTER_SITES= http://www.suphp.org/download/ \
${MASTER_SITE_LOCAL:S|%SUBDIR%|koitsu|}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= yzlin@cs.nctu.edu.tw
COMMENT= Securely execute PHP scripts under Apache
GNU_CONFIGURE= yes
@@ -26,7 +26,6 @@ MYPORTDOCS= apache/CONFIG apache/INSTALL apache/README CONFIG LICENSE INSTALL RE
CONFIGURE_ARGS= --with-apxs=${APXS}
-
# WITH_SETID_MODE should be a value of "owner", "force", or "paranoid".
# It's important that you understand the differences between each mode.
# See /usr/local/share/doc/suphp/INSTALL for details.
@@ -34,7 +33,6 @@ CONFIGURE_ARGS= --with-apxs=${APXS}
WITH_SETID_MODE?= owner
CONFIGURE_ARGS+= --with-setid-mode=${WITH_SETID_MODE}
-
.include <bsd.port.pre.mk>
# Apache 2.0 (www/apache2) has apr-config in LOCALBASE/lib/apache2, while
@@ -48,7 +46,6 @@ CONFIGURE_ARGS+= --with-apr=${LOCALBASE}
post-patch:
@${REINPLACE_CMD} -e 's|2.61|2.62|g' ${WRKSRC}/aclocal.m4
- @${REINPLACE_CMD} -e 's|1.10|1.10.1|g' ${WRKSRC}/aclocal.m4
@${CHMOD} 755 ${WRKSRC}/config/install-sh
post-install:
@@ -56,13 +53,13 @@ post-install:
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/apache
.for f in ${MYPORTDOCS}
- @${CP} -Rfp ${WRKSRC}/doc/${f} ${DOCSDIR}/${f}
+ @${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}/${f}
.endfor
.endif
.if !defined(WITH_DEBUG)
@${STRIP_CMD} ${PREFIX}/sbin/suphp
.endif
- @${CP} -fp ${WRKSRC}/doc/suphp.conf-example ${PREFIX}/etc/suphp.conf-example
+ @${INSTALL_DATA} ${WRKSRC}/doc/suphp.conf-example ${PREFIX}/etc/suphp.conf-example
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>