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

description         A tree-sitter parser for PHP

long_description    {*}${description}

categories          devel
license             MIT
maintainers         {amake @amake} openmaintainer

checksums           rmd160  9af36c4e842df25726a47717d95b2ac470ebc502 \
                    sha256  0e73ad63dda67ac12c0e012726a4e1a9811c26b020a0a2dea3e889f8246d9cf4 \
                    size    750837

worksrcdir          ${worksrcdir}/php/src

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