pkgsrc/textproc/PEGTL/buildlink3.mk
prlw1 97d2b32e95 Add PEGTL 2.8.3
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.
2021-05-04 14:19:51 +00:00

13 lines
325 B
Makefile

# $NetBSD: buildlink3.mk,v 1.1 2021/05/04 14:19:51 prlw1 Exp $
BUILDLINK_TREE+= PEGTL
.if !defined(PEGTL_BUILDLINK3_MK)
PEGTL_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.PEGTL+= PEGTL>=2.8.3
BUILDLINK_PKGSRCDIR.PEGTL?= ../../textproc/PEGTL
BUILDLINK_DEPMETHOD.PEGTL?= build
.endif # PEGTL_BUILDLINK3_MK
BUILDLINK_TREE+= -PEGTL