ports/net/dnsperf/Makefile

38 lines
876 B
Makefile
Raw Normal View History

2023-09-17 04:05:06 +00:00
COMMENT= DNS performance testing tools
2023-08-16 22:26:55 +00:00
2023-09-17 04:05:06 +00:00
# newer versions needs libck ("Concurrency Kit") not yet in ports
DISTNAME= dnsperf-2.4.2
REVISION= 1
2023-08-16 22:26:55 +00:00
2023-09-17 04:05:06 +00:00
CATEGORIES= net benchmarks
2023-08-16 22:26:55 +00:00
2023-09-17 04:05:06 +00:00
HOMEPAGE= https://www.dns-oarc.net/tools/dnsperf/
PORTROACH= site:https://github.com/DNS-OARC/dnsperf/releases/
2023-08-16 22:26:55 +00:00
# Apache 2.0
2023-09-17 04:05:06 +00:00
PERMIT_PACKAGE= Yes
2023-08-16 22:26:55 +00:00
WANTLIB += c crypto ldns m ssl pthread
2023-09-17 04:05:06 +00:00
SITES= https://www.dns-oarc.net/files/dnsperf/
2023-08-16 22:26:55 +00:00
2023-09-17 04:05:06 +00:00
MODULES= lang/python
MODPY_ADJ_FILES= contrib/queryparse/queryparse
MODPY_BUILDDEP= No
2023-08-16 22:26:55 +00:00
2023-09-17 04:05:06 +00:00
LIB_DEPENDS= net/ldns,-main
2023-08-16 22:26:55 +00:00
2023-09-17 04:05:06 +00:00
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
2023-08-16 22:26:55 +00:00
2023-09-17 04:05:06 +00:00
RUN_DEPENDS= net/py-dnspython${MODPY_FLAVOR} \
net/py-pcapy${MODPY_FLAVOR}
2023-08-16 22:26:55 +00:00
post-install:
cd ${WRKSRC}/contrib/queryparse; \
${INSTALL_SCRIPT} queryparse ${PREFIX}/bin; \
${INSTALL_DATA} queryparse.1 ${PREFIX}/man/man1
.include <bsd.port.mk>