diff options
-rw-r--r-- | net/ntop/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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 <bsd.port.pre.mk> @@ -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 |