From 2580a55c212fc2fb76217c571912792a49ee6efa Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 16 Apr 2006 22:23:26 +0000 Subject: Import p5-Time-Local from pkgsrc-wip. Packaged by Roman Kulik. These routines are the inverse of built-in perl functions localtime() and gmtime(). They accept a date as a six-element array, and return the corresponding time(2) value in seconds since the system epoch (Midnight, January 1, 1970 UTC on Unix, for example). This value can be positive or negative, though POSIX only requires support for positive values, so dates before the system's epoch may not work on all operating systems. --- time/p5-Time-Local/DESCR | 7 +++++++ time/p5-Time-Local/Makefile | 15 +++++++++++++++ time/p5-Time-Local/PLIST | 1 + time/p5-Time-Local/distinfo | 5 +++++ 4 files changed, 28 insertions(+) create mode 100644 time/p5-Time-Local/DESCR create mode 100644 time/p5-Time-Local/Makefile create mode 100644 time/p5-Time-Local/PLIST create mode 100644 time/p5-Time-Local/distinfo (limited to 'time') diff --git a/time/p5-Time-Local/DESCR b/time/p5-Time-Local/DESCR new file mode 100644 index 00000000000..7db7299f2e5 --- /dev/null +++ b/time/p5-Time-Local/DESCR @@ -0,0 +1,7 @@ +These routines are the inverse of built-in perl functions localtime() +and gmtime(). They accept a date as a six-element array, and return +the corresponding time(2) value in seconds since the system epoch +(Midnight, January 1, 1970 UTC on Unix, for example). This value can +be positive or negative, though POSIX only requires support for +positive values, so dates before the system's epoch may not work on +all operating systems. diff --git a/time/p5-Time-Local/Makefile b/time/p5-Time-Local/Makefile new file mode 100644 index 00000000000..3e5ebe44654 --- /dev/null +++ b/time/p5-Time-Local/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/04/16 22:23:26 minskim Exp $ + +DISTNAME= Time-Local-1.12 +PKGNAME= p5-${DISTNAME} +CATEGORIES= time perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Time/} + +MAINTAINER= kuli0020@umn.edu +HOMEPAGE= http://search.cpan.org/dist/Time-Local/ +COMMENT= Efficiently compute time from local and GMT time + +PERL5_PACKLIST= auto/Time/Local/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/time/p5-Time-Local/PLIST b/time/p5-Time-Local/PLIST new file mode 100644 index 00000000000..4aaaf88b827 --- /dev/null +++ b/time/p5-Time-Local/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/16 22:23:26 minskim Exp $ diff --git a/time/p5-Time-Local/distinfo b/time/p5-Time-Local/distinfo new file mode 100644 index 00000000000..7bc17d986b5 --- /dev/null +++ b/time/p5-Time-Local/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/04/16 22:23:26 minskim Exp $ + +SHA1 (Time-Local-1.12.tar.gz) = 4eafac0b20a586f2d84dd98f4e20e086b608af75 +RMD160 (Time-Local-1.12.tar.gz) = 891a8d484d60eb0ec3cdb1d8edd434155bf75aec +Size (Time-Local-1.12.tar.gz) = 17084 bytes -- cgit v1.2.3