diff options
author | minskim <minskim@pkgsrc.org> | 2006-04-16 22:23:26 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-04-16 22:23:26 +0000 |
commit | 0c2fe5934e6c83be00ee7968d39bff70cbc9dc04 (patch) | |
tree | e6a1fa13cbcd9444561a85aaf359a12dbae02c27 /time/p5-Time-Local | |
parent | f43174bcda5afdcb10a923dc9bcfed94b7b8fea6 (diff) | |
download | pkgsrc-0c2fe5934e6c83be00ee7968d39bff70cbc9dc04.tar.gz |
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.
Diffstat (limited to 'time/p5-Time-Local')
-rw-r--r-- | time/p5-Time-Local/DESCR | 7 | ||||
-rw-r--r-- | time/p5-Time-Local/Makefile | 15 | ||||
-rw-r--r-- | time/p5-Time-Local/PLIST | 1 | ||||
-rw-r--r-- | time/p5-Time-Local/distinfo | 5 |
4 files changed, 28 insertions, 0 deletions
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 |