# $Id$ PortSystem 1.0 name lzma version 4.43 revision 2 categories archivers platforms darwin maintainers nomaintainer 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 sourceforge:sevenzip distname lzma[strsed ${version} {/\.//}] use_bzip2 yes checksums md5 c4e1b467184c7cffd4371c74df2baf0f \ sha1 1667abfb40da82d53fa2690f3cd58a0e7e751e55 \ rmd160 f4f19c9f9bd8ded26318208e75ac14c8869c4ef8 patchfiles patch-lzma.1 worksrcdir ${distname}/C/7zip/Compress/LZMA_Alone extract.dir ${workpath}/${distname} pre-extract { file mkdir ${workpath}/${distname} } use_configure no build.type gnu build.args -f makefile.gcc post-install { ui_msg "The LZMA SDK program is installed as \"lzma_alone\", to avoid conflict with LZMA Utils" } destroot { xinstall -s ${worksrcpath}/lzma ${destroot}${prefix}/bin/lzma_alone xinstall ${worksrcpath}/lzma.1 ${destroot}${prefix}/share/man/man1/lzma_alone.1 set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${workpath}/${distname} CPL.html LGPL.txt history.txt lzma.txt \ ${destroot}${docdir} } livecheck.check regex livecheck.regex {(\d+(?:\.\d+)*):}