freebsd-ports/benchmarks/iperf3/Makefile
Bruce A. Mah 0e356c94a4
benchmarks/iperf3: Update to iperf-3.10.1.
Sponsored by:	ESnet
2021-06-03 08:39:22 -07:00

36 lines
948 B
Makefile

# Created by: Bruce A. Mah <bmah@FreeBSD.org>
PORTNAME= iperf
PORTVERSION= 3.10.1
CATEGORIES= benchmarks
MASTER_SITES= https://downloads.es.net/pub/iperf/
PKGNAMESUFFIX= 3
MAINTAINER= bmah@FreeBSD.org
COMMENT= Improved tool to measure TCP and UDP bandwidth
LICENSE= BSD3CLAUSE MIT
LICENSE_COMB= multi
GNU_CONFIGURE= yes
USES= libtool ssl
USE_LDCONFIG= yes
PORTDOCS= README.md RELNOTES.md
# Set ${DOCSDIR} to avoid conflict with benchmarks/iperf ${DOCSDIR}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
OPTIONS_DEFINE= DOCS
post-patch:
# Don't build stuff that we're not going to install. Among other
# things this means we're not going to try to build profiled objects
# and/or executables.
@${REINPLACE_CMD} -e '/^PROGRAMS /s/\$$(noinst_PROGRAMS)//' ${WRKSRC}/src/Makefile.in
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>