git: 198c46ddf434 - main - devel/p5-Language-Expr: Add p5-Language-Expr 0.29
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Sep 2024 06:19:20 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=198c46ddf434cd5329aff0af12a7ed01373392ea commit 198c46ddf434cd5329aff0af12a7ed01373392ea Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-09-05 05:13:47 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-09-05 06:11:16 +0000 devel/p5-Language-Expr: Add p5-Language-Expr 0.29 Language::Expr defines a simple, Perl-like expression minilanguage. It supports mathematical and string operators, arrays, hashes, variables, and functions. See Language::Expr::Manual::Syntax for description of the language syntax. This distribution consists of the language parser (Language::Expr::Parser), some interpreters (Language::Expr::Interpreter::*), and some compilers (Language::Expr::Compiler::*). --- devel/Makefile | 1 + devel/p5-Language-Expr/Makefile | 30 ++++++++++++++++++++++++++++++ devel/p5-Language-Expr/distinfo | 3 +++ devel/p5-Language-Expr/pkg-descr | 7 +++++++ devel/p5-Language-Expr/pkg-plist | 28 ++++++++++++++++++++++++++++ 5 files changed, 69 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index bb846bc6e6aa..f94e359fb0b4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2836,6 +2836,7 @@ SUBDIR += p5-Keyword-Pluggable SUBDIR += p5-Keyword-Simple SUBDIR += p5-LV + SUBDIR += p5-Language-Expr SUBDIR += p5-Lexical-Alias SUBDIR += p5-Lexical-Import SUBDIR += p5-Lexical-Persistence diff --git a/devel/p5-Language-Expr/Makefile b/devel/p5-Language-Expr/Makefile new file mode 100644 index 000000000000..53e9713cec5a --- /dev/null +++ b/devel/p5-Language-Expr/Makefile @@ -0,0 +1,30 @@ +PORTNAME= Language-Expr +PORTVERSION= 0.29 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Simple minilanguage for use in expression +WWW= https://metacpan.org/dist/Language-Expr + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-JSON-MaybeXS>=0:converters/p5-JSON-MaybeXS \ + p5-Mo>=0:devel/p5-Mo \ + p5-Nodejs-Util>=0.006:www/p5-Nodejs-Util \ + p5-Regexp-Grammars>=1.005:devel/p5-Regexp-Grammars \ + p5-Role-Tiny>=0:devel/p5-Role-Tiny \ + p5-UUID-Tiny>=0:devel/p5-UUID-Tiny \ + p5-boolean>=0.20:devel/p5-boolean +TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/p5-Language-Expr/distinfo b/devel/p5-Language-Expr/distinfo new file mode 100644 index 000000000000..8b49c1be401f --- /dev/null +++ b/devel/p5-Language-Expr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724084460 +SHA256 (Language-Expr-0.29.tar.gz) = c79622ae6e6d6e4dcad416d4a35b33625b6c6bfa9eb34e62b0f96bc93337bde9 +SIZE (Language-Expr-0.29.tar.gz) = 36557 diff --git a/devel/p5-Language-Expr/pkg-descr b/devel/p5-Language-Expr/pkg-descr new file mode 100644 index 000000000000..2b9328cb56dc --- /dev/null +++ b/devel/p5-Language-Expr/pkg-descr @@ -0,0 +1,7 @@ +Language::Expr defines a simple, Perl-like expression minilanguage. It supports +mathematical and string operators, arrays, hashes, variables, and functions. See +Language::Expr::Manual::Syntax for description of the language syntax. + +This distribution consists of the language parser (Language::Expr::Parser), some +interpreters (Language::Expr::Interpreter::*), and some compilers +(Language::Expr::Compiler::*). diff --git a/devel/p5-Language-Expr/pkg-plist b/devel/p5-Language-Expr/pkg-plist new file mode 100644 index 000000000000..a9040e0b95c6 --- /dev/null +++ b/devel/p5-Language-Expr/pkg-plist @@ -0,0 +1,28 @@ +%%SITE_PERL%%/Language/Expr.pm +%%SITE_PERL%%/Language/Expr/Compiler/Base.pm +%%SITE_PERL%%/Language/Expr/Compiler/js.pm +%%SITE_PERL%%/Language/Expr/Compiler/perl.pm +%%SITE_PERL%%/Language/Expr/CompilerRole.pm +%%SITE_PERL%%/Language/Expr/EvaluatorRole.pm +%%SITE_PERL%%/Language/Expr/Interpreter/Base.pm +%%SITE_PERL%%/Language/Expr/Interpreter/default.pm +%%SITE_PERL%%/Language/Expr/Interpreter/dummy.pm +%%SITE_PERL%%/Language/Expr/Interpreter/var_enumer.pm +%%SITE_PERL%%/Language/Expr/InterpreterRole.pm +%%SITE_PERL%%/Language/Expr/JS.pm +%%SITE_PERL%%/Language/Expr/Manual/Syntax.pod +%%SITE_PERL%%/Language/Expr/Parser.pm +%%PERL5_MAN3%%/Language::Expr.3.gz +%%PERL5_MAN3%%/Language::Expr::Compiler::Base.3.gz +%%PERL5_MAN3%%/Language::Expr::Compiler::js.3.gz +%%PERL5_MAN3%%/Language::Expr::Compiler::perl.3.gz +%%PERL5_MAN3%%/Language::Expr::CompilerRole.3.gz +%%PERL5_MAN3%%/Language::Expr::EvaluatorRole.3.gz +%%PERL5_MAN3%%/Language::Expr::Interpreter::Base.3.gz +%%PERL5_MAN3%%/Language::Expr::Interpreter::default.3.gz +%%PERL5_MAN3%%/Language::Expr::Interpreter::dummy.3.gz +%%PERL5_MAN3%%/Language::Expr::Interpreter::var_enumer.3.gz +%%PERL5_MAN3%%/Language::Expr::InterpreterRole.3.gz +%%PERL5_MAN3%%/Language::Expr::JS.3.gz +%%PERL5_MAN3%%/Language::Expr::Manual::Syntax.3.gz +%%PERL5_MAN3%%/Language::Expr::Parser.3.gz