diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-04-01 22:57:30 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-04-01 22:57:30 +0000 |
commit | 45159145421ba09161ca0b465cb8120222066241 (patch) | |
tree | 43fda4d88f7217d1519b8ebfafc55219a284f09c /net-mgmt/nfdump/Makefile | |
parent | - Make ARPDIR configurable (diff) |
- Update to 1.5
PR: ports/95006
Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
Notes
Notes:
svn path=/head/; revision=158604
Diffstat (limited to 'net-mgmt/nfdump/Makefile')
-rw-r--r-- | net-mgmt/nfdump/Makefile | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/net-mgmt/nfdump/Makefile b/net-mgmt/nfdump/Makefile index 0bee8a8e4960..cb3d9ef3c083 100644 --- a/net-mgmt/nfdump/Makefile +++ b/net-mgmt/nfdump/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nfdump -PORTVERSION= 1.4 +PORTVERSION= 1.5 CATEGORIES= net-mgmt MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,12 +16,27 @@ COMMENT= Command-line tools to collect and process NetFlow data GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +#for compatibility +# +.ifndef(WITHOUT_NFDUMP14_SUPPORT) +CONFIGURE_ARGS= --enable-compat14 +.endif +#flow-tools support +OPTIONS= FT2NFDUMP "With Flow-tools to nfdump converter" off + +.include <bsd.port.pre.mk> PLIST_FILES= bin/nfcapd bin/nfdump bin/nfprofile bin/nfreplay bin/nfclean.pl MAN1= nfcapd.1 nfdump.1 nfprofile.1 nfreplay.1 PORTDOCS= AUTHORS ChangeLog INSTALL README -.include <bsd.port.pre.mk> +#flow-tools support +.if defined(WITH_FT2NFDUMP) +BUILD_DEPENDS+= flow-cat:${PORTSDIR}/net-mgmt/flow-tools +CONFIGURE_ARGS+= --enable-ftconv --with-ftpath=${LOCALBASE} +PLIST_FILES+= bin/ft2nfdump +MAN1+= ft2nfdump.1 +.endif .if !defined(NOPORTDOCS) post-install: |