# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 147886 2016-04-20 03:53:01Z ryandesign@macports.org $ PortSystem 1.0 name harfbuzz version 1.2.6 categories graphics platforms darwin maintainers ryandesign openmaintainer license MIT description OpenType text shaping engine long_description HarfBuzz is an ${description}. homepage https://www.freedesktop.org/wiki/Software/HarfBuzz/ master_sites https://www.freedesktop.org/software/harfbuzz/release/ use_bzip2 yes checksums rmd160 abf75717cde4925bb0c1e7cb0d4c33fe92be03e5 \ sha256 7537bacccb3524df0cd2a4d5bc7e168bcc10e8171e0324f3cd522583868192c1 depends_build port:pkgconfig configure.args --disable-silent-rules \ ac_cv_prog_AWK=/usr/bin/awk if {${name} eq ${subport}} { revision 0 depends_lib-append \ path:lib/pkgconfig/cairo.pc:cairo \ port:freetype \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:graphite2 configure.args-append \ --with-cairo \ --with-freetype \ --with-glib \ --with-graphite2 \ --without-icu post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} \ AUTHORS \ COPYING \ ChangeLog \ NEWS \ README \ THANKS \ TODO \ ${destroot}${docdir} } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} } else { livecheck.type none } subport harfbuzz-icu { revision 0 description HarfBuzz ICU support library long_description This library adds support for ICU (the International Components for Unicode) to HarfBuzz. depends_lib-append \ port:harfbuzz \ port:icu # Generate a newer libtool that passes -stdlib when linking C++ dylibs. use_autoreconf yes autoreconf.args-append --force configure.args-append \ --without-cairo \ --without-freetype \ --without-glib \ --without-graphite2 \ --with-icu destroot.dir ${worksrcpath}/src destroot.args nodist_pkginclude_HEADERS= pkginclude_HEADERS=hb-icu.h lib_LTLIBRARIES=libharfbuzz-icu.la pkgconfig_DATA=harfbuzz-icu.pc }