36 lines
775 B
Makefile
36 lines
775 B
Makefile
COMMENT = DNS performance testing tools
|
|
|
|
DISTNAME = dnsperf-2.4.2
|
|
REVISION = 1
|
|
|
|
CATEGORIES = net benchmarks
|
|
|
|
HOMEPAGE = https://www.dns-oarc.net/tools/dnsperf/
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += c crypto ldns m ssl pthread
|
|
|
|
MASTER_SITES = https://www.dns-oarc.net/files/dnsperf/
|
|
|
|
MODULES = lang/python
|
|
MODPY_ADJ_FILES = contrib/queryparse/queryparse
|
|
MODPY_BUILDDEP = No
|
|
|
|
LIB_DEPENDS = net/ldns,-main
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ENV = CPPFLAGS=-I${LOCALBASE}/include \
|
|
LDFLAGS=-L${LOCALBASE}/lib
|
|
|
|
RUN_DEPENDS = net/py-dnspython${MODPY_FLAVOR} \
|
|
net/py-pcapy${MODPY_FLAVOR}
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/contrib/queryparse; \
|
|
${INSTALL_SCRIPT} queryparse ${PREFIX}/bin; \
|
|
${INSTALL_DATA} queryparse.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|