# XXX To keep the requirements list small, do not build the tree-sitter # program (written in rust) from this port. Use a new port instead. COMMENT = parser generator tool and incremental parsing library GH_ACCOUNT = tree-sitter GH_PROJECT = tree-sitter GH_TAGNAME = v0.20.8 REVISION = 1 SHARED_LIBS += tree-sitter 3.0 CATEGORIES = textproc # Unlicense/MIT PERMIT_PACKAGE = Yes # Uses -std=gnu99, prefer base compiler COMPILER = base-clang base-gcc MAKE_ENV = DESTDIR="" \ LIBDIR="${LOCALBASE}/lib" \ INCLUDEDIR="${LOCALBASE}/include" USE_GMAKE = Yes post-patch: ${SUBST_CMD} ${WRKSRC}/Makefile .include