diff options
author | tron <tron@pkgsrc.org> | 2001-04-17 11:57:41 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-04-17 11:57:41 +0000 |
commit | 28915cc5a90cdb24fb9ff73098a26be3901fca23 (patch) | |
tree | c0c3e1c4595c14f096ab42405c1503d81152e6c9 /benchmarks/ttcp/Makefile | |
parent | bbc67fac9159e0609769d052c8790459dad24b26 (diff) | |
download | pkgsrc-28915cc5a90cdb24fb9ff73098a26be3901fca23.tar.gz |
Move "ttcp" package to category "benchmarks".
Diffstat (limited to 'benchmarks/ttcp/Makefile')
-rw-r--r-- | benchmarks/ttcp/Makefile | 25 |
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" |