# Created by: Dean Freeman (wfreeman@sourcefire.com) # $FreeBSD$ PORTNAME= daq PORTVERSION= 2.2.2 PORTREVISION= 0 CATEGORIES= net MASTER_SITES= https://snort.org/downloads/snortplus/ \ ZI MAINTAINER= zi@FreeBSD.org COMMENT= Data Acquisition abstraction library for snort 2.9+ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdnet.so:net/libdnet \ libpcap.so.1:net/libpcap # avoid base libpcap BUILD_DEPENDS= flex:textproc/flex GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USES= bison gmake libtool USE_LDCONFIG= yes PLIST_SUB= PORTVERSION="${PORTVERSION}" MAKE_JOBS_UNSAFE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.* ${STAGEDIR}${PREFIX}/lib/daq/*.so .include