# New ports collection makefile for:	iperf
# Date Created:				20 May 2001
# Whom:					Pete Fritchman <petef@databits.net>
#
# $FreeBSD: ports/net/iperf/Makefile,v 1.4 2002/11/22 22:30:29 smace Exp $
#

PORTNAME=	iperf
PORTVERSION= 	1.6.3
DISTNAME=	iperf-1.6.3-source
CATEGORIES=	net
MASTER_SITES=	http://dast.nlanr.net/Projects/Iperf/
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	smace@FreeBSD.org

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/lib.html doc/release.html \
		doc/ui_license.html
	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/iperf
.endfor
.endif

.include <bsd.port.mk>
