1996-08-03 15:51:05 -04:00
|
|
|
# New ports collection makefile for: netperf
|
1997-07-27 16:56:06 -04:00
|
|
|
# Version required: 2.1.3
|
1996-08-03 15:51:05 -04:00
|
|
|
# Date created: 19 July 1996
|
|
|
|
# Whom: koshy
|
|
|
|
#
|
1999-08-25 00:58:03 -04:00
|
|
|
# $FreeBSD$
|
1996-08-03 15:51:05 -04:00
|
|
|
#
|
|
|
|
|
1997-07-27 16:56:06 -04:00
|
|
|
DISTNAME= netperf-2.1pl3
|
|
|
|
PKGNAME= netperf-2.1.3
|
1996-11-18 06:44:27 -05:00
|
|
|
CATEGORIES= benchmarks
|
1996-08-03 15:51:05 -04:00
|
|
|
MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/
|
|
|
|
|
1997-05-28 01:48:48 -04:00
|
|
|
MAINTAINER= fenner@freebsd.org
|
1996-08-04 04:46:07 -04:00
|
|
|
|
1996-08-03 15:51:05 -04:00
|
|
|
MAKEFILE= makefile
|
1996-11-18 06:44:27 -05:00
|
|
|
MAN1= netperf.1 netserver.1
|
1999-09-08 19:06:01 -04:00
|
|
|
|
|
|
|
SCRIPTS= arr_script snapshot_script tcp_range_script tcp_rr_script \
|
|
|
|
tcp_stream_script udp_rr_script udp_stream_script
|
|
|
|
|
|
|
|
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 15:51:05 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
strip ${PREFIX}/netperf/netperf
|
|
|
|
strip ${PREFIX}/netperf/netserver
|
1999-09-08 19:06:01 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/netperf.man ${PREFIX}/man/man1/netperf.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/netserver.man ${PREFIX}/man/man1/netserver.1
|
1996-08-03 15:51:05 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
1996-11-19 20:59:27 -05:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/netperf
|
1999-09-08 19:06:01 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/netperf.ps ${PREFIX}/share/doc/netperf
|
1999-09-04 19:39:29 -04:00
|
|
|
${GZIP_CMD} ${PREFIX}/share/doc/netperf/netperf.ps
|
1996-08-03 15:51:05 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|