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

description         A tree-sitter parser for TypeScript

long_description    {*}${description}

categories          devel
license             MIT
maintainers         {amake @amake} openmaintainer

checksums           rmd160  9d53c19d29aa5fab8c349e52e598815abd7b2f20 \
                    sha256  f0feb9e76104b67ce958a6bfef55166a355df6b8c231c7228d906451b014911d \
                    size    1032691

worksrcdir          ${worksrcdir}/typescript/src

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