summaryrefslogtreecommitdiff
path: root/dns/dnsperf/Makefile
blob: 599b379b6eed7938b168474445d53b7210aaaa72 (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
36
# Created by: Edwin Groothuis (edwin@mavetju.org)

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

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>