Add p5-DateTime-Format-Epoch 0.04,

convert DateTimes to/from epoch
seconds.

PR:		54030
Submitted by:	Mathieu Arnold <m@absolight.net>
This commit is contained in:
Erwin Lansing 2003-07-07 09:11:36 +00:00
parent aa61ef57a9
commit 7cffe7e961
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84376
5 changed files with 45 additions and 0 deletions

View File

@ -559,6 +559,7 @@
SUBDIR += p5-DateTime-Format-Builder
SUBDIR += p5-DateTime-Format-DBI
SUBDIR += p5-DateTime-Format-DateManip
SUBDIR += p5-DateTime-Format-Epoch
SUBDIR += p5-DateTime-Format-Excel
SUBDIR += p5-DateTime-Format-MySQL
SUBDIR += p5-DateTime-Format-Pg

View File

@ -0,0 +1,27 @@
# New ports collection makefile for: p5-DateTime-Format-Epoch
# Date created: 2 july 2003
# Whom: Mathieu Arnold <m@absolight.net>
#
# $FreeBSD$
#
PORTNAME= DateTime-Format-Epoch
PORTVERSION= 0.04
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DateTime
PKGNAMEPREFIX= p5-
MAINTAINER= m@absolight.net
COMMENT= Convert DateTimes to/from epoch seconds
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
${SITE_PERL}/Math/BigInt.pm:${PORTSDIR}/math/p5-Math-BigInt
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= DateTime::Format::Epoch.3 DateTime::Format::Epoch::MacOS.3 \
DateTime::Format::Epoch::TAI64.3 DateTime::Format::Epoch::Unix.3
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (DateTime-Format-Epoch-0.04.tar.gz) = ead98127a9e3478049f1e8fdcb8a6037

View File

@ -0,0 +1,5 @@
This module can convert a DateTime object (or any object that can be converted
to a DateTime object) to the number of seconds since a given epoch. It can also
do the reverse.
WWW: http://datetime.perl.org/

View File

@ -0,0 +1,11 @@
%%SITE_PERL%%/DateTime/Format/Epoch.pm
%%SITE_PERL%%/DateTime/Format/Epoch/MacOS.pm
%%SITE_PERL%%/DateTime/Format/Epoch/TAI64.pm
%%SITE_PERL%%/DateTime/Format/Epoch/Unix.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Epoch/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Epoch
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime 2>/dev/null || true
@dirrm %%SITE_PERL%%/DateTime/Format/Epoch
@unexec rmdir %D/%%SITE_PERL%%/DateTime/Format 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true