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

# Need static_assert in C11 mode
PortGroup           legacysupport 1.1

legacysupport.newest_darwin_requires_legacy 14

github.setup        tree-sitter tree-sitter-cpp 0.23.4 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0

description         A tree-sitter parser for C++

long_description    {*}${description}

categories          devel
license             MIT
maintainers         {amake @amake} openmaintainer

checksums           rmd160  a7c66bbc71f742a471ae37e995b1c892861c876d \
                    sha256  58e55de066185bf25d8dd719d3c5635c8d5c530b96cedbcbc07a53e3087fb555 \
                    size    1135962

worksrcdir          ${worksrcdir}/src

compiler.c_standard 2011
