diff --git a/benchmarks/netperf/Makefile b/benchmarks/netperf/Makefile index cd5e18d0132f..9cb015f3cb76 100644 --- a/benchmarks/netperf/Makefile +++ b/benchmarks/netperf/Makefile @@ -7,6 +7,7 @@ PORTNAME= netperf PORTVERSION= 2.4.2 +PORTREVISION= 1 CATEGORIES= benchmarks ipv6 MASTER_SITES= ftp://ftp.netperf.org/netperf/ @@ -18,6 +19,7 @@ CONFIGURE_ENV= "transform=" CONFIGURE_ARGS= --program-prefix="" --program-suffix="" 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 \ udp_stream_script @@ -31,4 +33,10 @@ post-patch: @${REINPLACE_CMD} -e 's^%%PREFIX%%^${PREFIX}^' ${WRKSRC}/doc/examples/$i .endfor +post-install: + ${MKDIR} ${EXAMPLESDIR} +.for i in ${SCRIPTS} + ${INSTALL_SCRIPT} ${WRKSRC}/doc/examples/$i ${EXAMPLESDIR} +.endfor + .include diff --git a/benchmarks/netperf/pkg-plist b/benchmarks/netperf/pkg-plist index fabaa39039c2..63687690cea2 100644 --- a/benchmarks/netperf/pkg-plist +++ b/benchmarks/netperf/pkg-plist @@ -1,11 +1,11 @@ -netperf/netperf -netperf/netserver -netperf/tcp_range_script -netperf/tcp_stream_script -netperf/tcp_rr_script -netperf/udp_stream_script -netperf/udp_rr_script -netperf/snapshot_script -%%PORTDOCS%%%%DOCSDIR%%/netperf.ps.gz -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm netperf +bin/netperf +bin/netserver +%%EXAMPLESDIR%%/arr_script +%%EXAMPLESDIR%%/packet_byte_script +%%EXAMPLESDIR%%/sctp_stream_script +%%EXAMPLESDIR%%/snapshot_script +%%EXAMPLESDIR%%/tcp_range_script +%%EXAMPLESDIR%%/tcp_rr_script +%%EXAMPLESDIR%%/tcp_stream_script +%%EXAMPLESDIR%%/udp_rr_script +%%EXAMPLESDIR%%/udp_stream_script