1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

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
This commit is contained in:
Wen Heping 2022-04-07 04:38:45 +00:00
parent c1e8903cab
commit e3f56bae6e
5 changed files with 67 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1649254699
SHA256 (Dancer2-Plugin-FormValidator-0.50.tar.gz) = 7e7f7979a3d473fd642ae4b9062ea298b568fb74df351d986d36a78bf101f7a3
SIZE (Dancer2-Plugin-FormValidator-0.50.tar.gz) = 20447

View File

@ -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

View File

@ -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