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

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

description         A tree-sitter parser for JSON

long_description    {*}${description}

categories          devel
license             MIT
maintainers         {amake @amake} openmaintainer

checksums           rmd160  56bf00816e2c7169e689cb3c3d24156737fc3885 \
                    sha256  49f8fedfe71b0bb51846733d04c88d410417be427e12963093700ccfb87deee8 \
                    size    39822

worksrcdir          ${worksrcdir}/src

# parser.c: error: ‘for’ loop initial declaration used outside C99 mode
configure.cflags-append -std=c99
