summaryrefslogtreecommitdiff
path: root/net/libdaq/Makefile
blob: 7d24ed647696c2512eaa79dd138d83ebe8b5bc84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>

PORTNAME=	libdaq
DISTVERSIONPREFIX=	v
DISTVERSION=	3.0.8
CATEGORIES=	net

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Data Acquisition abstraction library for snort 3.0+

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libpcap.so:net/libpcap	# avoid base libpcap

USES=		autoreconf compiler:c++11-lang libtool pkgconfig
USE_GITHUB=	yes
USE_LDCONFIG=	yes

GH_ACCOUNT=	snort3
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib
INSTALL_TARGET=	install-strip

CONFLICTS=	daq-2*

.include <bsd.port.mk>