summaryrefslogtreecommitdiff
path: root/time/p5-Time-Clock
diff options
context:
space:
mode:
authorabs <abs>2007-06-10 11:18:16 +0000
committerabs <abs>2007-06-10 11:18:16 +0000
commit86f0ee74692cfbb8c32d4d1bb9bd1c83bd3c8bd4 (patch)
tree3a7e026a02f2fa837424c93157305ec74342aea0 /time/p5-Time-Clock
parent56bc397d1d2cbd9e21bad5a63054f0f1763d546c (diff)
downloadpkgsrc-86f0ee74692cfbb8c32d4d1bb9bd1c83bd3c8bd4.tar.gz
Import p5-Time-Clock-0.11
A Time::Clock object is a twenty-four hour clock with nanosecond precision and wrap-around. It is a clock only; it has absolutely no concept of dates. Vagaries of date/time such as leap seconds and daylight savings time are unsupported. When a Time::Clock object hits 23:59:59.999999999 and at least one more nanosecond is added, it will wrap around to 00:00:00.000000000. This works in reverse when time is subtracted. Time::Clock objects automatically stringify to a user-definable format.
Diffstat (limited to 'time/p5-Time-Clock')
-rw-r--r--time/p5-Time-Clock/DESCR11
-rw-r--r--time/p5-Time-Clock/Makefile15
-rw-r--r--time/p5-Time-Clock/PLIST1
-rw-r--r--time/p5-Time-Clock/distinfo5
4 files changed, 32 insertions, 0 deletions
diff --git a/time/p5-Time-Clock/DESCR b/time/p5-Time-Clock/DESCR
new file mode 100644
index 00000000000..3b02241b84e
--- /dev/null
+++ b/time/p5-Time-Clock/DESCR
@@ -0,0 +1,11 @@
+A Time::Clock object is a twenty-four hour clock with nanosecond
+precision and wrap-around. It is a clock only; it has absolutely
+no concept of dates. Vagaries of date/time such as leap seconds
+and daylight savings time are unsupported.
+
+When a Time::Clock object hits 23:59:59.999999999 and at least one
+more nanosecond is added, it will wrap around to 00:00:00.000000000.
+This works in reverse when time is subtracted.
+
+Time::Clock objects automatically stringify to a user-definable
+format.
diff --git a/time/p5-Time-Clock/Makefile b/time/p5-Time-Clock/Makefile
new file mode 100644
index 00000000000..15c985629f3
--- /dev/null
+++ b/time/p5-Time-Clock/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/06/10 11:18:16 abs Exp $
+
+DISTNAME= Time-Clock-0.11
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= time perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Time/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Time-Clock/
+COMMENT= Twenty-four hour clock object with nanosecond precision
+
+PERL5_PACKLIST= auto/Time/Clock/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/p5-Time-Clock/PLIST b/time/p5-Time-Clock/PLIST
new file mode 100644
index 00000000000..ce7df4bd5e8
--- /dev/null
+++ b/time/p5-Time-Clock/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/06/10 11:18:16 abs Exp $
diff --git a/time/p5-Time-Clock/distinfo b/time/p5-Time-Clock/distinfo
new file mode 100644
index 00000000000..95e563b8ef7
--- /dev/null
+++ b/time/p5-Time-Clock/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/06/10 11:18:16 abs Exp $
+
+SHA1 (Time-Clock-0.11.tar.gz) = 9465214b24b7dbc4de995fc44ecd7b4db2a7dbba
+RMD160 (Time-Clock-0.11.tar.gz) = d9d84176599c53c67c47cf13e857e15f61c4275f
+Size (Time-Clock-0.11.tar.gz) = 7730 bytes