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
|
2003-02-22 08:35:31 +00:00
|
|
|
PORTVERSION= 2.2.3
|
2000-09-09 09:54:49 +00:00
|
|
|
CATEGORIES= benchmarks ipv6
|
2003-02-22 08:35:31 +00:00
|
|
|
MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/
|
|
|
|
DISTNAME= netperf-2.2pl3
|
2000-09-09 09:54:49 +00:00
|
|
|
|
2001-12-17 17:37:30 +00:00
|
|
|
MAINTAINER= sumikawa@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Rick Jones' <raj@cup.hp.com> network performance benchmarking package
|
2001-12-17 17:37:30 +00:00
|
|
|
|
1996-08-03 19:51:05 +00:00
|
|
|
MAKEFILE= makefile
|
1996-11-18 11:44:27 +00:00
|
|
|
MAN1= netperf.1 netserver.1
|
1999-09-08 23:06:01 +00:00
|
|
|
|
2003-01-21 01:02:54 +00:00
|
|
|
SCRIPTS= arr_script snapshot_script tcp_range_script tcp_rr_script \
|
1999-09-08 23:06:01 +00:00
|
|
|
tcp_stream_script udp_rr_script udp_stream_script
|
|
|
|
|
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}
|
|
|
|
@${MV} ${WRKSRC}/$i ${WRKSRC}/$i.pre-sed
|
|
|
|
@${SED} -e 's^%%PREFIX%%^${PREFIX}^' ${WRKSRC}/$i.pre-sed > ${WRKSRC}/$i
|
|
|
|
.endfor
|
1996-08-03 19:51:05 +00:00
|
|
|
|
|
|
|
post-install:
|
2003-09-24 09:37:11 +00:00
|
|
|
${STRIP_CMD} ${PREFIX}/netperf/netperf
|
|
|
|
${STRIP_CMD} ${PREFIX}/netperf/netserver
|
1999-09-08 23:06:01 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/netperf.man ${PREFIX}/man/man1/netperf.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/netserver.man ${PREFIX}/man/man1/netserver.1
|
1996-08-03 19:51:05 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
1996-11-20 01:59:27 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/netperf
|
1999-09-08 23:06:01 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/netperf.ps ${PREFIX}/share/doc/netperf
|
1999-09-04 23:39:29 +00:00
|
|
|
${GZIP_CMD} ${PREFIX}/share/doc/netperf/netperf.ps
|
1996-08-03 19:51:05 +00:00
|
|
|
.endif
|
|
|
|
|
2000-09-09 09:54:49 +00:00
|
|
|
.include <bsd.port.post.mk>
|