# -*- 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-javascript 0.23.1 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0

description         A tree-sitter parser for JavaScript

long_description    {*}${description}

categories          devel
license             MIT
maintainers         {amake @amake} openmaintainer

checksums           rmd160  d275dc8b2035f56f3b5143455e66803dcfa2d55e \
                    sha256  24ba075d3d59b3127cb312c1e7f3bde3edd62a3052272041acba9c1693a5df0f \
                    size    290575

worksrcdir          ${worksrcdir}/src

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