openbsd-ports/benchmarks/netperf/Makefile

45 lines
1.3 KiB
Makefile
Raw Normal View History

2004-11-21 13:01:03 -05:00
# $OpenBSD: Makefile,v 1.20 2004/11/21 18:01:03 espie Exp $
1999-07-08 16:06:19 -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
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/ \
MASTER_SITES= \
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
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
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
2002-07-17 18:00:44 -04:00
MAKE_FLAGS+= CC="${CC}" CFLAGS='-O -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>