# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem		1.0

name			ucl
version			1.03
categories		archivers
platforms		darwin
maintainers		nomaintainer
description		A data compression library with low memory usage

long_description \
				UCL implements a number of compression algorithms that \
				achieve an excellent compression ratio while allowing *very* \
				fast decompression. Decompression requires no additional memory.

homepage		http://www.oberhumer.com/opensource/ucl/
master_sites	${homepage}download/

checksums		md5 852bd691d8abc75b52053465846fba34 \
				sha1 5847003d136fbbca1334dd5de10554c76c755f7c \
				rmd160 d1b50127d482481c125eabff9a9c157d491c4a6a

configure.args	--enable-shared

post-destroot {
	set docdir ${prefix}/share/doc/${name}-${version}
	xinstall -d ${destroot}${docdir}
	xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING NEWS README THANKS TODO \
		${destroot}${docdir}
}

livecheck.type	regex
livecheck.url	${homepage}
livecheck.regex	"Version (\\d+(?:\\.\\d+)*)"

