import erl-neotoma
Neotoma is a packrat parser-generator for Erlang for Parsing Expression Grammars (PEGs). It consists of a parsing-combinator library with memoization routines, a parser for PEGs, and a utility to generate parsers from PEGs. It is inspired by treetop, a Ruby library with similar aims, and parsec, the parser-combinator library for Haskell. ok aja@
This commit is contained in:
parent
20386173e6
commit
674d4b98f7
36
textproc/erl-neotoma/Makefile
Normal file
36
textproc/erl-neotoma/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2013/03/08 12:11:06 jasper Exp $
|
||||
|
||||
COMMENT= library for parsing expression grammars for Erlang
|
||||
|
||||
VERSION= 1.6.0
|
||||
DISTNAME= neotoma-${VERSION}
|
||||
PKGNAME= erl-${DISTNAME}
|
||||
CATEGORIES= textproc lang/erlang
|
||||
|
||||
HOMEPAGE= https://github.com/seancribbs/neotoma
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://distfiles.nl/
|
||||
TAR= ${LOCALBASE}/bin/gtar
|
||||
|
||||
BUILD_DEPENDS= archivers/gtar \
|
||||
devel/rebar
|
||||
RUN_DEPENDS= lang/erlang
|
||||
|
||||
REGRESS_TARGET= tests
|
||||
|
||||
ERL_LIBDIR= ${PREFIX}/lib/erlang/lib/${DISTNAME}
|
||||
SUBST_VARS+= VERSION
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${ERL_LIBDIR}/{ebin,extra,priv,src}
|
||||
${INSTALL_DATA} ${WRKSRC}/ebin/*.{app,beam} ${ERL_LIBDIR}/ebin/
|
||||
${INSTALL_DATA} ${WRKSRC}/extra/* ${ERL_LIBDIR}/extra/
|
||||
${INSTALL_DATA} ${WRKSRC}/priv/* ${ERL_LIBDIR}/priv/
|
||||
${INSTALL_DATA} ${WRKSRC}/src/*.erl ${ERL_LIBDIR}/src/
|
||||
|
||||
.include <bsd.port.mk>
|
2
textproc/erl-neotoma/distinfo
Normal file
2
textproc/erl-neotoma/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (neotoma-1.6.0.tar.gz) = /pzFtsHakJCsP8bZl/CVoR1Phku6tw8NU8FDf2RSyrQ=
|
||||
SIZE (neotoma-1.6.0.tar.gz) = 14999
|
5
textproc/erl-neotoma/pkg/DESCR
Normal file
5
textproc/erl-neotoma/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
Neotoma is a packrat parser-generator for Erlang for Parsing Expression
|
||||
Grammars (PEGs). It consists of a parsing-combinator library with
|
||||
memoization routines, a parser for PEGs, and a utility to generate
|
||||
parsers from PEGs. It is inspired by treetop, a Ruby library with
|
||||
similar aims, and parsec, the parser-combinator library for Haskell.
|
21
textproc/erl-neotoma/pkg/PLIST
Normal file
21
textproc/erl-neotoma/pkg/PLIST
Normal file
@ -0,0 +1,21 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/03/08 12:11:06 jasper Exp $
|
||||
lib/erlang/lib/neotoma-${VERSION}/
|
||||
lib/erlang/lib/neotoma-${VERSION}/ebin/
|
||||
lib/erlang/lib/neotoma-${VERSION}/ebin/neotoma.app
|
||||
lib/erlang/lib/neotoma-${VERSION}/ebin/neotoma.beam
|
||||
lib/erlang/lib/neotoma-${VERSION}/ebin/neotoma_parse.beam
|
||||
lib/erlang/lib/neotoma-${VERSION}/ebin/neotoma_peg.beam
|
||||
lib/erlang/lib/neotoma-${VERSION}/extra/
|
||||
lib/erlang/lib/neotoma-${VERSION}/extra/arithmetic.erl
|
||||
lib/erlang/lib/neotoma-${VERSION}/extra/arithmetic.peg
|
||||
lib/erlang/lib/neotoma-${VERSION}/extra/csv.erl
|
||||
lib/erlang/lib/neotoma-${VERSION}/extra/csv.peg
|
||||
lib/erlang/lib/neotoma-${VERSION}/extra/json.erl
|
||||
lib/erlang/lib/neotoma-${VERSION}/extra/json.peg
|
||||
lib/erlang/lib/neotoma-${VERSION}/priv/
|
||||
lib/erlang/lib/neotoma-${VERSION}/priv/neotoma_parse.peg
|
||||
lib/erlang/lib/neotoma-${VERSION}/priv/peg_includes.hrl
|
||||
lib/erlang/lib/neotoma-${VERSION}/src/
|
||||
lib/erlang/lib/neotoma-${VERSION}/src/neotoma.erl
|
||||
lib/erlang/lib/neotoma-${VERSION}/src/neotoma_parse.erl
|
||||
lib/erlang/lib/neotoma-${VERSION}/src/neotoma_peg.erl
|
Loading…
x
Reference in New Issue
Block a user