aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/iperf/Makefile
blob: 3dc7748009626aba88e41f8cfb06788895af6b9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:    iperf
# Date Created:             20 May 2001
# Whom:                 Pete Fritchman <petef@databits.net>
#
# $FreeBSD$
#

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>