Tweak benchmarks/iperf version 2.0.5
[dports.git] / benchmarks / iperf / Makefile
1 # Created by: Pete Fritchman <petef@databits.net>
2 # $FreeBSD: benchmarks/iperf/Makefile 335275 2013-11-30 09:58:36Z sunpoet $
3
4 PORTNAME=       iperf
5 PORTVERSION=    2.0.5
6 CATEGORIES=     benchmarks
7 MASTER_SITES=   SF/${PORTNAME}
8
9 MAINTAINER=     sunpoet@FreeBSD.org
10 COMMENT=        Tool to measure maximum TCP and UDP bandwidth
11
12 LICENSE=        BSD
13
14 OPTIONS_DEFINE= DOCS IPV6 THREADS
15 OPTIONS_DEFAULT=THREADS
16
17 GNU_CONFIGURE=  yes
18
19 PLIST_FILES=    bin/iperf \
20                 man/man1/iperf.1.gz
21 PORTDOCS=       *
22
23 IPV6_CATEGORIES=        ipv6
24 IPV6_CONFIGURE_ENABLE=  ipv6
25 THREADS_CONFIGURE_ENABLE=       threads
26 THREADS_LDFLAGS=        -pthread
27
28 post-install:
29         ${MKDIR} ${STAGEDIR}${DOCSDIR}/
30         cd ${WRKSRC}/ && ${INSTALL_DATA} README doc/*.gif doc/*.html ${STAGEDIR}${DOCSDIR}/
31
32 .include <bsd.port.mk>