summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/p5-DateTime/DESCR10
-rw-r--r--time/p5-DateTime/Makefile22
-rw-r--r--time/p5-DateTime/PLIST1
-rw-r--r--time/p5-DateTime/distinfo4
4 files changed, 37 insertions, 0 deletions
diff --git a/time/p5-DateTime/DESCR b/time/p5-DateTime/DESCR
new file mode 100644
index 00000000000..9bd8c691f68
--- /dev/null
+++ b/time/p5-DateTime/DESCR
@@ -0,0 +1,10 @@
+The DateTime.pm module aims to provide a complete, correct, and easy
+to use date/time object implementation. Currently it handles many date
+calculations, date math (addition and subtraction), and provides
+convenient methods for retrieving portions of a date/time.
+
+This module properly supports the Olson time zone database, meaning
+that historical time zone information, and more importantly, daylight
+saving time rules, can be handled transparently, simply by setting the
+correct time zone. This is done by using the DateTime::TimeZone
+module.
diff --git a/time/p5-DateTime/Makefile b/time/p5-DateTime/Makefile
new file mode 100644
index 00000000000..51f2e1d4afc
--- /dev/null
+++ b/time/p5-DateTime/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/26 16:18:40 cube Exp $
+
+DISTNAME= DateTime-0.25
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= time perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/}
+
+MAINTAINER= cube@NetBSD.org
+HOMEPAGE= http://datetime.perl.org/
+COMMENT= Perl module for date/time sets and ranges
+
+DEPENDS+= p5-Class-Factory-Util-[0-9]*:../../devel/p5-Class-Factory-Util
+DEPENDS+= p5-DateTime-TimeZone>=0.26:../../time/p5-DateTime-TimeZone
+DEPENDS+= p5-DateTime-Locale>=0.09:../../time/p5-DateTime-Locale
+DEPENDS+= p5-Params-Validate>=0.76:../../devel/p5-Params-Validate
+DEPENDS+= {perl>=5.8.1,p5-Test-Simple-[0-9]*}:../../devel/p5-Test-Simple
+
+USE_BUILDLINK3= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DateTime/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/p5-DateTime/PLIST b/time/p5-DateTime/PLIST
new file mode 100644
index 00000000000..cc9489eaf34
--- /dev/null
+++ b/time/p5-DateTime/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/26 16:18:40 cube Exp $
diff --git a/time/p5-DateTime/distinfo b/time/p5-DateTime/distinfo
new file mode 100644
index 00000000000..b88fd29443d
--- /dev/null
+++ b/time/p5-DateTime/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/26 16:18:40 cube Exp $
+
+SHA1 (DateTime-0.25.tar.gz) = f168a0051872d5ca61b39c027c5a896876174056
+Size (DateTime-0.25.tar.gz) = 81993 bytes