summaryrefslogtreecommitdiff
path: root/dns/dnsperf/Makefile
blob: 71e38ddff39a666b50a95bb8a49d5df88d8fb615 (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
35
PORTNAME=	dnsperf
PORTVERSION=	2.7.0
DISTVERSIONPREFIX=v
CATEGORIES=	dns benchmarks net

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	Performance measurement of Domain Name System (DNS) servers
WWW=		https://www.dns-oarc.net/tools/dnsperf

LICENSE=	APACHE20

LIB_DEPENDS=	libnghttp2.so:www/libnghttp2 \
		libck.so:devel/concurrencykit \
		libldns.so:dns/ldns

USES=		autoreconf compiler:c11 libtool pkgconfig ssl
USE_GITHUB=	yes
GH_ACCOUNT=	DNS-OARC

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	libssl_LIBS="-lssl -L${OPENSSLLIB}" \
		libssl_CFLAGS="-I${OPENSSLINC}" \
		libcrypto_LIBS="-lcrypto -L${OPENSSLLIB}" \
		libcrypto_CFLAGS="-I${OPENSSLINC}"
MAKE_ENV=	INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
		INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
		INSTALL_DATA="${INSTALL_DATA}" \
		INSTALL_MAN="${INSTALL_MAN}"
PLIST_FILES=	bin/dnsperf \
		bin/resperf \
		bin/resperf-report \
		man/man1/dnsperf.1.gz \
		man/man1/resperf.1.gz

.include <bsd.port.mk>