2010-10-18 14:36:45 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2010/10/18 18:36:48 espie Exp $
|
2001-04-16 17:33:10 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= tool for measuring maximum TCP and UDP bandwidth
|
2001-04-16 17:33:10 -04:00
|
|
|
|
2010-10-06 04:06:31 -04:00
|
|
|
DISTNAME= iperf-2.0.5
|
2001-04-16 17:33:10 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2010-10-06 04:06:31 -04:00
|
|
|
HOMEPAGE= http://sourceforge.net/projects/iperf/
|
2001-04-16 17:33:10 -04:00
|
|
|
|
2009-05-16 17:48:20 -04:00
|
|
|
MAINTAINER= Rui Reis <rui@openbsd.org>
|
2001-04-16 17:33:10 -04:00
|
|
|
|
2010-10-06 04:06:31 -04:00
|
|
|
# MIT'ish
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2001-04-16 17:43:57 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2010-10-06 04:06:31 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2001-04-16 17:43:57 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2001-04-16 17:33:10 -04:00
|
|
|
|
2006-08-29 15:50:22 -04:00
|
|
|
WANTLIB= c m stdc++
|
2004-10-16 06:42:31 -04:00
|
|
|
|
2009-05-16 17:48:20 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=iperf/}
|
2002-10-04 15:20:24 -04:00
|
|
|
|
2005-05-08 17:16:15 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
2006-08-29 15:50:22 -04:00
|
|
|
CONFIGURE_ARGS+=--disable-threads
|
2010-10-18 14:36:45 -04:00
|
|
|
USE_GROFF = Yes
|
2002-10-27 20:38:44 -05:00
|
|
|
|
2001-04-16 17:33:10 -04:00
|
|
|
do-install:
|
2005-05-08 17:16:15 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/src/iperf ${PREFIX}/bin
|
2009-05-16 17:48:20 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/iperf.1 ${PREFIX}/man/man1
|
2001-04-16 17:33:10 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/iperf
|
2005-05-08 17:16:15 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/iperf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${PREFIX}/share/doc/iperf
|
|
|
|
|
2001-04-16 17:33:10 -04:00
|
|
|
.include <bsd.port.mk>
|