summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-07-14 17:39:36 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-07-14 17:39:36 +0000
commit3ed3ef1c7f4a10c17fcb2171399160fec222bd4a (patch)
tree6a56144f4a3407f358e958bb539d6ea967a4fc45 /devel
parentDateTimeX::Easy makes DateTime object creation quick and easy. It (diff)
DateTime::Format::Flexible attempts to take any string you give it
and parse it into a DateTime object. The test file tests 2500+ variations of date/time strings. WWW: http://search.cpan.org/dist/DateTime-Format-Flexible/ PR: ports/135939 (4 of 6) Submitted by: Cezary Morga <cm at therek.net>
Notes
Notes: svn path=/head/; revision=237805
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-DateTime-Format-Flexible/Makefile27
-rw-r--r--devel/p5-DateTime-Format-Flexible/Makefile.orig0
-rw-r--r--devel/p5-DateTime-Format-Flexible/distinfo3
-rw-r--r--devel/p5-DateTime-Format-Flexible/distinfo.orig0
-rw-r--r--devel/p5-DateTime-Format-Flexible/pkg-descr5
-rw-r--r--devel/p5-DateTime-Format-Flexible/pkg-descr.orig0
-rw-r--r--devel/p5-DateTime-Format-Flexible/pkg-plist7
-rw-r--r--devel/p5-DateTime-Format-Flexible/pkg-plist.orig0
9 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 053061646056..10721c8e05c7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1254,6 +1254,7 @@
SUBDIR += p5-DateTime-Format-Duration
SUBDIR += p5-DateTime-Format-Epoch
SUBDIR += p5-DateTime-Format-Excel
+ SUBDIR += p5-DateTime-Format-Flexible
SUBDIR += p5-DateTime-Format-HTTP
SUBDIR += p5-DateTime-Format-IBeat
SUBDIR += p5-DateTime-Format-ICal
diff --git a/devel/p5-DateTime-Format-Flexible/Makefile b/devel/p5-DateTime-Format-Flexible/Makefile
new file mode 100644
index 000000000000..2173b7252583
--- /dev/null
+++ b/devel/p5-DateTime-Format-Flexible/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: devel/p5-DateTime-Format-Flexible
+# Date created: 23 Jun 2009
+# Whom: Cezary Morga <cm@therek.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DateTime-Format-Flexible
+PORTVERSION= 0.09
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= cm@therek.net
+COMMENT= Flexibly parse strings and turn them into DateTime objects
+
+RUN_DEPENDS= p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
+ p5-DateTime-Format-Builder>=0.74:${PORTSDIR}/devel/p5-DateTime-Format-Builder \
+ p5-DateTime-TimeZone>=0:${PORTSDIR}/devel/p5-DateTime-TimeZone \
+ p5-Readonly>=0.06:${PORTSDIR}/devel/p5-Readonly
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= DateTime::Format::Flexible.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-DateTime-Format-Flexible/Makefile.orig b/devel/p5-DateTime-Format-Flexible/Makefile.orig
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/devel/p5-DateTime-Format-Flexible/Makefile.orig
diff --git a/devel/p5-DateTime-Format-Flexible/distinfo b/devel/p5-DateTime-Format-Flexible/distinfo
new file mode 100644
index 000000000000..a577fbe2ae84
--- /dev/null
+++ b/devel/p5-DateTime-Format-Flexible/distinfo
@@ -0,0 +1,3 @@
+MD5 (DateTime-Format-Flexible-0.09.tar.gz) = e7b7c8089f3da5c3872ae97028e06390
+SHA256 (DateTime-Format-Flexible-0.09.tar.gz) = 7b512b5a0f0c00cc95d829addd061f47f27142d39e4e3594391149f97758fc17
+SIZE (DateTime-Format-Flexible-0.09.tar.gz) = 55474
diff --git a/devel/p5-DateTime-Format-Flexible/distinfo.orig b/devel/p5-DateTime-Format-Flexible/distinfo.orig
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/devel/p5-DateTime-Format-Flexible/distinfo.orig
diff --git a/devel/p5-DateTime-Format-Flexible/pkg-descr b/devel/p5-DateTime-Format-Flexible/pkg-descr
new file mode 100644
index 000000000000..2fb5b5fc9d3a
--- /dev/null
+++ b/devel/p5-DateTime-Format-Flexible/pkg-descr
@@ -0,0 +1,5 @@
+DateTime::Format::Flexible attempts to take any string you give it
+and parse it into a DateTime object. The test file tests 2500+
+variations of date/time strings.
+
+WWW: http://search.cpan.org/dist/DateTime-Format-Flexible/
diff --git a/devel/p5-DateTime-Format-Flexible/pkg-descr.orig b/devel/p5-DateTime-Format-Flexible/pkg-descr.orig
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/devel/p5-DateTime-Format-Flexible/pkg-descr.orig
diff --git a/devel/p5-DateTime-Format-Flexible/pkg-plist b/devel/p5-DateTime-Format-Flexible/pkg-plist
new file mode 100644
index 000000000000..b2e2ef1ba0e5
--- /dev/null
+++ b/devel/p5-DateTime-Format-Flexible/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/DateTime/Format/Flexible.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Flexible/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Flexible
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime
+@dirrmtry %%SITE_PERL%%/DateTime/Format
+@dirrmtry %%SITE_PERL%%/DateTime
diff --git a/devel/p5-DateTime-Format-Flexible/pkg-plist.orig b/devel/p5-DateTime-Format-Flexible/pkg-plist.orig
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/devel/p5-DateTime-Format-Flexible/pkg-plist.orig