aboutsummaryrefslogtreecommitdiff
path: root/www/pserv
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2007-07-02 12:49:20 +0000
committerAlex Dupre <ale@FreeBSD.org>2007-07-02 12:49:20 +0000
commit2ae2410416f544ae837a43cef053ed0b2f774746 (patch)
tree128a889ae2fdcf165ca71c73d94b819e94a15be5 /www/pserv
parent6849a108ff93aff7bb03bc0fc3d71000bdf3c936 (diff)
downloadports-2ae2410416f544ae837a43cef053ed0b2f774746.tar.gz
ports-2ae2410416f544ae837a43cef053ed0b2f774746.zip
Notes
Diffstat (limited to 'www/pserv')
-rw-r--r--www/pserv/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/pserv/Makefile b/www/pserv/Makefile
index ab1cb68eee6e..4039f8679ee6 100644
--- a/www/pserv/Makefile
+++ b/www/pserv/Makefile
@@ -21,6 +21,11 @@ OPTIONS= LOG "Enable logging" on \
.include <bsd.port.pre.mk>
+.if !defined(WITHOUT_PHP)
+USE_PHP= yes
+WANT_PHP_CGI= yes
+.endif
+
post-patch:
@${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|g;s|%%LOCALBASE%%|${LOCALBASE}|g" \
${WRKSRC}/defaults/pserv.conf ${WRKSRC}/sources/main.h