2001-05-06 05:01:12 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2001/05/06 09:01:12 jakob Exp $
|
1999-07-08 16:06:19 -04:00
|
|
|
|
2001-05-05 17:59:24 -04:00
|
|
|
COMMENT= "Network performance benchmark"
|
2001-05-06 05:01:12 -04:00
|
|
|
|
|
|
|
DISTNAME= netperf-2.2alpha
|
1999-07-08 16:06:19 -04:00
|
|
|
CATEGORIES= benchmarks net
|
2000-06-20 16:03:20 -04:00
|
|
|
NEED_VERSION= 1.302
|
1999-07-08 16:06:19 -04:00
|
|
|
|
2000-10-04 17:53:59 -04:00
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
1999-07-08 16:06:19 -04:00
|
|
|
|
1999-09-23 17:01:50 -04:00
|
|
|
MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/ \
|
2001-02-10 16:58:17 -05:00
|
|
|
ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/archive/ \
|
2001-03-01 16:55:20 -05:00
|
|
|
ftp://ftp.sunet.se/pub/network/monitoring/netperf/ \
|
|
|
|
ftp://ftp.sunet.se/pub/network/monitoring/netperf/archive/
|
1999-07-08 16:06:19 -04:00
|
|
|
|
2000-07-11 04:10:54 -04:00
|
|
|
HOMEPAGE= http://www.netperf.org/
|
|
|
|
|
2000-04-08 16:13:22 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= No
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= No
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-03-05 18:00:29 -05:00
|
|
|
|
2000-02-22 12:08:31 -05:00
|
|
|
MAKE_FILE= makefile
|
2001-05-06 05:01:12 -04:00
|
|
|
MAKE_FLAGS+= CFLAGS='-O -DDEBUG_LOG_FILE="\"/tmp/netperf.debug\"" -DUSE_LOOPER -DDO_DNS'
|
1999-07-08 16:06:19 -04:00
|
|
|
|
|
|
|
SHAREDIR= ${PREFIX}/share/netperf
|
2001-05-06 05:01:12 -04:00
|
|
|
SCRIPTS= arr_script snapshot_script \
|
|
|
|
tcp_range_script tcp_rr_script tcp_stream_script \
|
|
|
|
udp_rr_script udp_stream_script
|
1999-07-08 16:06:19 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/netperf ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/netserver ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/netperf.man ${PREFIX}/man/man1/netperf.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/netserver.man ${PREFIX}/man/man1/netserver.1
|
|
|
|
${INSTALL_SCRIPT_DIR} ${SHAREDIR}
|
|
|
|
@for i in ${SCRIPTS}; do \
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/$$i ${SHAREDIR}; \
|
|
|
|
done
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|