1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/benchmarks/netperf/Makefile

45 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: netperf
# Date created: 19 July 1996
# Whom: koshy
#
1999-08-25 04:58:03 +00:00
# $FreeBSD$
#
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
COMMENT= Rick Jones' <raj@cup.hp.com> network performance benchmarking package
2001-12-17 17:37:30 +00:00
MAKEFILE= makefile
MAN1= netperf.1 netserver.1
SCRIPTS= arr_script snapshot_script tcp_range_script tcp_rr_script \
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
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
post-install:
${STRIP_CMD} ${PREFIX}/netperf/netperf
${STRIP_CMD} ${PREFIX}/netperf/netserver
${INSTALL_MAN} ${WRKSRC}/netperf.man ${PREFIX}/man/man1/netperf.1
${INSTALL_MAN} ${WRKSRC}/netserver.man ${PREFIX}/man/man1/netserver.1
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/netperf
${INSTALL_DATA} ${WRKSRC}/netperf.ps ${PREFIX}/share/doc/netperf
${GZIP_CMD} ${PREFIX}/share/doc/netperf/netperf.ps
.endif
2000-09-09 09:54:49 +00:00
.include <bsd.port.post.mk>