Ticket #1644: Portfile

File Portfile, 1.2 KB (added by digdog@…, 21 years ago)

Portfile

Line 
1# $Id: $
2
3PortSystem      1.0
4name            netperf
5version         2.2pl4
6homepage        http://www.netperf.org/
7description     a network performance benchmark
8categories      net
9platforms       darwin freebsd
10maintainers     digdog@opendarwin.org
11master_sites    ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf \
12                ftp://col.hp.com/dist/networking/benchmarks/netperf             
13checksums       md5 0ba938bc65dac4989639a40fdf892952
14patch           { 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 }
16configure       {}
17post-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                }
20long_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