summaryrefslogtreecommitdiff
path: root/dns/flamethrower/Makefile
blob: f8c0b83b8d3f73ce8ac168509e816c00f6bafba9 (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
PORTNAME=	flamethrower
PORTVERSION=	0.11.0
DISTVERSIONPREFIX=v
CATEGORIES=	dns

MAINTAINER=	pcarboni@gmail.com
COMMENT=	DNS performance and functional testing utility
WWW=		https://github.com/DNS-OARC/flamethrower

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>