PORTNAME=	nttcp
PORTVERSION=	1.47
PORTREVISION=	4
CATEGORIES=	benchmarks net
MASTER_SITES=	http://freeware.sgi.com/source/nttcp/ \
		LOCAL/martymac

MAINTAINER=	martymac@FreeBSD.org
COMMENT=	Client/server program for testing network performance

# Converted from RESTRICTED
LICENSE=	NTTCP
LICENSE_NAME=	nttcp
LICENSE_TEXT=	No commercial use
LICENSE_PERMS=	auto-accept

ALL_TARGET=	nttcp
USES=		gmake
MAKE_ENV+=	OPT="${CFLAGS}"
NOPRECIOUSMAKEVARS=yes

PLIST_FILES=	bin/nttcp share/man/man1/nttcp.1.gz

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/nttcp ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/nttcp.1 ${STAGEDIR}${PREFIX}/share/man/man1

.include <bsd.port.mk>
