summaryrefslogtreecommitdiff
path: root/textproc/p5-Data-FormValidator
diff options
context:
space:
mode:
authorerh <erh>2004-07-13 04:31:05 +0000
committererh <erh>2004-07-13 04:31:05 +0000
commitb53fe7e878e98e64ec943dfecbbdf67b48eedb06 (patch)
tree01d2cb35afba87e16d4f47b0d8fc97b0997bda31 /textproc/p5-Data-FormValidator
parent62468e5c2ce878c2f9c8118b57507095e12d021f (diff)
downloadpkgsrc-b53fe7e878e98e64ec943dfecbbdf67b48eedb06.tar.gz
Add package p5-Data-FormValidator version 3.59
Validates used input based on input profile
Diffstat (limited to 'textproc/p5-Data-FormValidator')
-rw-r--r--textproc/p5-Data-FormValidator/DESCR9
-rw-r--r--textproc/p5-Data-FormValidator/Makefile23
-rw-r--r--textproc/p5-Data-FormValidator/PLIST1
-rw-r--r--textproc/p5-Data-FormValidator/distinfo4
4 files changed, 37 insertions, 0 deletions
diff --git a/textproc/p5-Data-FormValidator/DESCR b/textproc/p5-Data-FormValidator/DESCR
new file mode 100644
index 00000000000..e619d8cb4a3
--- /dev/null
+++ b/textproc/p5-Data-FormValidator/DESCR
@@ -0,0 +1,9 @@
+Data::FormValidator's main aim is to make input validation expressible in a
+simple format.
+
+Data::FormValidator lets you define profiles which declare the required and
+optional fields and any constraints they might have.
+
+The results are provided as an object which makes it easy to handle missing
+and invalid results, return error messages about which constraints failed, or
+process the resulting valid data.
diff --git a/textproc/p5-Data-FormValidator/Makefile b/textproc/p5-Data-FormValidator/Makefile
new file mode 100644
index 00000000000..d8efe3d6f19
--- /dev/null
+++ b/textproc/p5-Data-FormValidator/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/13 04:31:05 erh Exp $
+
+DISTNAME= Data-FormValidator-3.59
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= perl5 textproc
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Data/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Data-FormValidator/
+COMMENT= Validates user input based on input profile
+
+DEPENDS+= p5-Date-Calc-[0-9]*:../../devel/p5-Date-Calc
+DEPENDS+= p5-File-MMagic>=1.17:../../misc/p5-File-MMagic
+DEPENDS+= p5-Image-Size-[0-9]*:../../graphics/p5-Image-Size
+DEPENDS+= p5-MIME-Types>=1.005:../../mail/p5-MIME-Types
+DEPENDS+= p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common
+DEPENDS+= p5-Test-Simple-[0-9]*:../../devel/p5-Test-Simple
+
+USE_BUILDLINK3= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Data/FormValidator/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Data-FormValidator/PLIST b/textproc/p5-Data-FormValidator/PLIST
new file mode 100644
index 00000000000..84275272ab8
--- /dev/null
+++ b/textproc/p5-Data-FormValidator/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/13 04:31:05 erh Exp $
diff --git a/textproc/p5-Data-FormValidator/distinfo b/textproc/p5-Data-FormValidator/distinfo
new file mode 100644
index 00000000000..239d77cf94b
--- /dev/null
+++ b/textproc/p5-Data-FormValidator/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/13 04:31:05 erh Exp $
+
+SHA1 (Data-FormValidator-3.59.tar.gz) = 7385191aae3591d2217403bb0afd772957e85372
+Size (Data-FormValidator-3.59.tar.gz) = 61514 bytes