# Created by: mich@freebsdcluster.org
# $FreeBSD: benchmarks/pipebench/Makefile 327708 2013-09-20 15:52:44Z bapt $

PORTNAME=	pipebench
PORTVERSION=	0.40
CATEGORIES=	benchmarks
MASTER_SITES=	ftp://ftp.habets.pp.se/pub/synscan/

MAINTAINER=	mich@FreeBSD.org
COMMENT=	Pipebench shows current throughput/amount of data through a pipe

CFLAGS+=	-w -pedantic

NO_STAGE=	yes
do-build:
	cd ${WRKSRC} && \
	${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c

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

MAN1=		pipebench.1
PLIST_FILES=	bin/pipebench

.include <bsd.port.mk>
