1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Fix plist.

This commit is contained in:
Munechika SUMIKAWA 2006-11-15 01:41:48 +00:00
parent b64c955cf9
commit 6163f319e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177287
2 changed files with 19 additions and 11 deletions

View File

@ -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>

View File

@ -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