aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-DateTime-Format-Natural
diff options
context:
space:
mode:
authorTimur I. Bakeyev <timur@FreeBSD.org>2008-07-22 20:49:56 +0000
committerTimur I. Bakeyev <timur@FreeBSD.org>2008-07-22 20:49:56 +0000
commit5518b074ddc933f8056eae414a364a0585ac941d (patch)
treef1eb74dee2ea40575765086b78a073d011f5d147 /devel/p5-DateTime-Format-Natural
parente0e1bbb822f6383af2023e5a66d4540730260109 (diff)
downloadports-5518b074ddc933f8056eae414a364a0585ac941d.tar.gz
ports-5518b074ddc933f8056eae414a364a0585ac941d.zip
Added new port p5-DateTime-Format-Natural. DateTime::Format::Natural
takes a string with a human readable date/time and creates a machine readable one by applying natural parsing logic.
Notes
Notes: svn path=/head/; revision=217311
Diffstat (limited to 'devel/p5-DateTime-Format-Natural')
-rw-r--r--devel/p5-DateTime-Format-Natural/Makefile31
-rw-r--r--devel/p5-DateTime-Format-Natural/distinfo3
-rw-r--r--devel/p5-DateTime-Format-Natural/pkg-descr4
-rw-r--r--devel/p5-DateTime-Format-Natural/pkg-plist9
4 files changed, 47 insertions, 0 deletions
diff --git a/devel/p5-DateTime-Format-Natural/Makefile b/devel/p5-DateTime-Format-Natural/Makefile
new file mode 100644
index 000000000000..b873ed83a777
--- /dev/null
+++ b/devel/p5-DateTime-Format-Natural/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: p5-DateTime-Format-Natural
+# Date created: 22 Jul 2008
+# Whom: Timur I. Bakeyev <bat@cpan.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DateTime-Format-Natural
+PORTVERSION= 0.71
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= timur@FreeBSD.org
+COMMENT= Create machine readable date/time with natural parsing logic
+
+BUILD_DEPENDS= \
+ ${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
+ ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
+ ${SITE_PERL}/${PERL_ARCH}/List/MoreUtils.pm:${PORTSDIR}/lang/p5-List-MoreUtils \
+ ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_MODBUILD= yes
+
+MAN1= dateparse.1
+
+MAN3= DateTime::Format::Natural.3 DateTime::Format::Natural::Base.3 \
+ DateTime::Format::Natural::Lang::Base.3 DateTime::Format::Natural::Lang::EN.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-DateTime-Format-Natural/distinfo b/devel/p5-DateTime-Format-Natural/distinfo
new file mode 100644
index 000000000000..51ad88975f5f
--- /dev/null
+++ b/devel/p5-DateTime-Format-Natural/distinfo
@@ -0,0 +1,3 @@
+MD5 (DateTime-Format-Natural-0.71.tar.gz) = f5d1c948c2eed6efe918716ca2feb8f4
+SHA256 (DateTime-Format-Natural-0.71.tar.gz) = a292e495b7d3db64f024a9e47c3ca667c25b781e0e1c10ca019d37e7671afe75
+SIZE (DateTime-Format-Natural-0.71.tar.gz) = 24485
diff --git a/devel/p5-DateTime-Format-Natural/pkg-descr b/devel/p5-DateTime-Format-Natural/pkg-descr
new file mode 100644
index 000000000000..424cf6720863
--- /dev/null
+++ b/devel/p5-DateTime-Format-Natural/pkg-descr
@@ -0,0 +1,4 @@
+DateTime::Format::Natural takes a string with a human readable date/time
+and creates a machine readable one by applying natural parsing logic.
+
+WWW: http://datetime.perl.org/
diff --git a/devel/p5-DateTime-Format-Natural/pkg-plist b/devel/p5-DateTime-Format-Natural/pkg-plist
new file mode 100644
index 000000000000..aea22bb562bd
--- /dev/null
+++ b/devel/p5-DateTime-Format-Natural/pkg-plist
@@ -0,0 +1,9 @@
+bin/dateparse
+%%SITE_PERL%%/DateTime/Format/Natural.pm
+%%SITE_PERL%%/DateTime/Format/Natural/Base.pm
+%%SITE_PERL%%/DateTime/Format/Natural/Lang/Base.pm
+%%SITE_PERL%%/DateTime/Format/Natural/Lang/EN.pm
+@dirrmtry %%SITE_PERL%%/DateTime/Format/Natural/Lang
+@dirrmtry %%SITE_PERL%%/DateTime/Format/Natural
+@dirrmtry %%SITE_PERL%%/DateTime/Format
+@dirrmtry %%SITE_PERL%%/DateTime