diff options
Diffstat (limited to 'devel/p5-Date-Manip')
-rw-r--r-- | devel/p5-Date-Manip/Makefile | 17 | ||||
-rw-r--r-- | devel/p5-Date-Manip/files/md5 | 3 | ||||
-rw-r--r-- | devel/p5-Date-Manip/newer | 0 | ||||
-rw-r--r-- | devel/p5-Date-Manip/pkg/COMMENT | 1 | ||||
-rw-r--r-- | devel/p5-Date-Manip/pkg/DESCR | 17 | ||||
-rw-r--r-- | devel/p5-Date-Manip/pkg/PLIST | 6 |
6 files changed, 44 insertions, 0 deletions
diff --git a/devel/p5-Date-Manip/Makefile b/devel/p5-Date-Manip/Makefile new file mode 100644 index 00000000000..3f1a2eee5b0 --- /dev/null +++ b/devel/p5-Date-Manip/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/03/07 23:15:57 jwise Exp $ +# + +DISTNAME= DateManip-5.37 +PKGNAME= p5-Date-Manip-5.37 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Date/} + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.cpan.org/ + +USE_PERL5= YES + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Date-Manip/files/md5 b/devel/p5-Date-Manip/files/md5 new file mode 100644 index 00000000000..1fabe8b868f --- /dev/null +++ b/devel/p5-Date-Manip/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/03/07 23:15:57 jwise Exp $ + +MD5 (DateManip-5.37.tar.gz) = b8de59e530cd0b0a25a1b09c4584aecb diff --git a/devel/p5-Date-Manip/newer b/devel/p5-Date-Manip/newer new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/devel/p5-Date-Manip/newer diff --git a/devel/p5-Date-Manip/pkg/COMMENT b/devel/p5-Date-Manip/pkg/COMMENT new file mode 100644 index 00000000000..7e0233b1016 --- /dev/null +++ b/devel/p5-Date-Manip/pkg/COMMENT @@ -0,0 +1 @@ +a perl5 module for date calculations diff --git a/devel/p5-Date-Manip/pkg/DESCR b/devel/p5-Date-Manip/pkg/DESCR new file mode 100644 index 00000000000..64eb08ac449 --- /dev/null +++ b/devel/p5-Date-Manip/pkg/DESCR @@ -0,0 +1,17 @@ +This is a set of routines designed to make any common date/time +manipulation easy to do. Operations such as comparing two times, +calculating a time a given amount of time from another, or parsing +international times are all easily done. + +Date::Manip deals only with the Gregorian calendar (the one currently in +use). The Julian calendar defined leap years as every 4th year. The +Gregorian calendar improved this by making every 100th year NOT a leap +year, unless it was also the 400th year. The Gregorian calendar has been +extrapolated back to the year 1000 AD and forward to the year 9999 AD. +Note that in historical context, the Julian calendar was in use until 1582 +when the Gregorian calendar was adopted by the Catholic church. Protestant +countries did not accept it until later; Germany and Netherlands in 1698, +British Empire in 1752, Russia in 1918. Note that the Gregorian calendar +is itself imperfect. Each year is on average 26 seconds too long, which +means that every 3,323 years, a day should be removed from the calendar. +No attempt is made to correct for that. diff --git a/devel/p5-Date-Manip/pkg/PLIST b/devel/p5-Date-Manip/pkg/PLIST new file mode 100644 index 00000000000..121ab0e7405 --- /dev/null +++ b/devel/p5-Date-Manip/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/03/07 23:15:58 jwise Exp $ +lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Date/Manip/.packlist +lib/perl5/site_perl/Date/Manip.pm +lib/perl5/site_perl/Date/Manip.pod +lib/perl5/man/man3/Date::Manip.3 +@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Date/Manip/ |