# -*- 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        sammycage plutosvg 0.0.8 v
revision            0
categories          graphics
license             MIT
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
description         Tiny SVG rendering library in C
long_description    {*}${description}
checksums           rmd160  36e10fd2b9a1f017f6c2d00ae8e9a5e0be0e93ee \
                    sha256  49d5cfe772d3aa10cd4879f2f6e189f5083c08e4c8ea01bf3d5b87c97dfca7d2 \
                    size    116898
github.tarball_from archive

depends_lib-append  path:lib/pkgconfig/freetype2.pc:freetype \
                    port:plutovg

compiler.c_standard 1999

configure.args-append   -DBUILD_SHARED_LIBS=ON \
                        -DPLUTOSVG_BUILD_EXAMPLES=OFF \
                        -DPLUTOSVG_ENABLE_FREETYPE=ON
