# $Id: Portfile,v 1.2 2004/10/15 11:25:41 mww Exp $

PortSystem 1.0

name			lzma
version			4.06
categories		archivers
platforms		darwin
maintainers		mww@opendarwin.org
description		high compression ratio archiver
long_description	LZMA is default and general compression method of 7z \
					format in 7-Zip program. LZMA provides high compression \
					ratio and very fast decompression.

homepage		http://www.7-zip.org/sdk.html
master_sites	http://www.7-zip.org/dl/
distname		lzma406
checksums		md5 a09378411cba5f786b5c49c9c58496df
use_zip			yes

worksrcdir		SRC/7zip/Compress/LZMA_Alone

use_configure	no

destroot	{
	xinstall -m 755 -s ${worksrcpath}/lzma ${destroot}${prefix}/bin
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${workpath} CPL.html LGPL.txt history.txt lzma.txt \
		${destroot}${prefix}/share/doc/${name}
}
