openbsd-ports/benchmarks/netperf/Makefile

35 lines
966 B
Makefile
Raw Normal View History

2000-06-20 16:03:20 -04:00
# $OpenBSD: Makefile,v 1.8 2000/06/20 20:03:20 jakob Exp $
1999-07-08 16:06:19 -04:00
DISTNAME= netperf-2.1pl3
CATEGORIES= benchmarks net
2000-06-20 16:03:20 -04:00
NEED_VERSION= 1.302
1999-07-08 16:06:19 -04:00
MAINTAINER= jakob@openbsd.org
1999-09-23 17:01:50 -04:00
MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/ \
ftp://ftp.sunet.se/pub/network/monitoring/netperf/
1999-07-08 16:06:19 -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
2000-03-05 18:00:29 -05:00
2000-02-22 12:08:31 -05:00
MAKE_FILE= makefile
1999-07-08 16:06:19 -04:00
SHAREDIR= ${PREFIX}/share/netperf
SCRIPTS= tcp_range_script tcp_stream_script tcp_rr_script \
udp_stream_script udp_rr_script \
snapshot_script
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>