summaryrefslogtreecommitdiff
path: root/benchmarks/ttcp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/ttcp/Makefile')
-rw-r--r--benchmarks/ttcp/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/benchmarks/ttcp/Makefile b/benchmarks/ttcp/Makefile
new file mode 100644
index 00000000000..3fecb350900
--- /dev/null
+++ b/benchmarks/ttcp/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2001/04/17 11:57:41 tron Exp $
+
+DISTNAME= ttcp
+PKGNAME= ${DISTNAME}-1.12
+CATEGORIES= benchmarks net
+MASTER_SITES= http://www.ccci.com/tools/ttcp/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= thorpej@netbsd.org
+HOMEPAGE= http://www.ccci.com/tools/ttcp/
+COMMENT= TCP testing and performance measuring tool
+
+.include "../../mk/bsd.prefs.mk"
+
+MANCOMPRESSED_IF_MANZ= YES
+WRKSRC= ${WRKDIR}
+
+.if (${OPSYS} == SunOS)
+do-build:
+ cd ${WRKSRC} && \
+ ${CC} ttcp.c ${CFLAGS} $(LDFLAGS) -lsocket -lnsl -o ttcp && \
+ nroff -man ttcp.1 >ttcp.cat1
+.endif
+
+.include "../../mk/bsd.pkg.mk"