2013-03-08 12:32:11 +01:00
|
|
|
# Created by: Dean Freeman (wfreeman@sourcefire.com)
|
2011-01-18 17:46:53 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= daq
|
2015-08-10 15:18:19 +02:00
|
|
|
PORTVERSION= 2.0.6
|
2016-08-06 03:02:27 +02:00
|
|
|
PORTREVISION= 1
|
2011-01-18 17:46:53 +01:00
|
|
|
CATEGORIES= net
|
2015-08-10 15:18:19 +02:00
|
|
|
MASTER_SITES= https://snort.org/downloads/snort/ \
|
2012-03-23 15:27:51 +01:00
|
|
|
http://mirrors.rit.edu/zi/
|
2011-01-18 17:46:53 +01:00
|
|
|
|
2011-10-21 15:42:24 +02:00
|
|
|
MAINTAINER= zi@FreeBSD.org
|
2011-01-18 17:46:53 +01:00
|
|
|
COMMENT= Data Acquisition abstraction library for snort 2.9+
|
|
|
|
|
2011-09-08 03:37:20 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= libdnet.so:net/libdnet \
|
2016-08-06 03:02:27 +02:00
|
|
|
libpcap.so.1:net/libpcap # avoid base libpcap
|
2016-04-01 16:16:16 +02:00
|
|
|
BUILD_DEPENDS= flex:textproc/flex
|
2011-01-18 17:46:53 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2014-07-15 18:00:00 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
USES= bison gmake libtool
|
2011-01-18 17:46:53 +01:00
|
|
|
USE_LDCONFIG= yes
|
2014-10-25 01:24:15 +02:00
|
|
|
PLIST_SUB= PORTVERSION="${PORTVERSION}"
|
2013-04-30 22:49:37 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2011-01-18 17:46:53 +01:00
|
|
|
|
2014-07-15 18:00:00 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2011-01-18 17:46:53 +01:00
|
|
|
|
2014-10-25 01:24:15 +02:00
|
|
|
post-install:
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.* ${STAGEDIR}${PREFIX}/lib/daq/*.so
|
|
|
|
|
2015-10-01 01:09:00 +02:00
|
|
|
.include <bsd.port.mk>
|