summaryrefslogtreecommitdiff
path: root/devel/p5-Params-Validate
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>2001-05-22 16:55:51 +0000
committermjl <mjl@pkgsrc.org>2001-05-22 16:55:51 +0000
commitd0f052656a7b3cdf8079cff4bfdca967608575e6 (patch)
tree8642665f79a97e0f02a603623186d550140c5619 /devel/p5-Params-Validate
parente9c783b653bc2bb87367a67f9ba4e241632c8bef (diff)
downloadpkgsrc-d0f052656a7b3cdf8079cff4bfdca967608575e6.tar.gz
Initial import of p5-Params-Validate:
The Params::Validate module provides a flexible system for validation method/function call parameters. The validation can be as simple as checking for the presence of required parameters or as complex as validating object classes (via isa) or capabilities (via can), checking parameter types, and using customized callbacks to ensure data integrity.
Diffstat (limited to 'devel/p5-Params-Validate')
-rw-r--r--devel/p5-Params-Validate/Makefile18
-rw-r--r--devel/p5-Params-Validate/distinfo4
-rw-r--r--devel/p5-Params-Validate/files/md53
-rw-r--r--devel/p5-Params-Validate/pkg/DESCR6
-rw-r--r--devel/p5-Params-Validate/pkg/PLIST1
5 files changed, 32 insertions, 0 deletions
diff --git a/devel/p5-Params-Validate/Makefile b/devel/p5-Params-Validate/Makefile
new file mode 100644
index 00000000000..cb05d2696a6
--- /dev/null
+++ b/devel/p5-Params-Validate/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/05/22 16:55:51 mjl Exp $
+
+DISTNAME= Params-Validate-0.04
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DR/DROLSKY/}
+
+MAINTAINER= packages@netbsd.org
+COMMENT= Validate method/function parameters
+
+USE_PERL5= #defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Params/Validate/.packlist
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include "../../mk/bsd.pkg.mk"
+
diff --git a/devel/p5-Params-Validate/distinfo b/devel/p5-Params-Validate/distinfo
new file mode 100644
index 00000000000..c828b5928e3
--- /dev/null
+++ b/devel/p5-Params-Validate/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/05/22 16:55:51 mjl Exp $
+
+SHA1 (Params-Validate-0.04.tar.gz) = 5a4eae74984d3da33957b7a33b13e3290fa15f72
+Size (Params-Validate-0.04.tar.gz) = 10944 bytes
diff --git a/devel/p5-Params-Validate/files/md5 b/devel/p5-Params-Validate/files/md5
new file mode 100644
index 00000000000..494676948b2
--- /dev/null
+++ b/devel/p5-Params-Validate/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/05/22 16:55:51 mjl Exp $
+
+SHA1 (Params-Validate-0.04.tar.gz) = 5a4eae74984d3da33957b7a33b13e3290fa15f72
diff --git a/devel/p5-Params-Validate/pkg/DESCR b/devel/p5-Params-Validate/pkg/DESCR
new file mode 100644
index 00000000000..229b724a4fb
--- /dev/null
+++ b/devel/p5-Params-Validate/pkg/DESCR
@@ -0,0 +1,6 @@
+The Params::Validate module provides a flexible system for validation
+method/function call parameters. The validation can be as simple as
+checking for the presence of required parameters or as complex as
+validating object classes (via isa) or capabilities (via can),
+checking parameter types, and using customized callbacks to ensure
+data integrity.
diff --git a/devel/p5-Params-Validate/pkg/PLIST b/devel/p5-Params-Validate/pkg/PLIST
new file mode 100644
index 00000000000..9131f49809d
--- /dev/null
+++ b/devel/p5-Params-Validate/pkg/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/22 16:55:51 mjl Exp $