summaryrefslogtreecommitdiff
path: root/net/iperf/Makefile
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2003-01-27 13:13:55 +0000
committerseb <seb@pkgsrc.org>2003-01-27 13:13:55 +0000
commit66bc1fa64fcf57ec22950c25e0ab8381986999ea (patch)
tree2f1d9baa6f942cbe21f6e881bb2c8eb08e3924c2 /net/iperf/Makefile
parentde52ed7373453c3779051e3672c1e0f25a14bb3a (diff)
downloadpkgsrc-66bc1fa64fcf57ec22950c25e0ab8381986999ea.tar.gz
Initial import of iperf, version 1.6.5, into the NetBSD Packages Collection.
Iperf is a tool for measuring TCP and UDP bandwidth performance. It reports bandwidth, delay jitter, datagram loss. It also supports IPv6 and IP Multicast.
Diffstat (limited to 'net/iperf/Makefile')
-rw-r--r--net/iperf/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/net/iperf/Makefile b/net/iperf/Makefile
new file mode 100644
index 00000000000..1594399ba05
--- /dev/null
+++ b/net/iperf/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/01/27 13:13:55 seb Exp $
+#
+
+DISTNAME= iperf-1.6.5-source
+PKGNAME= ${DISTNAME:C/-source//}
+CATEGORIES= net
+MASTER_SITES= http://dast.nlanr.net/Projects/Iperf/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://dast.nlanr.net/Projects/Iperf/
+COMMENT= TCP and UDP bandwidth performance measurement tool
+
+NOT_FOR_PLATFORM= *-*-sparc64 # internal g++ error
+
+WRKSRC= ${WRKDIR}/${PKGNAME}
+USE_BUILDLINK2= YES
+CONFIGURE_DIRS= ${WRKSRC}/cfg
+INSTALL_DIRS= ${WRKSRC}/src
+GNU_CONFIGURE= YES
+MAKE_ENV+= INSTALL_DIR=${PREFIX}/bin
+
+PTHREAD_OPTS= native optional
+.include "../../mk/pthread.buildlink2.mk"
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.gif ${PREFIX}/share/doc/html/${PKGBASE}
+
+.include "../../mk/bsd.pkg.mk"