# -*- 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       cmake 1.1
PortGroup       legacysupport 1.1

github.setup    pantoniou libfyaml 0.9.6 v
maintainers     nomaintainer
categories      devel
license         MIT

description     High-performance YAML parser and emitter library
long_description \
                Fully feature complete YAML parser and emitter, \
                supporting the latest YAML spec and \
                passing the full YAML testsuite.

checksums       rmd160  eb916191b89856a26286d5395ced0649fc3e716e \
                sha256  a59cc3331e2eb903ec36933ad52a45888041cac31e44f553a00511131242c483 \
                size    1146628

configure.args-append \
                -DBUILD_TESTING=OFF

# __c11_atomic_load from Apple Clang 9.1.0 and earlier rejects const pointers
compiler.c_standard 2017

# clock_gettime
legacysupport.newest_darwin_requires_legacy 15

# only allow numbers, to avoid pre-release versions
github.livecheck.regex          {([0-9.]+)}
