1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add p5-Time-Piece, a perl module implementing time objects.

This commit is contained in:
Anton Berezin 2002-06-14 14:35:36 +00:00
parent 9e93966b7c
commit 1fa3224f7e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61265
6 changed files with 46 additions and 0 deletions

View File

@ -532,6 +532,7 @@
SUBDIR += p5-Time-HiRes
SUBDIR += p5-Time-Object
SUBDIR += p5-Time-Period
SUBDIR += p5-Time-Piece
SUBDIR += p5-TimeDate
SUBDIR += p5-TraceFuncs
SUBDIR += p5-Tree-DAG_Node

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (Time-Piece-1.05.tar.gz) = 59b44068bdc306c62c4ae73df7985f9d

View File

@ -0,0 +1 @@
Time::Piece - Object Oriented time objects

View File

@ -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

View File

@ -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