aboutsummaryrefslogtreecommitdiff
path: root/ftp/frox
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-25 07:37:10 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-25 07:37:10 +0000
commit7c196b258996441a34afe578d3129cd3142a3b4d (patch)
tree0c76f185541ff18af9921303d6eb6933bebf61f2 /ftp/frox
parentede2ad67fc4bc2254ad6f542040e2f0f6110f4ea (diff)
downloadports-7c196b258996441a34afe578d3129cd3142a3b4d.tar.gz
ports-7c196b258996441a34afe578d3129cd3142a3b4d.zip
Notes
Diffstat (limited to 'ftp/frox')
-rw-r--r--ftp/frox/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/ftp/frox/Makefile b/ftp/frox/Makefile
index 0515b54af339..f5be52184b6f 100644
--- a/ftp/frox/Makefile
+++ b/ftp/frox/Makefile
@@ -47,11 +47,16 @@ OPTIONS= IPFILTER "Use ipfilter instead of ipfw" off \
LOCAL_CACHE "Enable use of local cache" off \
CCP "Ftp-proxy style command control programs" on \
ROOT_RUN "Allow frox running as root (not recomended)" off
-WITH_HTTP_CACHE?= yes
-WITH_CCP?= yes
-
.include <bsd.port.pre.mk>
+# Set default options
+.if !defined(WITHOUT_HTTP_CACHE)
+WITH_HTTP_CACHE= yes
+.endif
+.if !defined(WITHOUT_CCP)
+WITH_CCP= yes
+.endif
+
.if defined(WITH_IPFILTER)
CONFIGURE_ARGS+= --enable-ipfilter
.endif