2007-09-15 17:30:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2007/09/15 21:30:26 simon Exp $
|
1999-07-08 16:06:19 -04:00
|
|
|
|
2007-09-15 17:30:26 -04:00
|
|
|
COMMENT= Network performance benchmark
|
2001-05-06 05:01:12 -04:00
|
|
|
|
2004-07-23 14:29:52 -04:00
|
|
|
DISTNAME= netperf-2.3
|
2007-06-01 18:36:52 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
1999-07-08 16:06:19 -04:00
|
|
|
CATEGORIES= benchmarks net
|
|
|
|
|
2000-10-04 17:53:59 -04:00
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
1999-07-08 16:06:19 -04:00
|
|
|
|
2004-11-21 13:01:03 -05:00
|
|
|
#MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/ \
|
|
|
|
# ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/archive/ \
|
2006-02-03 15:45:40 -05:00
|
|
|
MASTER_SITES= ftp://ftp.netperf.org/netperf/archive/ \
|
2004-07-23 14:29:52 -04:00
|
|
|
http://ftp.sunet.se/pub/network/monitoring/netperf/ \
|
|
|
|
http://ftp.sunet.se/pub/network/monitoring/netperf/archive/
|
1999-07-08 16:06:19 -04:00
|
|
|
|
2006-07-19 09:41:02 -04:00
|
|
|
HOMEPAGE= http://www.netperf.org/netperf/NetperfPage.html
|
2000-07-11 04:10:54 -04:00
|
|
|
|
2000-04-08 16:13:22 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= No
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= No
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-21 13:01:03 -05:00
|
|
|
WANTLIB= c m
|
2000-03-05 18:00:29 -05:00
|
|
|
|
2000-02-22 12:08:31 -05:00
|
|
|
MAKE_FILE= makefile
|
2007-06-01 18:36:52 -04:00
|
|
|
MAKE_FLAGS+= CC="${CC}" CFLAGS='${CFLAGS} -DDEBUG_LOG_FILE="\"/tmp/netperf.debug\"" -DUSE_LOOPER -DDO_DNS'
|
1999-07-08 16:06:19 -04:00
|
|
|
|
2002-10-24 18:46:16 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
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>
|