summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-02-13 23:46:51 +0000
committerabs <abs@pkgsrc.org>2009-02-13 23:46:51 +0000
commitf74c57a4ad88068582646569f19561693505fda1 (patch)
treeed328b8084fd59c1a6f4f40997393050b1abdec3 /time
parentd8483c9fa54b9083b70f5ee0b1e84609b8eaafc2 (diff)
downloadpkgsrc-f74c57a4ad88068582646569f19561693505fda1.tar.gz
Added time/p5-Date-Calc version 5.4
This package consists of a C library and a Perl module (which uses the C library, internally) for all kinds of date calculations based on the Gregorian calendar (the one used in all western countries today), thereby complying with all relevant norms and standards: ISO/R 2015-1971, DIN 1355 and, to some extent, ISO 8601 (where applicable). (See also http://www.engelschall.com/u/sb/download/Date-Calc/DIN1355/ for a scan of part of the "DIN 1355" document (in German)). The module of course handles year numbers of 2000 and above correctly ("Year 2000" or "Y2K" compliance) -- actually all year numbers from 1 to the largest positive integer representable on your system (which is at least 32767) can be dealt with.
Diffstat (limited to 'time')
-rw-r--r--time/p5-Date-Calc/DESCR14
-rw-r--r--time/p5-Date-Calc/Makefile20
-rw-r--r--time/p5-Date-Calc/distinfo5
3 files changed, 39 insertions, 0 deletions
diff --git a/time/p5-Date-Calc/DESCR b/time/p5-Date-Calc/DESCR
new file mode 100644
index 00000000000..f31b0b852a7
--- /dev/null
+++ b/time/p5-Date-Calc/DESCR
@@ -0,0 +1,14 @@
+This package consists of a C library and a Perl module (which uses
+the C library, internally) for all kinds of date calculations based
+on the Gregorian calendar (the one used in all western countries
+today), thereby complying with all relevant norms and standards:
+ISO/R 2015-1971, DIN 1355 and, to some extent, ISO 8601 (where
+applicable).
+
+(See also http://www.engelschall.com/u/sb/download/Date-Calc/DIN1355/
+for a scan of part of the "DIN 1355" document (in German)).
+
+The module of course handles year numbers of 2000 and above correctly
+("Year 2000" or "Y2K" compliance) -- actually all year numbers from
+1 to the largest positive integer representable on your system
+(which is at least 32767) can be dealt with.
diff --git a/time/p5-Date-Calc/Makefile b/time/p5-Date-Calc/Makefile
new file mode 100644
index 00000000000..9489a29e1ab
--- /dev/null
+++ b/time/p5-Date-Calc/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/13 23:46:51 abs Exp $
+
+DISTNAME= Date-Calc-5.4
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= time perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Date/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/perldoc?Date::Calc
+COMMENT= Gregorian calendar date calculations
+
+DEPENDS+= p5-Bit-Vector>=6.4:../../devel/p5-Bit-Vector
+
+USE_LANGUAGES= c # installs C module
+PERL5_PACKLIST= auto/Date/Calc/.packlist
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/p5-Date-Calc/distinfo b/time/p5-Date-Calc/distinfo
new file mode 100644
index 00000000000..d67eedfdf3c
--- /dev/null
+++ b/time/p5-Date-Calc/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/02/13 23:46:51 abs Exp $
+
+SHA1 (Date-Calc-5.4.tar.gz) = 630dfca054aaebd4535e2251c2c5c20d625f3f94
+RMD160 (Date-Calc-5.4.tar.gz) = 527e60e102c8e5a04eb9038560ff8325b8a6ed84
+Size (Date-Calc-5.4.tar.gz) = 206622 bytes