# -*- 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-grammars tree-sitter-markdown 0.5.3 v
github.tarball_from archive
revision            0
epoch               1

description         A set of tree-sitter parsers for Markdown

long_description    {*}${description}

categories          devel
license             MIT
maintainers         {amake @amake} openmaintainer

checksums           rmd160  f3dba82f10baaed2f2e3cb134f0f62f652fd1d42 \
                    sha256  df845b1ab7c7c163ec57d7fa17170c92b04be199bddab02523636efec5224ab6 \
                    size    422303

build {
    system -W ${worksrcpath} "make all"
}

destroot {
    xinstall -m 0755 -W ${worksrcpath}/tree-sitter-markdown-inline libtree-sitter-markdown-inline.dylib ${destroot}${prefix}/lib
    xinstall -m 0755 -W ${worksrcpath}/tree-sitter-markdown libtree-sitter-markdown.dylib ${destroot}${prefix}/lib
}

github.livecheck.branch  split_parser
