aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2006-11-15 09:41:48 +0800
committersumikawa <sumikawa@FreeBSD.org>2006-11-15 09:41:48 +0800
commit1ca830781ce87d93a393dee7803b3bb8538f1bcc (patch)
treea7c6737c5af061a51c3ddd5d2f53042df3bde55d /benchmarks
parent9df40a02d8287db4674eb3f71ed4eb281891bfa6 (diff)
downloadfreebsd-ports-gnome-1ca830781ce87d93a393dee7803b3bb8538f1bcc.tar.gz
freebsd-ports-gnome-1ca830781ce87d93a393dee7803b3bb8538f1bcc.tar.zst
freebsd-ports-gnome-1ca830781ce87d93a393dee7803b3bb8538f1bcc.zip
Fix plist.
Diffstat (limited to 'benchmarks')
-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