diff options
author | tobez <tobez@FreeBSD.org> | 2001-10-30 14:01:47 +0000 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2001-10-30 14:01:47 +0000 |
commit | ea3adb0957cfafda48d4b200302b68e6b9bcfbd9 (patch) | |
tree | a8b92a4cdf78f418831b9c6488ef193e6d4473bd /textproc | |
parent | 72e0c98a32c7ce58f9171387d67f8a3044f9c503 (diff) | |
download | FreeBSD-ports-ea3adb0957cfafda48d4b200302b68e6b9bcfbd9.zip FreeBSD-ports-ea3adb0957cfafda48d4b200302b68e6b9bcfbd9.tar.gz |
Add p5-Data-FormValidator 1.6, a perl module to validate user input,
usually from an HTML form.
PR: 31563
Submitted by: Seamus Venasse <svenasse@polaris.ca>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-Data-FormValidator/Makefile | 22 | ||||
-rw-r--r-- | textproc/p5-Data-FormValidator/distinfo | 1 | ||||
-rw-r--r-- | textproc/p5-Data-FormValidator/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/p5-Data-FormValidator/pkg-descr | 23 | ||||
-rw-r--r-- | textproc/p5-Data-FormValidator/pkg-plist | 5 |
6 files changed, 53 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 48fc01e..2c61f36 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -97,6 +97,7 @@ SUBDIR += no-ispell SUBDIR += openjade SUBDIR += opensched + SUBDIR += p5-Data-FormValidator SUBDIR += p5-DelimMatch SUBDIR += p5-FreeBSD-Ports SUBDIR += p5-HTML-Format diff --git a/textproc/p5-Data-FormValidator/Makefile b/textproc/p5-Data-FormValidator/Makefile new file mode 100644 index 0000000..3054df4 --- /dev/null +++ b/textproc/p5-Data-FormValidator/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: Data::FormValidator +# Date created: 27 Oct 2001 +# Whom: Seamus Venasse <svenasse@polaris.ca> +# +# $FreeBSD$ +# + +PORTNAME= Data-FormValidator +PORTVERSION= 1.6 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Data +PKGNAMEPREFIX= p5- + +MAINTAINER= svenasse@polaris.ca + +PERL_CONFIGURE= yes + +MAN3= Data::FormValidator.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +.include <bsd.port.mk> diff --git a/textproc/p5-Data-FormValidator/distinfo b/textproc/p5-Data-FormValidator/distinfo new file mode 100644 index 0000000..530995b --- /dev/null +++ b/textproc/p5-Data-FormValidator/distinfo @@ -0,0 +1 @@ +MD5 (Data-FormValidator-1.6.tar.gz) = f4fe48339026be5e7e01351397132fbb diff --git a/textproc/p5-Data-FormValidator/pkg-comment b/textproc/p5-Data-FormValidator/pkg-comment new file mode 100644 index 0000000..f585c258 --- /dev/null +++ b/textproc/p5-Data-FormValidator/pkg-comment @@ -0,0 +1 @@ +Validates user input (usually from an HTML form) based diff --git a/textproc/p5-Data-FormValidator/pkg-descr b/textproc/p5-Data-FormValidator/pkg-descr new file mode 100644 index 0000000..273eaf0 --- /dev/null +++ b/textproc/p5-Data-FormValidator/pkg-descr @@ -0,0 +1,23 @@ +Data::FormValidator's main aim is to make the tedious coding of input +validation expressible in a simple format and to let the programmer focus +on more interesting tasks. + +When you are coding a web application one of the most tedious though +crucial tasks is to validate user's input (usually submitted by way of +an HTML form). You have to check that each required fields is present +and that some fields have valid data. (Does the phone input looks like a +phone number? Is that a plausible email address? Is the YY state +valid? etc.) For a simple form, this is not really a problem but as +forms get more complex and you code more of them this task becames +really boring and tedious. + +Data::FormValidator lets you define profiles which declare the +required fields and their format. When you are ready to validate the +user's input, you tell Data::FormValidator the profile to apply to the +user data and you get the valid fields, the name of the fields which +are missing. An array is returned listing which fields are valid, +missing, invalid and unknown in this profile. + +WWW: http://search.cpan.org/search?dist=Data-FormValidator + +Seamus Venasse <svenasse@polaris.ca> diff --git a/textproc/p5-Data-FormValidator/pkg-plist b/textproc/p5-Data-FormValidator/pkg-plist new file mode 100644 index 0000000..eb888bf --- /dev/null +++ b/textproc/p5-Data-FormValidator/pkg-plist @@ -0,0 +1,5 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Data/FormValidator/.packlist +lib/perl5/site_perl/%%PERL_VER%%/Data/FormValidator.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Data/FormValidator +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Data 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Data 2>/dev/null || true |