diff options
Diffstat (limited to 'benchmarks/netperf/Makefile')
-rw-r--r-- | benchmarks/netperf/Makefile | 48 |
1 files changed, 44 insertions, 4 deletions
diff --git a/benchmarks/netperf/Makefile b/benchmarks/netperf/Makefile index f9666e7d3ec7..2d732c06f402 100644 --- a/benchmarks/netperf/Makefile +++ b/benchmarks/netperf/Makefile @@ -7,18 +7,58 @@ PORTNAME= netperf PORTVERSION= 2.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= benchmarks ipv6 -MASTER_SITES= ftp://ftp.netperf.org/netperf/ +MASTER_SITES= ftp://ftp.netperf.org/netperf/ \ + http://fossies.org/unix/misc/ MAINTAINER= sumikawa@FreeBSD.org COMMENT= Network performance benchmarking package +OPTIONS= SOCKETS "Enable Unix Domain socket support" On \ + SCTP "Enable SCTP support" On \ + EXS "Enable ICSC async socket support" On \ + HISTOGRAM "Enable optional histogram output" On \ + OMNI "Enable OMNI tests" Off \ + +.include <bsd.port.options.mk> + GNU_CONFIGURE= yes CONFIGURE_ENV= "transform=" -CONFIGURE_ARGS= --program-prefix="" --program-suffix="" -MAN1= netperf.1 netserver.1 +CONFIGURE_ARGS= --program-prefix="" --program-suffix="" --enable-dirty \ + --enable-demo --enable-burst --enable-intervals + +.if !defined(WITHOUT_SOCKETS) +CONFIGURE_ARGS+= --enable-unixdomain +.else +CONFIGURE_ARGS+= --disable-unixdomain +.endif + +.if !defined(WITHOUT_SCTP) +CONFIGURE_ARGS+= --enable-sctp +.else +CONFIGURE_ARGS+= --disable-sctp +.endif +.if !defined(WITHOUT_EXS) +CONFIGURE_ARGS+= --enable-exs +.else +CONFIGURE_ARGS+= --disable-exs +.endif + +.if !defined(WITHOUT_HISTOGRAM) +CONFIGURE_ARGS+= --enable-histogram +.else +CONFIGURE_ARGS+= --disable-histogram +.endif + +.if !defined(WITHOUT_OMNI) +CONFIGURE_ARGS+= --enable-omni +.else +CONFIGURE_ARGS+= --disable-omni +.endif + +MAN1= netperf.1 netserver.1 INFO= netperf SCRIPTS= arr_script packet_byte_script sctp_stream_script snapshot_script \ tcp_range_script tcp_rr_script tcp_stream_script udp_rr_script \ |