# $Id$ PortSystem 1.0 name lzmautils-devel version 4.42.0alpha6 categories archivers platforms darwin maintainers afb@macports.org openmaintainer description LZMA Utils long_description \ LZMA utils consist of a few relatively separate submodules: \ * LZMA encoder/decoder command line tool similar to gzip/bzip2 \ * Scripts to ease grepping, diffing and viewing (lz*grep, lzdiff/lzcmp, lzmore/lzless) homepage http://tukaani.org/lzma/ master_sites ${homepage} distname lzma-${version} checksums md5 a22b0c661472e88942f683dd0f1852f0 depends_lib port:libiconv port:gettext patchfiles lzma-4.42.0alpha6-lzmadec.patch patch.args -p1 configure.args --with-libiconv-prefix=${prefix} --with-libintl-prefix=${prefix} # the internal "check.h" header conflicts with port check's configure.cppflags -I${worksrcpath}/src/liblzma/check -I${prefix}/include # the library is being provided by the liblzma port instead post-destroot { file delete -force ${destroot}${prefix}/include/lzma.h file delete -force ${destroot}${prefix}/include/lzma_adv.h foreach lib [glob ${destroot}${prefix}/lib/liblzma*] { file delete $lib } file delete ${destroot}${prefix}/lib/pkgconfig/lzma.pc }