# -*- 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 plutovg 1.3.3 v
revision            0
categories          graphics
license             MIT
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
description         Tiny 2D vector graphics library in C
long_description    {*}${description}
checksums           rmd160  16d4a89fd02a7c3bb492a37439ff80b7ecdbf616 \
                    sha256  2b0d17a6e016f47b86f9c00e2cb82600041b1ea1f7d2a00c2d46ae542cbfed3c \
                    size    237227
github.tarball_from archive

compiler.c_standard 2011
# plutovg-stb-image.h:5011: error: thread-local storage not supported for this target
compiler.thread_local_storage yes

configure.args-append   -DBUILD_SHARED_LIBS=ON \
                        -DPLUTOVG_BUILD_EXAMPLES=OFF
