From 8443fbd17de42f5b2b52be94511338a01f014b65 Mon Sep 17 00:00:00 2001 From: tobez Date: Fri, 14 Jun 2002 14:35:36 +0000 Subject: Add p5-Time-Piece, a perl module implementing time objects. --- devel/p5-Time-Piece/Makefile | 22 ++++++++++++++++++++++ devel/p5-Time-Piece/distinfo | 1 + devel/p5-Time-Piece/pkg-comment | 1 + devel/p5-Time-Piece/pkg-descr | 13 +++++++++++++ devel/p5-Time-Piece/pkg-plist | 8 ++++++++ 5 files changed, 45 insertions(+) create mode 100644 devel/p5-Time-Piece/Makefile create mode 100644 devel/p5-Time-Piece/distinfo create mode 100644 devel/p5-Time-Piece/pkg-comment create mode 100644 devel/p5-Time-Piece/pkg-descr create mode 100644 devel/p5-Time-Piece/pkg-plist (limited to 'devel/p5-Time-Piece') 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 +# +# $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 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 , Jarkko Hietaniemi +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 -- cgit