aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/iperf/Makefile
blob: 5d9f07b4e55fc71ee982f886c12dcc8e4ddb15b9 (plain) (blame)
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
# Created by: Pete Fritchman <petef@databits.net>

PORTNAME=	iperf
DISTVERSION=	2.1.1-dev
CATEGORIES=	benchmarks
MASTER_SITES=	SF/iperf2 \
		LOCAL/sunpoet/iperf/20210228

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Tool to measure maximum TCP and UDP bandwidth

LICENSE=	BSD2CLAUSE

USES=		cpe

GNU_CONFIGURE=	yes

PLIST_FILES=	bin/iperf \
		man/man1/iperf.1.gz
PORTDOCS=	*

CPE_VENDOR=	iperf_project

OPTIONS_DEFINE=	DOCS IPV6 THREADS
OPTIONS_DEFAULT=THREADS

IPV6_CONFIGURE_ENABLE=	ipv6
THREADS_CONFIGURE_ENABLE=	threads
THREADS_LDFLAGS=	-lpthread

post-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}/
	cd ${WRKSRC}/ && ${INSTALL_DATA} README doc/*.gif doc/*.html ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>