29 lines
842 B
Makefile
29 lines
842 B
Makefile
# $OpenBSD: Makefile,v 1.2 1999/09/23 21:01:50 jakob Exp $
|
|
|
|
DISTNAME= netperf-2.1pl3
|
|
CATEGORIES= benchmarks net
|
|
|
|
MAINTAINER= jakob@openbsd.org
|
|
|
|
MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/ \
|
|
ftp://ftp.sunet.se/pub/network/monitoring/netperf/
|
|
|
|
MAKEFILE= makefile
|
|
|
|
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>
|