# -*- 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           github      1.0
PortGroup           makefile    1.0

github.setup        tlsa libcyaml 1.4.2 v
github.tarball_from archive
revision            0

description         C library for reading and writing YAML.

long_description    \
    The fundamental idea behind CYAML is to allow applications to construct \
    schemas which describe both the permissible structure of the YAML \
    documents to read\/write, and the C data structure(s) in which the loaded \
    data is arranged in memory.

categories          devel
license             ISC
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  3bffb750787989f3fada7f64346354286e388d04 \
                    sha256  3211b2a0589ebfe02c563c96adce9246c0787be2af30353becbbd362998d16dc \
                    size    87056

# https://github.com/tlsa/libcyaml/pull/231
patchfiles-append   0001-data.h-use-_Static_assert-when-static_assert-undefin.patch

compiler.c_standard 2011

depends_lib-append  port:libyaml

build.args-append   VARIANT=release
destroot.args-append \
                    VARIANT=release
