34 lines
833 B
Makefile
34 lines
833 B
Makefile
# $OpenBSD: Makefile,v 1.17 2010/10/18 18:36:48 espie Exp $
|
|
|
|
COMMENT= tool for measuring maximum TCP and UDP bandwidth
|
|
|
|
DISTNAME= iperf-2.0.5
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://sourceforge.net/projects/iperf/
|
|
|
|
MAINTAINER= Rui Reis <rui@openbsd.org>
|
|
|
|
# MIT'ish
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c m stdc++
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=iperf/}
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS+=--disable-threads
|
|
USE_GROFF = Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/src/iperf ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/iperf.1 ${PREFIX}/man/man1
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/iperf
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/iperf
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${PREFIX}/share/doc/iperf
|
|
|
|
.include <bsd.port.mk>
|