aboutsummaryrefslogtreecommitdiff
path: root/www/notftp
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2003-12-17 05:15:28 +0000
committerMichael Haro <mharo@FreeBSD.org>2003-12-17 05:15:28 +0000
commit24ce27383ebaa46343483b773737b346000fee67 (patch)
tree694a4fa5f5c18e78c384cad74f2d37ae6f2f7652 /www/notftp
parente380b20fcaa31418ee8fe862956215eaeaffeeea (diff)
downloadports-24ce27383ebaa46343483b773737b346000fee67.tar.gz
ports-24ce27383ebaa46343483b773737b346000fee67.zip
Notes
Diffstat (limited to 'www/notftp')
-rw-r--r--www/notftp/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/notftp/Makefile b/www/notftp/Makefile
index a613e9f3f854..ebd9aac62430 100644
--- a/www/notftp/Makefile
+++ b/www/notftp/Makefile
@@ -13,7 +13,15 @@ MASTER_SITES= http://wonko.com/notftp/files/
MAINTAINER= ryan@wonko.com
COMMENT= An easy to use Web to FTP gateway written in PHP
-RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
+.if exists(${LOCALBASE}/include/apache2/os.h)
+WITH_APACHE2= yes
+.endif
+
+.if defined(WITH_APACHE2)
+RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
+.else
+RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
+.endif
PREFIX= ${LOCALBASE}
WEBOWN?= www