summaryrefslogtreecommitdiff
path: root/benchmarks/ttcp/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-04-17 11:57:41 +0000
committertron <tron@pkgsrc.org>2001-04-17 11:57:41 +0000
commit28915cc5a90cdb24fb9ff73098a26be3901fca23 (patch)
treec0c3e1c4595c14f096ab42405c1503d81152e6c9 /benchmarks/ttcp/Makefile
parentbbc67fac9159e0609769d052c8790459dad24b26 (diff)
downloadpkgsrc-28915cc5a90cdb24fb9ff73098a26be3901fca23.tar.gz
Move "ttcp" package to category "benchmarks".
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"