# $Id: Portfile 114428 2013-12-08 08:47:24Z mww@macports.org $ PortSystem 1.0 name libutf8proc version 1.1.6 categories textproc platforms darwin maintainers mww description library for processing UTF-8 encoded Unicode strings long_description ${description} homepage http://www.public-software-group.org/utf8proc master_sites http://www.public-software-group.org/pub/projects/utf8proc/v${version} distname utf8proc-v${version} checksums rmd160 89acc2ff577f14b685421e148c5198ee4880fd95 \ sha256 fedc8fa78022eb8f0584fbc85c9f9571bcd7fd510de0ce16955289c42f4199e7 use_configure no build.args libdir="${prefix}/lib" build.target libutf8proc.a libutf8proc.dylib build.args-append CC=${configure.cc} variant universal { configure.cflags-append ${configure.universal_cflags} } if {![variant_isset universal] && ${build_arch} ne ""} { configure.cflags-append ${configure.cc_archflags} } pre-build { build.args-append CFLAGS="[join ${configure.cflags}]" } destroot { xinstall -m 755 -W ${worksrcpath} \ libutf8proc.dylib libutf8proc.a \ ${destroot}${prefix}/lib/ xinstall -m 644 ${worksrcpath}/utf8proc.h \ ${destroot}${prefix}/include set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} \ Changelog \ LICENSE \ README \ ${docdir} } livecheck.type regex livecheck.url ${homepage} livecheck.regex utf8proc-v(\[0-9\.\]+).tar.gz