summaryrefslogtreecommitdiff
path: root/dns/dnsjit/Makefile
blob: 270acd1589e412738682f1ce2498c1246a7446a8 (plain)
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
29
30
31
32
33
34
PORTNAME=	dnsjit
DISTVERSIONPREFIX=	v
DISTVERSION=	1.2.3
CATEGORIES=	dns net

MAINTAINER=	freebsd@dns.company
COMMENT=	Engine for capturing, parsing and replaying DNS
WWW=		https://www.dns-oarc.net/tools/dnsjit

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libck.so:devel/concurrencykit \
		libgnutls.so:security/gnutls \
		liblmdb.so:databases/lmdb \
		libluajit-5.1.so:lang/luajit-openresty \
		libpcap.so:net/libpcap \
		liblz4.so:archivers/liblz4 \
		libzstd.so:archivers/zstd
		# Mind PR 262976 about libpcap

USES=		autoreconf libtool pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	DNS-OARC

GNU_CONFIGURE=	yes

OPTIONS_DEFINE=	EXAMPLES

post-install-EXAMPLES-on:
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/examples/*.lua ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>