# $Id: Portfile 58309 2009-09-25 21:10:05Z jmr@macports.org $

PortSystem 1.0
PortGroup  muniversal 1.0

name		pv
version		1.1.4
categories	sysutils
platforms	darwin
maintainers	gmail.com:meissnem
description	monitor the progress of data through a pipe
long_description 	\
	pv - Pipe Viewer - is a terminal-based tool for monitoring 	\
	the progress of data through a pipeline. It can be inserted 	\
	into any normal pipeline between two processes to give a 	\
	visual indication of how quickly data is passing through, 	\
	how long it has taken, how near to completion it is, and an 	\
	estimate of how long it will be until completion.
homepage	http://www.ivarch.com/programs/pv.shtml
master_sites	sourceforge:pipeviewer
use_bzip2	yes
checksums	md5 63033e090d61a040407bfd043aeb6d27 \
		sha1 9c86e65751f56715a92ce849f6389533700db6d0 \
		rmd160 e10582d21bd13e11e6b1cb4ae138c148f1995561
configure.args	--mandir=${prefix}/share/man --infodir=${prefix}/share/info
depends_lib	port:gettext

if {${os.platform} == "darwin" && ${os.major} != 9} {
    # Leopard is the only release where stat64 exists and is not deprecated
    patchfiles-append stat64.diff
}
