1996-08-03 21:51:05 +02:00
|
|
|
# New ports collection makefile for: netperf
|
|
|
|
# Date created: 19 July 1996
|
|
|
|
# Whom: koshy
|
|
|
|
#
|
1999-08-25 06:58:03 +02:00
|
|
|
# $FreeBSD$
|
1996-08-03 21:51:05 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 00:04:57 +02:00
|
|
|
PORTNAME= netperf
|
2004-11-19 00:37:41 +01:00
|
|
|
PORTVERSION= 2.3.1
|
2005-10-14 05:33:07 +02:00
|
|
|
PORTREVISION= 1
|
2000-09-09 11:54:49 +02:00
|
|
|
CATEGORIES= benchmarks ipv6
|
2003-02-22 09:35:31 +01:00
|
|
|
MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/
|
2004-11-19 00:37:41 +01:00
|
|
|
DISTNAME= netperf-2.3pl1
|
2000-09-09 11:54:49 +02:00
|
|
|
|
2001-12-17 18:37:30 +01:00
|
|
|
MAINTAINER= sumikawa@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Rick Jones' <raj@cup.hp.com> network performance benchmarking package
|
2001-12-17 18:37:30 +01:00
|
|
|
|
1996-08-03 21:51:05 +02:00
|
|
|
MAKEFILE= makefile
|
1996-11-18 12:44:27 +01:00
|
|
|
MAN1= netperf.1 netserver.1
|
1999-09-09 01:06:01 +02:00
|
|
|
|
2003-01-21 02:02:54 +01:00
|
|
|
SCRIPTS= arr_script snapshot_script tcp_range_script tcp_rr_script \
|
1999-09-09 01:06:01 +02:00
|
|
|
tcp_stream_script udp_rr_script udp_stream_script
|
|
|
|
|
2000-09-09 11:54:49 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
|
1999-09-09 01:06:01 +02: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 21:51:05 +02:00
|
|
|
|
|
|
|
post-install:
|
2003-09-24 11:37:11 +02:00
|
|
|
${STRIP_CMD} ${PREFIX}/netperf/netperf
|
|
|
|
${STRIP_CMD} ${PREFIX}/netperf/netserver
|
1999-09-09 01:06:01 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/netperf.man ${PREFIX}/man/man1/netperf.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/netserver.man ${PREFIX}/man/man1/netserver.1
|
1996-08-03 21:51:05 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
1996-11-20 02:59:27 +01:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/netperf
|
1999-09-09 01:06:01 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/netperf.ps ${PREFIX}/share/doc/netperf
|
1999-09-05 01:39:29 +02:00
|
|
|
${GZIP_CMD} ${PREFIX}/share/doc/netperf/netperf.ps
|
1996-08-03 21:51:05 +02:00
|
|
|
.endif
|
|
|
|
|
2000-09-09 11:54:49 +02:00
|
|
|
.include <bsd.port.post.mk>
|