mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
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:
parent
aa61ef57a9
commit
7cffe7e961
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84376
@ -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
|
||||
|
27
devel/p5-DateTime-Format-Epoch/Makefile
Normal file
27
devel/p5-DateTime-Format-Epoch/Makefile
Normal 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>
|
1
devel/p5-DateTime-Format-Epoch/distinfo
Normal file
1
devel/p5-DateTime-Format-Epoch/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (DateTime-Format-Epoch-0.04.tar.gz) = ead98127a9e3478049f1e8fdcb8a6037
|
5
devel/p5-DateTime-Format-Epoch/pkg-descr
Normal file
5
devel/p5-DateTime-Format-Epoch/pkg-descr
Normal 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/
|
11
devel/p5-DateTime-Format-Epoch/pkg-plist
Normal file
11
devel/p5-DateTime-Format-Epoch/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user