# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
maintainers openmaintainer {gmail.com:johan.mattsson.m @johanmattssonm}
long_description ${description}
homepage http://birdfont.org
depends_build port:pkgconfig \
depends_lib path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
path:lib/pkgconfig/cairo.pc:cairo \
master_sites http://birdfont.org/releases/
checksums rmd160 0559c52a7faab864ab9beb75a6cf7b2956b48554 \
sha256 4274934ba6ac1532372113473c0d19f7dfbbd301017d4cd14abaab98ea34283a \
patchfiles fix-install-name.patch
reinplace "s|/usr/bin/python3|${prefix}/bin/python3.7|" \
# I'm not convinced it wouldn't be possible to build this +universal, just
# haven't had the time to find out how to pass all necessary flags
configure.cflags-append \
configure.args --cc=${configure.cc} \
--cflags="${configure.cflags}" \
--ldflags="${configure.ldflags}" \
destroot.cmd ./install.py
destroot.args --dest="${destroot}" \