# -*- 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 PortSystem 1.0 name birdfont version 2.29.6 revision 0 checksums rmd160 50aafc6a993ad3a22aeb9c4d154c20f6274455dc \ sha256 20d1cb1f7c2fd51af744b10200dd8242f72d22359d92cc5d7d57c19169f1f88b \ size 2591440 maintainers openmaintainer {gmail.com:johan.mattsson.m @johanmattssonm} categories graphics description Font editor long_description ${description} homepage http://birdfont.org license GPL-3 platforms darwin depends_build port:pkgconfig \ port:python38 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 \ path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \ port:libgee \ path:lib/pkgconfig/libsoup-2.4.pc:libsoup \ port:libnotify \ path:bin/vala:vala \ port:xmlbird master_sites http://birdfont.org/releases/ use_xz yes patchfiles fix-install-name.patch post-patch { reinplace "s|/usr/bin/python3|${prefix}/bin/python3.8|" \ configure \ build.py \ install.py } # 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 universal_variant no configure.cflags-append \ -DMAC configure.args --cc=${configure.cc} \ --cflags="${configure.cflags}" \ --ldflags="${configure.ldflags}" \ --dest="${destroot}" build.cmd ./build.py destroot.cmd ./install.py destroot.target destroot.args --dest="${destroot}" \ --manpages-directory=/share/man/man1 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"