summaryrefslogtreecommitdiff
path: root/time/p5-Time-Local
diff options
context:
space:
mode:
authorminskim <minskim>2006-04-16 22:23:26 +0000
committerminskim <minskim>2006-04-16 22:23:26 +0000
commit2580a55c212fc2fb76217c571912792a49ee6efa (patch)
treee6a1fa13cbcd9444561a85aaf359a12dbae02c27 /time/p5-Time-Local
parent52bde7aa1b539657f74541a351357b803540c12a (diff)
downloadpkgsrc-2580a55c212fc2fb76217c571912792a49ee6efa.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/DESCR7
-rw-r--r--time/p5-Time-Local/Makefile15
-rw-r--r--time/p5-Time-Local/PLIST1
-rw-r--r--time/p5-Time-Local/distinfo5
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