git: 9bfc5b994197 - main - devel/p5-Data-Sah-DefaultValue: Add p5-Data-Sah-DefaultValue 0.005
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Sep 2024 06:19:15 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9bfc5b9941979e8afc0e996d9dfb3e9537ea48c1 commit 9bfc5b9941979e8afc0e996d9dfb3e9537ea48c1 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-09-05 05:13:42 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-09-05 06:11:15 +0000 devel/p5-Data-Sah-DefaultValue: Add p5-Data-Sah-DefaultValue 0.005 Data::Sah::DefaultValue generates code to set default value using value rules. A value rule is put in Data::Sah::Value::$COMPILER::$TOPIC::$DESCRIPTION module, for example: Data::Sah::Value::perl::Perl::this_mod contains the value "this module" (see App::ThisDist for more details on the meaning of "this module"). Basically, a value rule will provide an expression (expr_value) that return some value. --- devel/Makefile | 1 + devel/p5-Data-Sah-DefaultValue/Makefile | 29 +++++++++++++++++++++++++++++ devel/p5-Data-Sah-DefaultValue/distinfo | 3 +++ devel/p5-Data-Sah-DefaultValue/pkg-descr | 8 ++++++++ devel/p5-Data-Sah-DefaultValue/pkg-plist | 14 ++++++++++++++ 5 files changed, 55 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index ec2643b549f8..f9e838192135 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2298,6 +2298,7 @@ SUBDIR += p5-Data-SExpression SUBDIR += p5-Data-Sah SUBDIR += p5-Data-Sah-Coerce + SUBDIR += p5-Data-Sah-DefaultValue SUBDIR += p5-Data-Sah-Normalize SUBDIR += p5-Data-Section SUBDIR += p5-Data-Section-Simple diff --git a/devel/p5-Data-Sah-DefaultValue/Makefile b/devel/p5-Data-Sah-DefaultValue/Makefile new file mode 100644 index 000000000000..3f2e841c6b00 --- /dev/null +++ b/devel/p5-Data-Sah-DefaultValue/Makefile @@ -0,0 +1,29 @@ +PORTNAME= Data-Sah-DefaultValue +PORTVERSION= 0.005 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Default-value rules for Data::Sah +WWW= https://metacpan.org/dist/Data-Sah-DefaultValue + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE_GPLv1+ = ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Data-Dmp>=0.242:devel/p5-Data-Dmp \ + p5-IPC-System-Options>=0.339:devel/p5-IPC-System-Options \ + p5-JSON-MaybeXS>=0:converters/p5-JSON-MaybeXS \ + p5-Log-ger>=0.038:devel/p5-Log-ger \ + p5-Nodejs-Util>=0.007:www/p5-Nodejs-Util +TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception \ + p5-Test-Needs>=0:devel/p5-Test-Needs + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/p5-Data-Sah-DefaultValue/distinfo b/devel/p5-Data-Sah-DefaultValue/distinfo new file mode 100644 index 000000000000..3d44e9d98034 --- /dev/null +++ b/devel/p5-Data-Sah-DefaultValue/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724084452 +SHA256 (Data-Sah-DefaultValue-0.005.tar.gz) = 8a66f8c7683d214b2f324b10b962a966a8e002529ad4e95d1e7af40ef6db41db +SIZE (Data-Sah-DefaultValue-0.005.tar.gz) = 21430 diff --git a/devel/p5-Data-Sah-DefaultValue/pkg-descr b/devel/p5-Data-Sah-DefaultValue/pkg-descr new file mode 100644 index 000000000000..af4dd36a9a24 --- /dev/null +++ b/devel/p5-Data-Sah-DefaultValue/pkg-descr @@ -0,0 +1,8 @@ +Data::Sah::DefaultValue generates code to set default value using value rules. + +A value rule is put in Data::Sah::Value::$COMPILER::$TOPIC::$DESCRIPTION module, +for example: Data::Sah::Value::perl::Perl::this_mod contains the value "this +module" (see App::ThisDist for more details on the meaning of "this module"). + +Basically, a value rule will provide an expression (expr_value) that return some +value. diff --git a/devel/p5-Data-Sah-DefaultValue/pkg-plist b/devel/p5-Data-Sah-DefaultValue/pkg-plist new file mode 100644 index 000000000000..b8924ce37c84 --- /dev/null +++ b/devel/p5-Data-Sah-DefaultValue/pkg-plist @@ -0,0 +1,14 @@ +%%SITE_PERL%%/Data/Sah/DefaultValue.pm +%%SITE_PERL%%/Data/Sah/DefaultValueCommon.pm +%%SITE_PERL%%/Data/Sah/DefaultValueJS.pm +%%SITE_PERL%%/Data/Sah/Value/js/Math/random.pm +%%SITE_PERL%%/Data/Sah/Value/js/Str/repeat.pm +%%SITE_PERL%%/Data/Sah/Value/perl/Math/random.pm +%%SITE_PERL%%/Data/Sah/Value/perl/Str/repeat.pm +%%PERL5_MAN3%%/Data::Sah::DefaultValue.3.gz +%%PERL5_MAN3%%/Data::Sah::DefaultValueCommon.3.gz +%%PERL5_MAN3%%/Data::Sah::DefaultValueJS.3.gz +%%PERL5_MAN3%%/Data::Sah::Value::js::Math::random.3.gz +%%PERL5_MAN3%%/Data::Sah::Value::js::Str::repeat.3.gz +%%PERL5_MAN3%%/Data::Sah::Value::perl::Math::random.3.gz +%%PERL5_MAN3%%/Data::Sah::Value::perl::Str::repeat.3.gz