aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Class-ParmList
diff options
context:
space:
mode:
authorfoxfair <foxfair@FreeBSD.org>2003-10-24 12:18:59 +0800
committerfoxfair <foxfair@FreeBSD.org>2003-10-24 12:18:59 +0800
commitb04fd5e831588514ccbaa3c0b1bed9a5079c84f2 (patch)
tree5d1e9ba59e64b716df18edcd38490d56a3d27396 /devel/p5-Class-ParmList
parent9897fcfe2144e015882676cf97f5ff2da0590b3b (diff)
downloadfreebsd-ports-gnome-b04fd5e831588514ccbaa3c0b1bed9a5079c84f2.tar.gz
freebsd-ports-gnome-b04fd5e831588514ccbaa3c0b1bed9a5079c84f2.tar.zst
freebsd-ports-gnome-b04fd5e831588514ccbaa3c0b1bed9a5079c84f2.zip
Add p5-Class-ParmList 1.03, a module for processing named parameter
lists for method calls. This is a simple package for validating calling parameters to a subroutine or method. It allows you to use "named parameters" while providing checking for number and naming of parameters for verifying inputs are as expected and meet any minimum requirements. It also allows the setting of default values for the named parameters if omitted PR: 58453 Submitted by: clsung@dragon2.net
Diffstat (limited to 'devel/p5-Class-ParmList')
-rw-r--r--devel/p5-Class-ParmList/Makefile22
-rw-r--r--devel/p5-Class-ParmList/distinfo1
-rw-r--r--devel/p5-Class-ParmList/pkg-descr10
-rw-r--r--devel/p5-Class-ParmList/pkg-plist5
4 files changed, 38 insertions, 0 deletions
diff --git a/devel/p5-Class-ParmList/Makefile b/devel/p5-Class-ParmList/Makefile
new file mode 100644
index 000000000000..20716372811b
--- /dev/null
+++ b/devel/p5-Class-ParmList/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: devel/p5-Class-ParmList
+# Date created: Oct 23 2003
+# Whom: clsung@dragon2.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-ParmList
+PORTVERSION= 1.03
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= clsung@dragon2.net
+COMMENT= A module for processing named parameter lists for method calls
+
+PERL_CONFIGURE= yes
+
+MAN3= Class::ParmList.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Class-ParmList/distinfo b/devel/p5-Class-ParmList/distinfo
new file mode 100644
index 000000000000..d34c8c2266cf
--- /dev/null
+++ b/devel/p5-Class-ParmList/distinfo
@@ -0,0 +1 @@
+MD5 (Class-ParmList-1.03.tar.gz) = 76ad291cf2325f77077d1dbe76396775
diff --git a/devel/p5-Class-ParmList/pkg-descr b/devel/p5-Class-ParmList/pkg-descr
new file mode 100644
index 000000000000..ad957bcf41b1
--- /dev/null
+++ b/devel/p5-Class-ParmList/pkg-descr
@@ -0,0 +1,10 @@
+Class::ParmList
+
+General named parameter list parser. Handles default values,
+required vs allowed distinctions, optional name lexical checking,
+multiple retrieval, and error reporting. Works well as a complement to
+Class::NamedParms.
+
+WWW: http://search.cpan.org/~snowhare/Class-ParmList-1.03/
+
+Author: Benjamin Franz
diff --git a/devel/p5-Class-ParmList/pkg-plist b/devel/p5-Class-ParmList/pkg-plist
new file mode 100644
index 000000000000..89a0d2ce52e1
--- /dev/null
+++ b/devel/p5-Class-ParmList/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Class/ParmList.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/ParmList/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/ParmList
+@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/ParmList 2>/dev/null || true