summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-10-23 17:04:37 +0000
committerminskim <minskim@pkgsrc.org>2004-10-23 17:04:37 +0000
commit16d688b6638b5edf83cac41dc09e0d979b659bac (patch)
treeb9b4e2b101b4470b9644607ad2fcb0d90668c2fb /time
parent94f1bf6fd7aa1f7eba79aefbacc98eb490a378d0 (diff)
downloadpkgsrc-16d688b6638b5edf83cac41dc09e0d979b659bac.tar.gz
Import p5-Time-Piece from pkgsrc-wip. Packaged by Hiramatsu Yoshifumi.
This module replaces the standard localtime and gmtime functions with implementations that return objects. It does so in a backwards compatible manner, so that using localtime/gmtime in the way documented in perlfunc will still return what you expect.
Diffstat (limited to 'time')
-rw-r--r--time/p5-Time-Piece/DESCR4
-rw-r--r--time/p5-Time-Piece/Makefile19
-rw-r--r--time/p5-Time-Piece/PLIST1
-rw-r--r--time/p5-Time-Piece/distinfo4
4 files changed, 28 insertions, 0 deletions
diff --git a/time/p5-Time-Piece/DESCR b/time/p5-Time-Piece/DESCR
new file mode 100644
index 00000000000..e02b24d77f1
--- /dev/null
+++ b/time/p5-Time-Piece/DESCR
@@ -0,0 +1,4 @@
+This module replaces the standard localtime and gmtime functions with
+implementations that return objects. It does so in a backwards
+compatible manner, so that using localtime/gmtime in the way
+documented in perlfunc will still return what you expect.
diff --git a/time/p5-Time-Piece/Makefile b/time/p5-Time-Piece/Makefile
new file mode 100644
index 00000000000..967634cc633
--- /dev/null
+++ b/time/p5-Time-Piece/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/23 17:04:37 minskim Exp $
+
+DISTNAME= Time-Piece-1.08
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5tpc
+CATEGORIES= time perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Time/}
+
+MAINTAINER= hiramatu@boreas.dti.ne.jp
+HOMEPAGE= http://search.cpan.org/dist/Time-Piece/
+COMMENT= Time::Piece - Object Oriented time objects
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Time/Piece/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/p5-Time-Piece/PLIST b/time/p5-Time-Piece/PLIST
new file mode 100644
index 00000000000..c504f5ce403
--- /dev/null
+++ b/time/p5-Time-Piece/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/23 17:04:37 minskim Exp $
diff --git a/time/p5-Time-Piece/distinfo b/time/p5-Time-Piece/distinfo
new file mode 100644
index 00000000000..f0d4c63cff3
--- /dev/null
+++ b/time/p5-Time-Piece/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/10/23 17:04:37 minskim Exp $
+
+SHA1 (Time-Piece-1.08.tar.gz) = c5f37fca9cf753d4f68233d9c11c2a0d7db8356f
+Size (Time-Piece-1.08.tar.gz) = 18824 bytes