aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-06-28 22:57:23 +0800
committermiwi <miwi@FreeBSD.org>2008-06-28 22:57:23 +0800
commit587dbdba50865becefac8aae4a9cd884fabb1c95 (patch)
treed5950c1ec35a116fc6aa56390012073bdc74dfa1 /devel
parent0fc766edafe785287f8d222709affb12fc7a161a (diff)
downloadfreebsd-ports-gnome-587dbdba50865becefac8aae4a9cd884fabb1c95.tar.gz
freebsd-ports-gnome-587dbdba50865becefac8aae4a9cd884fabb1c95.tar.zst
freebsd-ports-gnome-587dbdba50865becefac8aae4a9cd884fabb1c95.zip
This module is a compatibility wrapper around Date::Parse.
Provides a tool to process different combinations of dates and zones values. If a date doesn't contain a timezone suffix, and zone parameter is not set, then the timezone of the returned DateTime object will be set to the local timezone. This is consistent with the behavior of Date::Parse. If no zone is specified and the date string does specify a timezone/offset or if a zone format can not be parsed by DateTime::TimeZone, the returned DateTime object will have UTC timezone. WWW: http://search.cpan.org/dist/DateTime-Format-DateParse/ PR: ports/124852 Submitted by: svysh at pn.sinp.msu.ru
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-DateTime-Format-DateParse/Makefile25
-rw-r--r--devel/p5-DateTime-Format-DateParse/distinfo3
-rw-r--r--devel/p5-DateTime-Format-DateParse/pkg-descr11
-rw-r--r--devel/p5-DateTime-Format-DateParse/pkg-plist4
5 files changed, 44 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e02f54d046a2..c90fb03435cf 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1156,6 +1156,7 @@
SUBDIR += p5-DateTime-Format-Builder
SUBDIR += p5-DateTime-Format-DBI
SUBDIR += p5-DateTime-Format-DateManip
+ SUBDIR += p5-DateTime-Format-DateParse
SUBDIR += p5-DateTime-Format-Duration
SUBDIR += p5-DateTime-Format-Epoch
SUBDIR += p5-DateTime-Format-Excel
diff --git a/devel/p5-DateTime-Format-DateParse/Makefile b/devel/p5-DateTime-Format-DateParse/Makefile
new file mode 100644
index 000000000000..d2f37ebae26b
--- /dev/null
+++ b/devel/p5-DateTime-Format-DateParse/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: p5-DateTime-Format-DateParse
+# Date created: 21 Jun 2008
+# Whom: svysh@pn.sinp.msu.ru
+#
+# $FreeBSD$
+#
+
+PORTNAME= DateTime-Format-DateParse
+PORTVERSION= 0.04
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DateTime
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= svysh@pn.sinp.msu.ru
+COMMENT= This module is a compatibility wrapper around Date::Parse
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
+ ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate
+
+PERL_MODBUILD= yes
+
+MAN3= DateTime::Format::DateParse.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-DateTime-Format-DateParse/distinfo b/devel/p5-DateTime-Format-DateParse/distinfo
new file mode 100644
index 000000000000..021a415caea7
--- /dev/null
+++ b/devel/p5-DateTime-Format-DateParse/distinfo
@@ -0,0 +1,3 @@
+MD5 (DateTime-Format-DateParse-0.04.tar.gz) = e1b5dc9fd2ab9d10203f495ed113745f
+SHA256 (DateTime-Format-DateParse-0.04.tar.gz) = ec3f1bc7a6863f18c4c33f1ee12ded7a2469861042be5473b75a08c96716a7a8
+SIZE (DateTime-Format-DateParse-0.04.tar.gz) = 14504
diff --git a/devel/p5-DateTime-Format-DateParse/pkg-descr b/devel/p5-DateTime-Format-DateParse/pkg-descr
new file mode 100644
index 000000000000..68d25771e358
--- /dev/null
+++ b/devel/p5-DateTime-Format-DateParse/pkg-descr
@@ -0,0 +1,11 @@
+This module is a compatibility wrapper around Date::Parse.
+
+Provides a tool to process different combinations of dates and zones values.
+If a date doesn't contain a timezone suffix, and zone parameter is not set,
+then the timezone of the returned DateTime object will be set to the local
+timezone. This is consistent with the behavior of Date::Parse.
+If no zone is specified and the date string does specify a timezone/offset or
+if a zone format can not be parsed by DateTime::TimeZone, the returned
+DateTime object will have UTC timezone.
+
+WWW: http://search.cpan.org/dist/DateTime-Format-DateParse/
diff --git a/devel/p5-DateTime-Format-DateParse/pkg-plist b/devel/p5-DateTime-Format-DateParse/pkg-plist
new file mode 100644
index 000000000000..e01d84b8a96d
--- /dev/null
+++ b/devel/p5-DateTime-Format-DateParse/pkg-plist
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/DateTime/Format/DateParse.pm
+%%SITE_PERL%%/DateTime/Format/DateParse.pod
+@dirrmtry %%SITE_PERL%%/DateTime/Format
+@dirrmtry %%SITE_PERL%%/DateTime