summaryrefslogtreecommitdiff
path: root/dns/flamethrower/Makefile
blob: f675a6e011966d82f3cf528a8d3c7511dcb10a31 (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
# Created by: Leo Vandewoestijne <freebsd@dns.company>

PORTNAME=	flamethrower
PORTVERSION=	0.11.0
DISTVERSIONPREFIX=v
CATEGORIES=	dns

MAINTAINER=	pcarboni@gmail.com
COMMENT=	DNS performance and functional testing utility

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libgnutls.so:security/gnutls \
		libnghttp2.so:www/libnghttp2 \
		libuv.so:devel/libuv \
		libldns.so:dns/ldns

USES=		cmake compiler:c++17-lang pkgconfig

USE_GITHUB=	yes
GH_ACCOUNT=	DNS-OARC

CMAKE_ON=	DOH_ENABLE
PLIST_FILES=	bin/flame

do-install:
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/flame ${STAGEDIR}${PREFIX}/bin

do-test:
	@cd ${BUILD_WRKSRC} && ${SETENV} ${TEST_ENV} ./tests

.include <bsd.port.mk>