1996-08-03 19:51:05 +00:00
|
|
|
# New ports collection makefile for: netperf
|
1997-07-27 20:56:06 +00:00
|
|
|
# Version required: 2.1.3
|
1996-08-03 19:51:05 +00:00
|
|
|
# Date created: 19 July 1996
|
|
|
|
# Whom: koshy
|
|
|
|
#
|
1999-08-25 04:58:03 +00:00
|
|
|
# $FreeBSD$
|
1996-08-03 19:51:05 +00:00
|
|
|
#
|
|
|
|
|
1997-07-27 20:56:06 +00:00
|
|
|
DISTNAME= netperf-2.1pl3
|
|
|
|
PKGNAME= netperf-2.1.3
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= benchmarks
|
1996-08-03 19:51:05 +00:00
|
|
|
MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/
|
|
|
|
|
1997-05-28 05:48:48 +00:00
|
|
|
MAINTAINER= fenner@freebsd.org
|
1996-08-04 08:46:07 +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
|
|
|
|
|
|
|
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 19:51:05 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
strip ${PREFIX}/netperf/netperf
|
|
|
|
strip ${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
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|