1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/net/iperf/Makefile
Florent Thoumie fb4c1fd1df - Update to 2.0.1.
- Add OPTIONS.

PR:		ports/76553
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	pav (mentor)
2005-03-11 10:44:10 +00:00

49 lines
986 B
Makefile

# New ports collection makefile for: iperf
# Date Created: 20 May 2001
# Whom: Pete Fritchman <petef@databits.net>
#
# $FreeBSD$
#
PORTNAME= iperf
PORTVERSION= 2.0.1
CATEGORIES= net ipv6
MASTER_SITES= http://dast.nlanr.net/Projects/Iperf2.0/
MAINTAINER= marcus@corp.grupos.com.br
COMMENT= A tool to measure maximum TCP and UDP bandwidth
NO_CDROM= "can't charge a fee for the software"
HAS_CONFIGURE= yes
PLIST_FILES= bin/iperf
OPTIONS= IPV6 "Enable support to IPv6" on \
THREADS "Enable threads support" on
.include <bsd.port.pre.mk>
.if defined(WITHOUT_IPV6)
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if defined(WITHOUT_THREADS)
CONFIGURE_ARGS+= --disable-threads
.endif
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.for FILE in ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.gif
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>