git: e3f56bae6e6b - main - www/p5-Dancer2-Plugin-FormValidator: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Apr 2022 05:50:47 UTC
The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=e3f56bae6e6b560eb21396143298b59ed9ad2d97 commit e3f56bae6e6b560eb21396143298b59ed9ad2d97 Author: Wen Heping <wen@FreeBSD.org> AuthorDate: 2022-04-07 04:38:45 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2022-04-07 04:38:45 +0000 www/p5-Dancer2-Plugin-FormValidator: Add new port This is micro-framework that provides validation in your Dancer2 application. It consists of dsl's keywords and a set of agreements. It has a set of built-in validators that can be extended by compatible modules (extensions). Also proved runtime switching between languages, so you can show proper error messages to users. WWW: https://metacpan.org/pod/Dancer2::Plugin::FormValidator --- www/Makefile | 1 + www/p5-Dancer2-Plugin-FormValidator/Makefile | 29 +++++++++++++++++++++++++++ www/p5-Dancer2-Plugin-FormValidator/distinfo | 3 +++ www/p5-Dancer2-Plugin-FormValidator/pkg-descr | 7 +++++++ www/p5-Dancer2-Plugin-FormValidator/pkg-plist | 27 +++++++++++++++++++++++++ 5 files changed, 67 insertions(+) diff --git a/www/Makefile b/www/Makefile index 6f4d5cade00e..100f4c9af3c0 100644 --- a/www/Makefile +++ b/www/Makefile @@ -757,6 +757,7 @@ SUBDIR += p5-Dancer2 SUBDIR += p5-Dancer2-Plugin-Ajax SUBDIR += p5-Dancer2-Plugin-Deferred + SUBDIR += p5-Dancer2-Plugin-FormValidator SUBDIR += p5-Dancer2-Plugin-Interchange6 SUBDIR += p5-Dancer2-Plugin-Path-Class SUBDIR += p5-Data-TreeDumper-Renderer-DHTML diff --git a/www/p5-Dancer2-Plugin-FormValidator/Makefile b/www/p5-Dancer2-Plugin-FormValidator/Makefile new file mode 100644 index 000000000000..e25a29a3f2e3 --- /dev/null +++ b/www/p5-Dancer2-Plugin-FormValidator/Makefile @@ -0,0 +1,29 @@ +PORTNAME= Dancer2-Plugin-FormValidator +PORTVERSION= 0.50 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= wen@FreeBSD.org +COMMENT= Neat and easy to start form validation plugin for Dancer2 + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Dancer2>=0.200000:www/p5-Dancer2 \ + p5-Dancer2-Plugin-Deferred>=0:www/p5-Dancer2-Plugin-Deferred \ + p5-Email-Valid>=0:mail/p5-Email-Valid \ + p5-Moo>=0:devel/p5-Moo \ + p5-namespace-clean>=0:devel/p5-namespace-clean \ + p5-utf8-all>=0:textproc/p5-utf8-all +TEST_DEPENDS= p5-Data-FormValidator>=0:textproc/p5-Data-FormValidator \ + p5-Test-Pod>=0:devel/p5-Test-Pod + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/p5-Dancer2-Plugin-FormValidator/distinfo b/www/p5-Dancer2-Plugin-FormValidator/distinfo new file mode 100644 index 000000000000..ba707e53cc6a --- /dev/null +++ b/www/p5-Dancer2-Plugin-FormValidator/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1649254699 +SHA256 (Dancer2-Plugin-FormValidator-0.50.tar.gz) = 7e7f7979a3d473fd642ae4b9062ea298b568fb74df351d986d36a78bf101f7a3 +SIZE (Dancer2-Plugin-FormValidator-0.50.tar.gz) = 20447 diff --git a/www/p5-Dancer2-Plugin-FormValidator/pkg-descr b/www/p5-Dancer2-Plugin-FormValidator/pkg-descr new file mode 100644 index 000000000000..60e20215b371 --- /dev/null +++ b/www/p5-Dancer2-Plugin-FormValidator/pkg-descr @@ -0,0 +1,7 @@ +This is micro-framework that provides validation in your Dancer2 +application. It consists of dsl's keywords and a set of agreements. +It has a set of built-in validators that can be extended by +compatible modules (extensions). Also proved runtime switching +between languages, so you can show proper error messages to users. + +WWW: https://metacpan.org/pod/Dancer2::Plugin::FormValidator diff --git a/www/p5-Dancer2-Plugin-FormValidator/pkg-plist b/www/p5-Dancer2-Plugin-FormValidator/pkg-plist new file mode 100644 index 000000000000..87992a3badb2 --- /dev/null +++ b/www/p5-Dancer2-Plugin-FormValidator/pkg-plist @@ -0,0 +1,27 @@ +%%SITE_PERL%%/Dancer2/Plugin/FormValidator.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Config.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Processor.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Registry.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Result.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Role/Extension.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Role/HasMessages.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Role/Profile.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Role/ProfileHasMessages.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Role/Validator.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Accepted.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Alpha.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/AlphaAscii.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/AlphaNum.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/AlphaNumAscii.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Email.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/EmailDns.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Enum.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Integer.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/LengthMax.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/LengthMin.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Max.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Min.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Numeric.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Required.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Same.pm +%%PERL5_MAN3%%/Dancer2::Plugin::FormValidator.3.gz