97d2b32e95
The Parsing Expression Grammar Template Library (PEGTL) is a zero-dependency C++ header-only parser combinator library for creating parsers according to a Parsing Expression Grammar (PEG). Grammars are written as regular C++ code, created with template programming (not template meta programming), i.e. nested template instantiations that naturally correspond to the inductive definition of PEGs (and other parser-combinator approaches). A comprehensive set of parser rules that can be combined and extended by the user is included, as are mechanisms for debugging grammars, and for attaching user-defined actions to grammar rules.
20 lines
491 B
Makefile
20 lines
491 B
Makefile
# $NetBSD: Makefile,v 1.1 2021/05/04 14:19:51 prlw1 Exp $
|
|
|
|
DISTNAME= PEGTL-2.8.3
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=taocpp/}
|
|
|
|
MAINTAINER= prlw1@cam.ac.uk
|
|
HOMEPAGE= https://github.com/taocpp/PEGTL/
|
|
COMMENT= C++ header-only parser combinator library
|
|
LICENSE= mit
|
|
|
|
# version 3 requires c++17
|
|
USE_LANGUAGES= c++11
|
|
USE_CMAKE= yes
|
|
|
|
CMAKE_ARGS+= -DPEGTL_BUILD_EXAMPLES=no
|
|
CMAKE_ARGS+= -DPEGTL_BUILD_TESTS=no
|
|
CMAKE_ARGS+= -DPEGTL_BUILD_TESTS=no
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|