2001-05-27 19:42:23 +02:00
|
|
|
# New ports collection makefile for: iperf
|
|
|
|
# Date Created: 20 May 2001
|
|
|
|
# Whom: Pete Fritchman <petef@databits.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= iperf
|
2005-03-11 11:44:10 +01:00
|
|
|
PORTVERSION= 2.0.1
|
2003-05-17 21:39:42 +02:00
|
|
|
CATEGORIES= net ipv6
|
2005-04-07 17:00:52 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
http://dast.nlanr.net/Projects/Iperf2.0/
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-05-27 19:42:23 +02:00
|
|
|
|
2005-03-11 11:44:10 +01:00
|
|
|
MAINTAINER= marcus@corp.grupos.com.br
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A tool to measure maximum TCP and UDP bandwidth
|
2001-05-27 19:42:23 +02:00
|
|
|
|
|
|
|
NO_CDROM= "can't charge a fee for the software"
|
|
|
|
|
2005-03-11 11:44:10 +01:00
|
|
|
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:
|
2001-05-27 19:42:23 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2005-03-11 11:44:10 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.for FILE in ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.gif
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
|
2001-05-27 19:42:23 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2005-03-11 11:44:10 +01:00
|
|
|
.include <bsd.port.post.mk>
|