diff options
author | lth <lth@FreeBSD.org> | 2005-11-22 00:35:57 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2005-11-22 00:35:57 +0800 |
commit | b0aebafd6132fd46e5488978a97d4f3507c433bb (patch) | |
tree | c7731bc770451a7f1a1fb3f73b993856f42dad78 /textproc | |
parent | 4030724922d346410853d87d086c526f5117e915 (diff) | |
download | freebsd-ports-gnome-b0aebafd6132fd46e5488978a97d4f3507c433bb.tar.gz freebsd-ports-gnome-b0aebafd6132fd46e5488978a97d4f3507c433bb.tar.zst freebsd-ports-gnome-b0aebafd6132fd46e5488978a97d4f3507c433bb.zip |
Add p5-FormValidator-Simple 0.10, validation with simple chains of
constraints.
PR: ports/89358
Submitted by: Lars Balker Rasmussen <lars@balker.dk>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-FormValidator-Simple/Makefile | 42 | ||||
-rw-r--r-- | textproc/p5-FormValidator-Simple/distinfo | 3 | ||||
-rw-r--r-- | textproc/p5-FormValidator-Simple/pkg-descr | 14 | ||||
-rw-r--r-- | textproc/p5-FormValidator-Simple/pkg-plist | 18 |
5 files changed, 78 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index fb0147901f42..b4fef505b5f3 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -290,6 +290,7 @@ SUBDIR += p5-Data-FormValidator SUBDIR += p5-DelimMatch SUBDIR += p5-Filter-Simple + SUBDIR += p5-FormValidator-Simple SUBDIR += p5-FreeBSD-Ports SUBDIR += p5-HTML-Entities-Numbered SUBDIR += p5-HTML-Format diff --git a/textproc/p5-FormValidator-Simple/Makefile b/textproc/p5-FormValidator-Simple/Makefile new file mode 100644 index 000000000000..92a28bbf723d --- /dev/null +++ b/textproc/p5-FormValidator-Simple/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: FormValidator::Simple +# Date created: 21 Nov 2005 +# Whom: Lars Balker Rasmussen <lars@balker.dk> +# +# $FreeBSD$ +# + +PORTNAME= FormValidator-Simple +PORTVERSION= 0.10 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../by-authors/id/L/LY/LYOKATO +PKGNAMEPREFIX= p5- + +MAINTAINER= lars@balker.dk +COMMENT= Validation with simple chains of constraints + +BUILD_DEPENDS= p5-Class-Accessor>=0.22:${PORTSDIR}/devel/p5-Class-Accessor \ + p5-Class-Data-Inheritable>=0.04:${PORTSDIR}/devel/p5-Class-Data-Inheritable \ + p5-Class-Inspector>=1.13:${PORTSDIR}/devel/p5-Class-Inspector \ + p5-Date-Calc>=5.4:${PORTSDIR}/devel/p5-Date-Calc \ + p5-Email-Valid>=0.15:${PORTSDIR}/mail/p5-Email-Valid \ + p5-Email-Valid-Loose>=0.04:${PORTSDIR}/mail/p5-Email-Valid-Loose \ + p5-List-MoreUtils>=0.16:${PORTSDIR}/lang/p5-List-MoreUtils \ + p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools \ + p5-Tie-IxHash>=1.21:${PORTSDIR}/devel/p5-Tie-IxHash \ + p5-UNIVERSAL-require>=0.10:${PORTSDIR}/devel/p5-UNIVERSAL-require \ + p5-YAML>=0.39:${PORTSDIR}/textproc/p5-YAML +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= FormValidator::Simple.3 \ + FormValidator::Simple::Results.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +IGNORE= requires perl 5.8 or later. Install lang/perl5.8 then try again +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/p5-FormValidator-Simple/distinfo b/textproc/p5-FormValidator-Simple/distinfo new file mode 100644 index 000000000000..e1fb72071758 --- /dev/null +++ b/textproc/p5-FormValidator-Simple/distinfo @@ -0,0 +1,3 @@ +MD5 (FormValidator-Simple-0.10.tar.gz) = 0920d4b1a3539de1df809c01318b5b65 +SHA256 (FormValidator-Simple-0.10.tar.gz) = 2f2282b0bab088b2fedc0c8e6a85d3d53f503808a212e1f088f60734c74668b1 +SIZE (FormValidator-Simple-0.10.tar.gz) = 16000 diff --git a/textproc/p5-FormValidator-Simple/pkg-descr b/textproc/p5-FormValidator-Simple/pkg-descr new file mode 100644 index 000000000000..c81ae2b2ec41 --- /dev/null +++ b/textproc/p5-FormValidator-Simple/pkg-descr @@ -0,0 +1,14 @@ +This module provides you a sweet way of form data validation with +simple constraints chains. + +You can write constraints on single line for each input data. + +This idea is based on Sledge::Plugin::Validator, and most of +validation code is borrowed from this plugin. + +(Sledge is a MVC web application framework: http://sl.edge.jp [Japanese] ) + +The result object this module returns behaves like +Data::FormValidator::Results. + +WWW: http://search.cpan.org/dist/FormValidator-Simple/ diff --git a/textproc/p5-FormValidator-Simple/pkg-plist b/textproc/p5-FormValidator-Simple/pkg-plist new file mode 100644 index 000000000000..791db68574f5 --- /dev/null +++ b/textproc/p5-FormValidator-Simple/pkg-plist @@ -0,0 +1,18 @@ +%%SITE_PERL%%/FormValidator/Simple/Exception.pm +%%SITE_PERL%%/FormValidator/Simple/Constraints.pm +%%SITE_PERL%%/FormValidator/Simple/Iterator.pm +%%SITE_PERL%%/FormValidator/Simple/Result.pm +%%SITE_PERL%%/FormValidator/Simple/Results.pm +%%SITE_PERL%%/FormValidator/Simple/Messages.pm +%%SITE_PERL%%/FormValidator/Simple/Constraint.pm +%%SITE_PERL%%/FormValidator/Simple/ArrayList.pm +%%SITE_PERL%%/FormValidator/Simple/Validator.pm +%%SITE_PERL%%/FormValidator/Simple/Constants.pm +%%SITE_PERL%%/FormValidator/Simple/Profile.pm +%%SITE_PERL%%/FormValidator/Simple/Data.pm +%%SITE_PERL%%/FormValidator/Simple.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/FormValidator/Simple/.packlist +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/FormValidator/Simple 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/FormValidator 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/FormValidator/Simple 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/FormValidator 2>/dev/null || true |