From owner-dev-commits-ports-all@freebsd.org Thu Apr 29 14:35:26 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BC28262AA08; Thu, 29 Apr 2021 14:35:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FWJ26508lz4j2R; Thu, 29 Apr 2021 14:35:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9E6AF1D266; Thu, 29 Apr 2021 14:35:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13TEZQbo050631; Thu, 29 Apr 2021 14:35:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13TEZQSJ050630; Thu, 29 Apr 2021 14:35:26 GMT (envelope-from git) Date: Thu, 29 Apr 2021 14:35:26 GMT Message-Id: <202104291435.13TEZQSJ050630@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 924b29e65f92 - main - devel/p5-Parser-MGC: Add p5-Parser-MGC 0.19 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 924b29e65f92c87ee489467f1907c6b28342f14f Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2021 14:35:26 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=924b29e65f92c87ee489467f1907c6b28342f14f commit 924b29e65f92c87ee489467f1907c6b28342f14f Author: Po-Chuan Hsieh AuthorDate: 2021-04-29 14:10:03 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-04-29 14:23:30 +0000 devel/p5-Parser-MGC: Add p5-Parser-MGC 0.19 Parser::MGC class provides a low-level framework for building recursive-descent parsers that consume a given input string from left to right, returning a parse structure. It takes its name from the m//gc regexps used to implement the token parsing behaviour. It provides a number of token-parsing methods, which each extract a grammatical token from the string. It also provides wrapping methods that can be used to build up a possibly-recursive grammar structure, by applying a structure around other parts of parsing code. WWW: https://metacpan.org/release/Parser-MGC --- devel/Makefile | 1 + devel/p5-Parser-MGC/Makefile | 25 +++++++++++++++++++++++++ devel/p5-Parser-MGC/distinfo | 3 +++ devel/p5-Parser-MGC/pkg-descr | 11 +++++++++++ devel/p5-Parser-MGC/pkg-plist | 6 ++++++ 5 files changed, 46 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index b1ef34eaf203..497a49f94941 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3030,6 +3030,7 @@ SUBDIR += p5-Parse-Yapp SUBDIR += p5-ParseLex SUBDIR += p5-ParseTemplate + SUBDIR += p5-Parser-MGC SUBDIR += p5-PatchReader SUBDIR += p5-Path-Abstract SUBDIR += p5-Path-Class diff --git a/devel/p5-Parser-MGC/Makefile b/devel/p5-Parser-MGC/Makefile new file mode 100644 index 000000000000..31aa921634f2 --- /dev/null +++ b/devel/p5-Parser-MGC/Makefile @@ -0,0 +1,25 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= Parser-MGC +PORTVERSION= 0.19 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Build simple recursive-descent parsers + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Feature-Compat-Try>=0:devel/p5-Feature-Compat-Try \ + p5-File-Slurp-Tiny>=0:devel/p5-File-Slurp-Tiny + +USES= perl5 +USE_PERL5= modbuild + +NO_ARCH= yes + +.include diff --git a/devel/p5-Parser-MGC/distinfo b/devel/p5-Parser-MGC/distinfo new file mode 100644 index 000000000000..934c28c2a661 --- /dev/null +++ b/devel/p5-Parser-MGC/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1619569393 +SHA256 (Parser-MGC-0.19.tar.gz) = 92ff60753bbaa9b6166f105ac6dc2988f4e582e62d5ce74f5db2312351a4e37c +SIZE (Parser-MGC-0.19.tar.gz) = 51748 diff --git a/devel/p5-Parser-MGC/pkg-descr b/devel/p5-Parser-MGC/pkg-descr new file mode 100644 index 000000000000..efdd7b49e6a8 --- /dev/null +++ b/devel/p5-Parser-MGC/pkg-descr @@ -0,0 +1,11 @@ +Parser::MGC class provides a low-level framework for building recursive-descent +parsers that consume a given input string from left to right, returning a parse +structure. It takes its name from the m//gc regexps used to implement the token +parsing behaviour. + +It provides a number of token-parsing methods, which each extract a grammatical +token from the string. It also provides wrapping methods that can be used to +build up a possibly-recursive grammar structure, by applying a structure around +other parts of parsing code. + +WWW: https://metacpan.org/release/Parser-MGC diff --git a/devel/p5-Parser-MGC/pkg-plist b/devel/p5-Parser-MGC/pkg-plist new file mode 100644 index 000000000000..877b8f00f1e9 --- /dev/null +++ b/devel/p5-Parser-MGC/pkg-plist @@ -0,0 +1,6 @@ +%%SITE_PERL%%/Parser/MGC.pm +%%SITE_PERL%%/Parser/MGC/Examples/EvaluateExpression.pm +%%SITE_PERL%%/Parser/MGC/Tutorial.pod +%%PERL5_MAN3%%/Parser::MGC.3.gz +%%PERL5_MAN3%%/Parser::MGC::Examples::EvaluateExpression.3.gz +%%PERL5_MAN3%%/Parser::MGC::Tutorial.3.gz