From 09c157329718dddea5aad8d202e5a748e8fb8340 Mon Sep 17 00:00:00 2001 From: Sergey Skvortsov Date: Thu, 16 Aug 2007 21:58:13 +0000 Subject: [PATCH] Add p5-Data-FormValidator-Constraints-DateTime 1.09, data::FormValidator constraints for dates and times. --- textproc/Makefile | 1 + .../Makefile | 28 +++++++++++++++++++ .../distinfo | 3 ++ .../pkg-descr | 8 ++++++ .../pkg-plist | 4 +++ 5 files changed, 44 insertions(+) create mode 100644 textproc/p5-Data-FormValidator-Constraints-DateTime/Makefile create mode 100644 textproc/p5-Data-FormValidator-Constraints-DateTime/distinfo create mode 100644 textproc/p5-Data-FormValidator-Constraints-DateTime/pkg-descr create mode 100644 textproc/p5-Data-FormValidator-Constraints-DateTime/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index 8c3ba74003e8..e124ac16bee7 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -350,6 +350,7 @@ SUBDIR += p5-Chess-PGN-Parse SUBDIR += p5-Class-CSV SUBDIR += p5-Data-FormValidator + SUBDIR += p5-Data-FormValidator-Constraints-DateTime SUBDIR += p5-Data-Report SUBDIR += p5-Data-SpreadPagination SUBDIR += p5-DelimMatch diff --git a/textproc/p5-Data-FormValidator-Constraints-DateTime/Makefile b/textproc/p5-Data-FormValidator-Constraints-DateTime/Makefile new file mode 100644 index 000000000000..99afe86c6361 --- /dev/null +++ b/textproc/p5-Data-FormValidator-Constraints-DateTime/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: Data-FormValidator-Constraints-DateTime +# Date created: 17 August 2007 +# Whom: Sergey Skvortsov +# +# $FreeBSD$ +# + +PORTNAME= Data-FormValidator-Constraints-DateTime +PORTVERSION= 1.09 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../../authors/id/W/WO/WONKO +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@FreeBSD.org +COMMENT= Data::FormValidator constraints for dates and times + +BUILD_DEPENDS= ${SITE_PERL}/Data/FormValidator.pm:${PORTSDIR}/textproc/p5-Data-FormValidator \ + ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \ + ${SITE_PERL}/DateTime/Format/Strptime.pm:${PORTSDIR}/devel/p5-DateTime-Format-Strptime \ + ${SITE_PERL}/DateTime/Format/Builder.pm:${PORTSDIR}/devel/p5-DateTime-Format-Builder +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_MODBUILD= yes + +MAN3= Data::FormValidator::Constraints::DateTime.3 + +.include diff --git a/textproc/p5-Data-FormValidator-Constraints-DateTime/distinfo b/textproc/p5-Data-FormValidator-Constraints-DateTime/distinfo new file mode 100644 index 000000000000..1518cf352ae8 --- /dev/null +++ b/textproc/p5-Data-FormValidator-Constraints-DateTime/distinfo @@ -0,0 +1,3 @@ +MD5 (Data-FormValidator-Constraints-DateTime-1.09.tar.gz) = adec700adf05d817e09e890d99d9a339 +SHA256 (Data-FormValidator-Constraints-DateTime-1.09.tar.gz) = e23b06227f54d2f6c5d5825572df1f3942c44d3a0cf5a8d1e31262efce1cea7e +SIZE (Data-FormValidator-Constraints-DateTime-1.09.tar.gz) = 12550 diff --git a/textproc/p5-Data-FormValidator-Constraints-DateTime/pkg-descr b/textproc/p5-Data-FormValidator-Constraints-DateTime/pkg-descr new file mode 100644 index 000000000000..141237d2b8e7 --- /dev/null +++ b/textproc/p5-Data-FormValidator-Constraints-DateTime/pkg-descr @@ -0,0 +1,8 @@ +This package provides constraint routines for Data::FormValidator for +dealing with dates and times. It provides an easy mechanism for +validating dates of any format (using strptime(3)) and transforming +those dates (as long as you 'untaint' the fields) into valid DateTime +objects, or into strings that would be properly formatted for various +database engines. + +WWW: http://search.cpan.org/dist/Data-FormValidator-Constraints-DateTime/ diff --git a/textproc/p5-Data-FormValidator-Constraints-DateTime/pkg-plist b/textproc/p5-Data-FormValidator-Constraints-DateTime/pkg-plist new file mode 100644 index 000000000000..db60c38c1ad6 --- /dev/null +++ b/textproc/p5-Data-FormValidator-Constraints-DateTime/pkg-plist @@ -0,0 +1,4 @@ +%%SITE_PERL%%/Data/FormValidator/Constraints/DateTime.pm +@dirrmtry %%SITE_PERL%%/Data/FormValidator/Constraints +@dirrmtry %%SITE_PERL%%/Data/FormValidator +@dirrmtry %%SITE_PERL%%/Data