1996-08-03 19:51:05 +00:00
|
|
|
# New ports collection makefile for: netperf
|
|
|
|
# Date created: 19 July 1996
|
|
|
|
# Whom: koshy
|
|
|
|
#
|
1999-08-25 04:58:03 +00:00
|
|
|
# $FreeBSD$
|
1996-08-03 19:51:05 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 22:04:57 +00:00
|
|
|
PORTNAME= netperf
|
2006-11-09 04:49:25 +00:00
|
|
|
PORTVERSION= 2.4.2
|
2006-11-20 04:01:52 +00:00
|
|
|
PORTREVISION= 2
|
2000-09-09 09:54:49 +00:00
|
|
|
CATEGORIES= benchmarks ipv6
|
2006-11-09 04:49:25 +00:00
|
|
|
MASTER_SITES= ftp://ftp.netperf.org/netperf/
|
2000-09-09 09:54:49 +00:00
|
|
|
|
2001-12-17 17:37:30 +00:00
|
|
|
MAINTAINER= sumikawa@FreeBSD.org
|
2006-11-09 04:49:25 +00:00
|
|
|
COMMENT= Network performance benchmarking package
|
2001-12-17 17:37:30 +00:00
|
|
|
|
2006-11-09 04:49:25 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= "transform="
|
|
|
|
CONFIGURE_ARGS= --program-prefix="" --program-suffix=""
|
1996-11-18 11:44:27 +00:00
|
|
|
MAN1= netperf.1 netserver.1
|
1999-09-08 23:06:01 +00:00
|
|
|
|
2006-11-15 01:41:48 +00:00
|
|
|
INFO= netperf
|
2006-11-09 04:49:25 +00:00
|
|
|
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
|
1999-09-08 23:06:01 +00:00
|
|
|
|
2000-09-09 09:54:49 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
|
1999-09-08 23:06:01 +00:00
|
|
|
post-patch:
|
|
|
|
.for i in ${SCRIPTS}
|
2006-11-09 04:49:25 +00:00
|
|
|
@${REINPLACE_CMD} -e 's^%%PREFIX%%^${PREFIX}^' ${WRKSRC}/doc/examples/$i
|
1999-09-08 23:06:01 +00:00
|
|
|
.endfor
|
1996-08-03 19:51:05 +00:00
|
|
|
|
2006-11-15 01:41:48 +00:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
.for i in ${SCRIPTS}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/doc/examples/$i ${EXAMPLESDIR}
|
|
|
|
.endfor
|
|
|
|
|
2000-09-09 09:54:49 +00:00
|
|
|
.include <bsd.port.post.mk>
|