# -*- 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

PortSystem          1.0
PortGroup           cmake 1.1
PortGroup           github 1.0

github.setup        silnrsi graphite 1.3.14
revision            0

checksums           rmd160  10a20de8860bc59081571077071fe06b194537ab \
                    sha256  f99d1c13aa5fa296898a181dff9b82fb25f6cc0933dbaa7a475d8109bd54209d \
                    size    6630061

name                graphite2
categories          graphics
platforms           darwin
maintainers         {ryandesign @ryandesign} openmaintainer
license             LGPL-2.1+

description         a “smart font” system for lesser-known languages

long_description    Graphite is a “smart font” system developed specifically \
                    to handle the complexities of lesser-known languages of \
                    the world.

homepage            http://graphite.sil.org/
github.tarball_from releases
distname            ${name}-${version}
extract.suffix      .tgz

compiler.cxx_standard \
                    2011

set py_ver          3.13
set py_ver_nodot    [string map {. {}} ${py_ver}]

test.run            yes
#test.env            ARGS=-V
# Use the same python as fonttools.
configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python${py_ver}
depends_test        port:py${py_ver_nodot}-fonttools
