# $Id: Portfile 86408 2011-10-25 10:47:46Z ryandesign@macports.org $

PortSystem 1.0

name			clpbar
version			1.11.0
categories		sysutils
platforms		darwin
maintainers		nomaintainer
description		tool to copy a stream of data and print a progress bar
long_description	Bar is a simple tool to copy a stream of data and print a \
				display for the user on stderr showing the ammount of data \
				passed, the throughput of the data transfer, and the transfer \
				time, or, if the total size of the data stream is known, the \
				estimated time remaining, what percentage of the data transfer \
				has been completed, and a progress bar.

homepage		http://clpbar.sourceforge.net/
master_sites	sourceforge:project/clpbar/clpbar/bar-${version}
distname		bar_${version}
worksrcdir      bar-${version}

checksums       sha1    9685c0bd9a95bf149576c7edc8818266e471b15c \
                rmd160  d22cff55daa93ac3673b8edb7d7106eb9cbe8b36

universal_variant	no

configure.args	--mandir=${prefix}/share/man

test.run        yes
test.target     check

livecheck.type  regex
livecheck.url   http://sourceforge.net/projects/${name}/files
livecheck.regex /bar_(\[0-9.\]+)${extract.suffix}
