aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/netperf
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2006-11-15 01:41:48 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2006-11-15 01:41:48 +0000
commit6163f319e95222127258c599459cb863dd0a6d85 (patch)
tree729a66c120e8196431d900b18ce0978ab4475e94 /benchmarks/netperf
parentb64c955cf9f8d96c89c90c9dff0dd88480f21b7e (diff)
downloadports-6163f319e95222127258c599459cb863dd0a6d85.tar.gz
ports-6163f319e95222127258c599459cb863dd0a6d85.zip
Fix plist.
Notes
Notes: svn path=/head/; revision=177287
Diffstat (limited to 'benchmarks/netperf')
-rw-r--r--benchmarks/netperf/Makefile8
-rw-r--r--benchmarks/netperf/pkg-plist22
2 files changed, 19 insertions, 11 deletions
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 <bsd.port.post.mk>
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