freebsd-ports/net/daq/Makefile
John Marino 42931aff2c net/daq: Fix dependency on libpcap (use ports version)
Back in r342092 (Jan 2014), the LIB_DEPENDS specification was updated
from pcap to libpcap.so, which effectively moved the dependency from
the ports version of libpcap to the base version.  The maintainer
also indicated the ports listed in the PR should specify the net/libpcap.

PR:	211578
2016-08-06 01:02:27 +00:00

35 lines
808 B
Makefile

# Created by: Dean Freeman (wfreeman@sourcefire.com)
# $FreeBSD$
PORTNAME= daq
PORTVERSION= 2.0.6
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= https://snort.org/downloads/snort/ \
http://mirrors.rit.edu/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 <bsd.port.mk>