diff options
author | billf <billf@FreeBSD.org> | 1998-12-08 04:18:08 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1998-12-08 04:18:08 +0000 |
commit | 5b20524924c38825cfa8dc2ba0e4e586640e5a3c (patch) | |
tree | 0ebc72c998503b21cee556a8188f40f0a5c121a5 /net/nttcp/Makefile | |
parent | 9991edf29775ae646391b38a8fe40511e2994d60 (diff) | |
download | FreeBSD-ports-5b20524924c38825cfa8dc2ba0e4e586640e5a3c.zip FreeBSD-ports-5b20524924c38825cfa8dc2ba0e4e586640e5a3c.tar.gz |
Import of nttcp
This program is an up to date version of the ttcp program.
It uses inetd (or simulates its behaviour) to start off the remote
side program which will send/receive data. Both sides measure the time
and number of bytes transfered. The local side will print the measures.
The format of the output can be specified on the commandline.
PR: ports/8546
Diffstat (limited to 'net/nttcp/Makefile')
-rw-r--r-- | net/nttcp/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net/nttcp/Makefile b/net/nttcp/Makefile new file mode 100644 index 0000000..ddee0ec --- /dev/null +++ b/net/nttcp/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: nttcp +# Version required: 1.3 +# Date created: 11 Nov 1998 +# Whom: Bill Fumerola <billf@chc-chimes.com> +# +# $Id: $ +# + +DISTNAME= nttcp-1.4 +CATEGORIES= net benchmarks +MASTER_SITES= http://users.leo.org/~bartel/nttcp/ \ + http://www.FreeBSD.org/~billf/ + +MAINTAINER= billf@FreeBSD.org + +ALL_TARGET= nttcp +MAN1= nttcp.1 +USE_GMAKE= yes +MAKE_ENV+= CFLG="${CFLAGS}" + +post-patch: + + @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.pre_sed + @${SED} -e 's#-O2#${CFLAGS}#' \ + ${WRKSRC}/Makefile.pre_sed > ${WRKSRC}/Makefile + +do-install: + + ${INSTALL_PROGRAM} ${WRKSRC}/nttcp ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/nttcp.1 ${PREFIX}/man/man1/ + +.include <bsd.port.mk> |