PortSystem 1.0 PortGroup muniversal 1.0 name ucl version 1.03 revision 1 categories archivers platforms darwin maintainers nomaintainer license GPL-2+ description A data compression library with low memory usage long_description \ UCL implements a number of compression algorithms that \ achieve an excellent compression ratio while allowing *very* \ fast decompression. Decompression requires no additional memory. homepage http://www.oberhumer.com/opensource/ucl/ master_sites ${homepage}download/ checksums md5 852bd691d8abc75b52053465846fba34 \ sha1 5847003d136fbbca1334dd5de10554c76c755f7c \ rmd160 d1b50127d482481c125eabff9a9c157d491c4a6a patchfiles autoconf.patch \ missing-macros.patch post-patch { # Add files required by autoreconf. touch ${worksrcpath}/ChangeLog } # Fix implicit declaration of functions and detection of arm64. use_autoreconf yes autoreconf.args -fvi configure.args --enable-shared configure.env F77=no # Because the configure script doesn't save the LDFLAGS MacPorts sets. merger_arch_flag no merger_arch_compiler yes if {!${universal_possible} || ![variant_isset universal]} { configure.cc-append [get_canonical_archflags] } post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING NEWS README THANKS TODO \ ${destroot}${docdir} } livecheck.type regex livecheck.url ${homepage} livecheck.regex "Version (\\d+(?:\\.\\d+)*)"