# -*- 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        camdencheek tree-sitter-go-mod 1.1.0 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0
epoch               1

checksums           rmd160  19104ec7fd71863b8e7c0233dd596e48735db919 \
                    sha256  1505e75332bb01893883494067217c324b08f1f595c0afe6867315281e0ee63c \
                    size    27297

description         A tree-sitter parser for go.mod files

long_description    {*}${description}

categories          devel
license             MIT
maintainers         {amake @amake} openmaintainer

worksrcdir          ${worksrcdir}/src

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

tree_sitter.libname gomod

github.livecheck.branch main
