# $Id: Portfile,v 1.2 2005/10/19 08:10:15 blb Exp $

PortSystem		1.0
name			lzop
version			1.01
categories		sysutils compression
maintainers		blb@opendarwin.org
description		File compressor very similar to gzip which favors speed over \
	 compression ratio.
long_description	${description}

homepage		http://www.lzop.org/
master_sites	${homepage}/download/

platforms		darwin
checksums		md5 de1f90bc21a0e56a27f39322f56a275d

depends_lib		lib:liblzo.1:lzo

configure.env	CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
configure.args	--mandir=${prefix}/share/man

post-destroot {
	file mkdir "${destroot}/${prefix}/share/doc/lzop"
	xinstall -m 644 ${worksrcpath}/doc/lzop.html ${worksrcpath}/doc/lzop.ps \
		${worksrcpath}/doc/lzop.tex ${worksrcpath}/doc/lzop.txt \
		${destroot}/${prefix}/share/doc/lzop
}

