# $Id: Portfile 74475 2010-12-18 20:02:44Z macsforever2000@macports.org $

PortSystem 1.0
PortGroup  muniversal 1.0

name		pv
version		1.2.0
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	googlecode:pipeviewer
use_bzip2	yes
checksums           md5     67aedf6dbcd068d5feeaa76156153f4f \
                    sha1    bb921bca55347a1b7c6f74ce6b70cff0325499d7 \
                    rmd160  3dfb7dc65c2d8032d3db1dcce27b42cc9cc14540
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
}
