summaryrefslogtreecommitdiff
path: root/devel/p5-Time-Piece
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2002-06-14 14:35:36 +0000
committerAnton Berezin <tobez@FreeBSD.org>2002-06-14 14:35:36 +0000
commit1fa3224f7e4faf9a63295e90885d1c0f79135ab9 (patch)
tree6c2d0f34c8cff716a94563f042c875353d324ee7 /devel/p5-Time-Piece
parent* Take maintainership. (diff)
Add p5-Time-Piece, a perl module implementing time objects.
Notes
Notes: svn path=/head/; revision=61265
Diffstat (limited to 'devel/p5-Time-Piece')
-rw-r--r--devel/p5-Time-Piece/Makefile22
-rw-r--r--devel/p5-Time-Piece/distinfo1
-rw-r--r--devel/p5-Time-Piece/pkg-comment1
-rw-r--r--devel/p5-Time-Piece/pkg-descr13
-rw-r--r--devel/p5-Time-Piece/pkg-plist8
5 files changed, 45 insertions, 0 deletions
diff --git a/devel/p5-Time-Piece/Makefile b/devel/p5-Time-Piece/Makefile
new file mode 100644
index 000000000000..bca3baede263
--- /dev/null
+++ b/devel/p5-Time-Piece/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: p5-Time-Piece
+# Date created: 14 June 2002
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Time-Piece
+PORTVERSION= 1.05
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Time
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+
+PERL_CONFIGURE= yes
+
+MAN3= Time::Piece.3 Time::Seconds.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Time-Piece/distinfo b/devel/p5-Time-Piece/distinfo
new file mode 100644
index 000000000000..bad1e15bdcaf
--- /dev/null
+++ b/devel/p5-Time-Piece/distinfo
@@ -0,0 +1 @@
+MD5 (Time-Piece-1.05.tar.gz) = 59b44068bdc306c62c4ae73df7985f9d
diff --git a/devel/p5-Time-Piece/pkg-comment b/devel/p5-Time-Piece/pkg-comment
new file mode 100644
index 000000000000..a5a32318d463
--- /dev/null
+++ b/devel/p5-Time-Piece/pkg-comment
@@ -0,0 +1 @@
+Time::Piece - Object Oriented time objects
diff --git a/devel/p5-Time-Piece/pkg-descr b/devel/p5-Time-Piece/pkg-descr
new file mode 100644
index 000000000000..81f1155a5bc9
--- /dev/null
+++ b/devel/p5-Time-Piece/pkg-descr
@@ -0,0 +1,13 @@
+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.
+
+The module actually implements most of an interface described by Larry
+Wall on the perl5-porters mailing list here:
+http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2000-01/msg00241.html
+
+Authors: Matt Sergeant <matt@sergeant.org>, Jarkko Hietaniemi <jhi@iki.fi>
+WWW: http://search.cpan.org/search?dist=Time-Piece
+
+-- Anton
diff --git a/devel/p5-Time-Piece/pkg-plist b/devel/p5-Time-Piece/pkg-plist
new file mode 100644
index 000000000000..859f7a3f49e1
--- /dev/null
+++ b/devel/p5-Time-Piece/pkg-plist
@@ -0,0 +1,8 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Time/Piece/Piece.so
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Time/Piece/Piece.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Time/Piece/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Time/Piece.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Time/Seconds.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Time/Piece
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Time 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Time 2>/dev/null || true