# $Id: Portfile,v 1.3 2004/10/17 05:52:29 toby Exp $

PortSystem 1.0
name             pipebench
version          0.40
categories       benchmarks sysutils
maintainers      toby@opendarwin.org
description      benchmark the throughput of a pipe
long_description \
	Pipebench shows the current throughput and amount of data \
	going through a pipe. It can be used to show the progress \
	of a large md5 process: cat bigfile | pipebench | md5
homepage         http://www.habets.pp.se/synscan/programs.php?prog=pipebench
platforms        darwin
master_sites     ftp://ftp.habets.pp.se/pub/synscan/
checksums        md5 eb1b888ec6c413c2cb096ac052174a78

patch {
	reinplace s|/usr/local|${destroot}${prefix}| ${worksrcpath}/Makefile
	reinplace s|man/man1|share/man/man1| ${worksrcpath}/Makefile
}

configure {}

destroot.destdir
