# New ports collection makefile for:	iperf
# Date Created:				20 May 2001
# Whom:					Pete Fritchman <petef@databits.net>
#
# $FreeBSD: ports/net/iperf/Makefile,v 1.11 2003/05/17 19:39:42 sumikawa Exp $
#

PORTNAME=	iperf
PORTVERSION= 	1.7.0
CATEGORIES=	net ipv6
MASTER_SITES=	http://dast.nlanr.net/Projects/Iperf/
DISTNAME=	iperf-1.7.0-source

MAINTAINER=	smace@FreeBSD.org
COMMENT=	A tool to measure maximum TCP and UDP bandwidth

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

NO_CDROM=	"can't charge a fee for the software"

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/iperf ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/iperf
.for file in README doc/index.html doc/jperf.gif doc/dast.gif \
		doc/lib.html doc/ui_license.html
	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/iperf
.endfor
.endif

.include <bsd.port.mk>
