[95896] trunk/dports/net/netperf/Portfile
jmr at macports.org
jmr at macports.org
Thu Jul 26 02:21:16 PDT 2012
Revision: 95896
https://trac.macports.org/changeset/95896
Author: jmr at macports.org
Date: 2012-07-26 02:21:16 -0700 (Thu, 26 Jul 2012)
Log Message:
-----------
netperf: update to 2.6.0 (#33245)
Modified Paths:
--------------
trunk/dports/net/netperf/Portfile
Modified: trunk/dports/net/netperf/Portfile
===================================================================
--- trunk/dports/net/netperf/Portfile 2012-07-26 06:50:35 UTC (rev 95895)
+++ trunk/dports/net/netperf/Portfile 2012-07-26 09:21:16 UTC (rev 95896)
@@ -1,10 +1,11 @@
# $Id$
PortSystem 1.0
+
name netperf
-version 2.2pl5
-revision 1
+version 2.6.0
categories net
+license Noncommercial BSD BSD-old
platforms darwin freebsd
maintainers nomaintainer
description a network performance benchmark
@@ -16,27 +17,8 @@
for DLPI, the Fore ATM API, Unix Domain Sockets, and \
HP HiPPI LLA may be conditionally compiled-in.
homepage http://www.netperf.org/
-master_sites ftp://ftp.netperf.org/netperf/archive
-checksums md5 a4b0f4a5fbd8bec23002ad8023e01729
-
-fetch.use_epsv yes
-
-patch {
- reinplace "s|/opt/netperf|${destroot}${prefix}/bin|g" \
- ${worksrcpath}/makefile
- reinplace "s|-D\$(LOG_FILE) -DNEED_MAKEFILE_EDIT|-D\$(LOG_FILE)|g" \
- ${worksrcpath}/makefile
- reinplace "s|NETHOME=\".\"|NETHOME=\"${prefix}/bin\"|" \
- ${worksrcpath}/snapshot_script ${worksrcpath}/tcp_range_script \
- ${worksrcpath}/tcp_rr_script ${worksrcpath}/tcp_stream_script \
- ${worksrcpath}/udp_rr_script ${worksrcpath}/udp_stream_script
-}
-
-use_configure no
-
-post-destroot {
- xinstall -m 444 ${worksrcpath}/netperf.man \
- ${destroot}${prefix}/share/man/man1/netperf.1
- xinstall -m 444 ${worksrcpath}/netserver.man \
- ${destroot}${prefix}/share/man/man1/netserver.1
-}
+master_sites ftp://ftp.netperf.org/netperf/ \
+ ftp://ftp.netperf.org/netperf/archive/
+use_bzip2 yes
+checksums rmd160 c3adf0b67e1d8e8a51c229910aa7347182991df2 \
+ sha256 cd8dac710d4273d29f70e8dbd09353a6362ac58a11926e0822233c0cb230323a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120726/09a37bd3/attachment.html>
More information about the macports-changes
mailing list