aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2004-12-15 15:35:49 +0800
committertobez <tobez@FreeBSD.org>2004-12-15 15:35:49 +0800
commit5bc8925a0880c225965c4b1b4cf49ed4e2b75969 (patch)
treeb531f72a73e26f3c7afc888c10fa8ad6da319c55 /devel
parentda0ae58edc2fc040f6bc04b9120625c5000d2b74 (diff)
downloadfreebsd-ports-gnome-5bc8925a0880c225965c4b1b4cf49ed4e2b75969.tar.gz
freebsd-ports-gnome-5bc8925a0880c225965c4b1b4cf49ed4e2b75969.tar.zst
freebsd-ports-gnome-5bc8925a0880c225965c4b1b4cf49ed4e2b75969.zip
Add p5-Params-Check, a generic input parsing/checking mechanism for
Perl.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Params-Check/Makefile26
-rw-r--r--devel/p5-Params-Check/distinfo2
-rw-r--r--devel/p5-Params-Check/pkg-descr5
-rw-r--r--devel/p5-Params-Check/pkg-plist5
5 files changed, 39 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index f43af586dbde..fc66d65576a1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -941,6 +941,7 @@
SUBDIR += p5-PV
SUBDIR += p5-Parallel-ForkManager
SUBDIR += p5-Params-CallbackRequest
+ SUBDIR += p5-Params-Check
SUBDIR += p5-Params-Validate
SUBDIR += p5-Parse-CPAN-Packages
SUBDIR += p5-Parse-PerlConfig
diff --git a/devel/p5-Params-Check/Makefile b/devel/p5-Params-Check/Makefile
new file mode 100644
index 000000000000..8aa095726acb
--- /dev/null
+++ b/devel/p5-Params-Check/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: devel/p5-Params-Check
+# Date created: 15 December 2004
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Params-Check
+PORTVERSION= 0.22
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Params
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Generic input parsing/checking mechanism for Perl
+
+BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
+ ${SITE_PERL}/Locale/Maketext/Simple.pm:${PORTSDIR}/devel/p5-Locale-Maketext-Simple
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Params::Check.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Params-Check/distinfo b/devel/p5-Params-Check/distinfo
new file mode 100644
index 000000000000..364424fe14c3
--- /dev/null
+++ b/devel/p5-Params-Check/distinfo
@@ -0,0 +1,2 @@
+MD5 (Params-Check-0.22.tar.gz) = b9cd4d67542628d17199f4fc0ac5cb26
+SIZE (Params-Check-0.22.tar.gz) = 9883
diff --git a/devel/p5-Params-Check/pkg-descr b/devel/p5-Params-Check/pkg-descr
new file mode 100644
index 000000000000..1ed9fbef9d51
--- /dev/null
+++ b/devel/p5-Params-Check/pkg-descr
@@ -0,0 +1,5 @@
+Params::Check is a generic input parsing/checking mechanism. It allows
+you to validate input via a template. The only requirement is that the
+arguments must be named.
+
+WWW: http://search.cpan.org/dist/Params-Check
diff --git a/devel/p5-Params-Check/pkg-plist b/devel/p5-Params-Check/pkg-plist
new file mode 100644
index 000000000000..31c0ed49d9fd
--- /dev/null
+++ b/devel/p5-Params-Check/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Params/Check.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Params/Check/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Params/Check 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Params 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Params 2>/dev/null || true