From 65672cdf8574ed33a8432b64451b07d1e43d6672 Mon Sep 17 00:00:00 2001 From: Sylvio Cesar Teixeira Date: Wed, 18 Jan 2012 01:50:37 +0000 Subject: - Adds knob for py-mako so OP can include py-mako dependency PR: ports/164248 Submitted by: scheidell@ --- net/ntop/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'net') diff --git a/net/ntop/Makefile b/net/ntop/Makefile index 0fc2564c5b49..2043f09b71ee 100644 --- a/net/ntop/Makefile +++ b/net/ntop/Makefile @@ -53,10 +53,12 @@ USE_RC_SUBR= ntop.sh ## Available knobs: ## WITH_PCAP_PORT: Use libpcap from ports. ## WITH_XMLDUMP: Enable XML Dump support. +## WITH_MAKO: Enable Host Map, Region View (installs py-mako) ## OPTIONS= PCAP_PORT "Use libpcap from ports." Off \ XMLDUMP "Enable XML Dump support." Off \ - JUMBO_FRAMES "Jumbo Frames. Experimental." Off + JUMBO_FRAMES "Jumbo Frames. Experimental." Off \ + MAKO "Install py-mako for Host Map, Region View " Off .include @@ -81,6 +83,10 @@ CONFIGURE_ARGS+= --enable-jumbo-frames # see http://www.cyberciti.biz/faq/freebsd-jumbo-frames-networking-configration/ .endif +.if defined(WITH_MAKO) +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mako>0:${PORTSDIR}/textproc/py-mako +.endif + .if ${OSVERSION} < 700000 BROKEN= does not configure on 6.X .endif -- cgit v1.2.3