From 5192faf0470d4f30129f2bb64e15ba6b9b33be75 Mon Sep 17 00:00:00 2001 From: avsm Date: Sat, 16 Sep 2000 14:53:15 +0000 Subject: [PATCH] import p5-Date-Calc-4.3 reviewed by brad@ -- 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). --- devel/p5-Date-Calc/Makefile | 21 +++++++++++++++++++++ devel/p5-Date-Calc/files/md5 | 3 +++ devel/p5-Date-Calc/pkg/COMMENT | 1 + devel/p5-Date-Calc/pkg/DESCR | 28 ++++++++++++++++++++++++++++ devel/p5-Date-Calc/pkg/PLIST | 7 +++++++ 5 files changed, 60 insertions(+) create mode 100644 devel/p5-Date-Calc/Makefile create mode 100644 devel/p5-Date-Calc/files/md5 create mode 100644 devel/p5-Date-Calc/pkg/COMMENT create mode 100644 devel/p5-Date-Calc/pkg/DESCR create mode 100644 devel/p5-Date-Calc/pkg/PLIST diff --git a/devel/p5-Date-Calc/Makefile b/devel/p5-Date-Calc/Makefile new file mode 100644 index 00000000000..c3ec6b16fdb --- /dev/null +++ b/devel/p5-Date-Calc/Makefile @@ -0,0 +1,21 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2000/09/16 14:53:15 avsm Exp $ + +DISTNAME= Date-Calc-4.3 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +NEED_VERSION= 1.330 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Date + +MAINTAINER= avsm@openbsd.org + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +CONFIGURE_STYLE= perl + +ALL_TARGET= test + +.include diff --git a/devel/p5-Date-Calc/files/md5 b/devel/p5-Date-Calc/files/md5 new file mode 100644 index 00000000000..4cfaff4bbbe --- /dev/null +++ b/devel/p5-Date-Calc/files/md5 @@ -0,0 +1,3 @@ +MD5 (Date-Calc-4.3.tar.gz) = da96f2286bb05b33b01801bc2a424e82 +RMD160 (Date-Calc-4.3.tar.gz) = 2093cd0bce75c61e09da59a14d1ad80b97c61fa7 +SHA1 (Date-Calc-4.3.tar.gz) = d0dbb02dc93708e2f6ac627a361e87deacdd6bd0 diff --git a/devel/p5-Date-Calc/pkg/COMMENT b/devel/p5-Date-Calc/pkg/COMMENT new file mode 100644 index 00000000000..8c72a869876 --- /dev/null +++ b/devel/p5-Date-Calc/pkg/COMMENT @@ -0,0 +1 @@ +date calculations for the Gregorian calendar diff --git a/devel/p5-Date-Calc/pkg/DESCR b/devel/p5-Date-Calc/pkg/DESCR new file mode 100644 index 00000000000..9c21e0c1635 --- /dev/null +++ b/devel/p5-Date-Calc/pkg/DESCR @@ -0,0 +1,28 @@ +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. + +Note that this package projects the Gregorian calendar back until +the year 1 A.D. -- even though the Gregorian calendar was only +adopted in 1582 by most (not all) European countries, in obedience +to the corresponding decree of catholic pope Gregor I in that year. + +Some (mainly protestant) countries continued to use the Julian +calendar (used until then) until as late as the beginning of the +20th century. + +Finally, note that this package is not intended to do everything +you could ever imagine automagically for you; it is rather intended +to serve as a toolbox (in the best of UNIX spirit and traditions) +which should, however, always get you where you want to go. diff --git a/devel/p5-Date-Calc/pkg/PLIST b/devel/p5-Date-Calc/pkg/PLIST new file mode 100644 index 00000000000..6aff2d576d2 --- /dev/null +++ b/devel/p5-Date-Calc/pkg/PLIST @@ -0,0 +1,7 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2000/09/16 14:53:15 avsm Exp $ +libdata/perl5/site_perl/${ARCH}-openbsd/Date/Calc.pm +libdata/perl5/site_perl/${ARCH}-openbsd/auto/Date/Calc/.packlist +libdata/perl5/site_perl/${ARCH}-openbsd/auto/Date/Calc/Calc.bs +libdata/perl5/site_perl/${ARCH}-openbsd/auto/Date/Calc/Calc.so +man/man3/Date::Calc.3p +@dirrm libdata/perl5/site_perl/${ARCH}-openbsd/auto/Date/Calc