1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name netperf |
---|
5 | version 2.2pl4 |
---|
6 | homepage http://www.netperf.org/ |
---|
7 | description a network performance benchmark |
---|
8 | categories net |
---|
9 | platforms darwin freebsd |
---|
10 | maintainers digdog@opendarwin.org |
---|
11 | master_sites ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf \ |
---|
12 | ftp://col.hp.com/dist/networking/benchmarks/netperf |
---|
13 | checksums md5 0ba938bc65dac4989639a40fdf892952 |
---|
14 | patch { reinplace "s|/opt/netperf|${destroot}${prefix}/bin|g" ${worksrcpath}/makefile |
---|
15 | reinplace "s|-D\$(LOG_FILE) -DNEED_MAKEFILE_EDIT|-D\$(LOG_FILE)|g" ${worksrcpath}/makefile } |
---|
16 | configure {} |
---|
17 | post-destroot { xinstall -m 444 ${worksrcpath}/netperf.man ${destroot}${prefix}/share/man/man1/netperf.1 |
---|
18 | xinstall -m 444 ${worksrcpath}/netserver.man ${destroot}${prefix}/share/man/man1/netserver.1 |
---|
19 | } |
---|
20 | long_description Netperf is a benchmark that can be used to measure various aspects of \ |
---|
21 | networking performance. Currently, its focus is on bulk data transfer \ |
---|
22 | and request/response performance using either TCP or UDP, and the \ |
---|
23 | Berkeley Sockets interface. In addition, tests for DLPI, the Fore ATM \ |
---|
24 | API, Unix Domain Sockets, and HP HiPPI LLA may be conditionally com- \ |
---|
25 | piled-in. \ |
---|
26 | |
---|