freebsd-ports/net-mgmt/yaf/Makefile
Antoine Brodin b010e86be4 Update to 2.6.0
PR:		ports/194432
Approved by:	maintainer timeout (20 days)
2014-11-06 19:42:23 +00:00

37 lines
920 B
Makefile

# Created by: Dikshie <dikshie@sfc.wide.ad.jp>
# $FreeBSD$
PORTNAME= yaf
PORTVERSION= 2.6.0
CATEGORIES= net-mgmt
MASTER_SITES= http://tools.netsa.cert.org/releases/
MAINTAINER= dikshie@sfc.wide.ad.jp
COMMENT= YAF is Yet Another Flowmeter
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfixbuf.so:${PORTSDIR}/net/libfixbuf \
libltdl.so:${PORTSDIR}/devel/libltdl \
libpcre.so:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= libtool pathfix perl5 pkgconfig
USE_GNOME= glib20
USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-doxygen-doc --enable-applabel --enable-plugins
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
.if defined(WITH_DAG)
CONFIGURE_ARGS+= --with-dag=${LOCALBASE}
.endif
post-install:
.for f in dhcp_fingerprints.conf yafApplabelRules.conf yafDPIRules.conf
${MV} ${STAGEDIR}${PREFIX}/etc/$f ${STAGEDIR}${PREFIX}/etc/$f.sample
.endfor
.include <bsd.port.mk>