# -*- 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-c 0.24.2 v
github.tarball_from archive
revision            0

description         A tree-sitter parser for C

long_description    {*}${description}

categories          devel
license             MIT
maintainers         {amake @amake} openmaintainer

checksums           rmd160  fba4c886a0a0945d907d10c79e7abbb0024f501c \
                    sha256  2eeb4db31f8fa0865e45488503d13403923bcb485a1bdb637abff8c42dd97364 \
                    size    381758

worksrcdir          ${worksrcdir}/src

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