# $Id: Portfile,v 1.3 2005/10/19 08:10:06 blb Exp $

PortSystem		1.0
name			lzo
version			1.08
categories		devel compression
maintainers		blb@opendarwin.org
description		Real-time data compression library
long_description \
	LZO is a portable lossless data compression library written in ANSI C. \
	It offers pretty fast compression and very fast decompression. \
	Decompression requires no memory. \
	In addition there are slower compression levels achieving a quite \
	competitive compression ratio while still decompressing at \
	this very high speed. \
	LZO is distributed under the GNU General Public License.

homepage	http://www.oberhumer.com/opensource/lzo/
master_sites    http://www.oberhumer.com/opensource/lzo/download/

platforms	darwin
checksums	md5 ab94d3da364c7cbd5b78d76f1875b0f6

configure.args	--enable-shared --disable-static

post-destroot {
	file mkdir "${destroot}/${prefix}/share/doc/lzo"
	xinstall -m 644 ${worksrcpath}/doc/LTEST.TXT ${worksrcpath}/doc/LZO.FAQ \
		${worksrcpath}/doc/LZO.TXT ${worksrcpath}/doc/LZOAPI.TXT \
		${destroot}/${prefix}/share/doc/lzo
}
