mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
Add p5-DateTime-Format-Builder 0.75,
create DateTime parser classes and objects. PR: 54022 Submitted by: Mathieu Arnold <m@absolight.net>
This commit is contained in:
parent
89e9641a41
commit
100b0774fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84311
5 changed files with 68 additions and 0 deletions
|
@ -555,6 +555,7 @@
|
||||||
SUBDIR += p5-DateTime-Event-Recurrence
|
SUBDIR += p5-DateTime-Event-Recurrence
|
||||||
SUBDIR += p5-DateTime-Event-Sunrise
|
SUBDIR += p5-DateTime-Event-Sunrise
|
||||||
SUBDIR += p5-DateTime-Format-Baby
|
SUBDIR += p5-DateTime-Format-Baby
|
||||||
|
SUBDIR += p5-DateTime-Format-Builder
|
||||||
SUBDIR += p5-DateTime-Format-Strptime
|
SUBDIR += p5-DateTime-Format-Strptime
|
||||||
SUBDIR += p5-DateTime-LeapSecond
|
SUBDIR += p5-DateTime-LeapSecond
|
||||||
SUBDIR += p5-DateTime-Precise
|
SUBDIR += p5-DateTime-Precise
|
||||||
|
|
41
devel/p5-DateTime-Format-Builder/Makefile
Normal file
41
devel/p5-DateTime-Format-Builder/Makefile
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
# New ports collection makefile for: p5-DateTime-Format-Builder
|
||||||
|
# Date created: 2 july 2003
|
||||||
|
# Whom: Mathieu Arnold <m@absolight.net>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= DateTime-Format-Builder
|
||||||
|
PORTVERSION= 0.75
|
||||||
|
CATEGORIES= devel perl5
|
||||||
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||||
|
MASTER_SITE_SUBDIR= DateTime
|
||||||
|
PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
|
MAINTAINER= m@absolight.net
|
||||||
|
COMMENT= Create DateTime parser classes and objects
|
||||||
|
|
||||||
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
|
||||||
|
${SITE_PERL}/File/Find/Rule.pm:${PORTSDIR}/devel/p5-File-Find-Rule \
|
||||||
|
${SITE_PERL}/Test/Pod.pm:${PORTSDIR}/devel/p5-Test-Pod \
|
||||||
|
${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
|
||||||
|
${SITE_PERL}/DateTime/Format/Strptime.pm:${PORTSDIR}/devel/p5-DateTime-Format-Strptime
|
||||||
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||||
|
|
||||||
|
PERL_CONFIGURE= yes
|
||||||
|
|
||||||
|
MAN3= DateTime::Format::Builder.3 DateTime::Format::Builder::Parser.3 \
|
||||||
|
DateTime::Format::Builder::Parser::Dispatch.3 \
|
||||||
|
DateTime::Format::Builder::Parser::Regex.3 \
|
||||||
|
DateTime::Format::Builder::Parser::Strptime.3 \
|
||||||
|
DateTime::Format::Builder::Parser::generic.3 \
|
||||||
|
DateTime::Format::Builder::Tutorial.3 \
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${PERL_LEVEL} <= 500600
|
||||||
|
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
||||||
|
RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.post.mk>
|
1
devel/p5-DateTime-Format-Builder/distinfo
Normal file
1
devel/p5-DateTime-Format-Builder/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (DateTime-Format-Builder-0.75.tar.gz) = f795ed288332d71ea2001b964533ee00
|
11
devel/p5-DateTime-Format-Builder/pkg-descr
Normal file
11
devel/p5-DateTime-Format-Builder/pkg-descr
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
DateTime::Format::Builder creates DateTime parsers. Many string formats of
|
||||||
|
dates and times are simple and just require a basic regular expression to
|
||||||
|
extract the relevant information. Builder provides a simple way to do this
|
||||||
|
without writing reams of structural code.
|
||||||
|
|
||||||
|
Builder provides a number of methods, most of which you'll never need, or at
|
||||||
|
least rarely need. They're provided more for exposing of the module's innards
|
||||||
|
to any subclasses, or for when you need to do something slightly beyond what I
|
||||||
|
expected.
|
||||||
|
|
||||||
|
WWW: http://datetime.perl.org/
|
14
devel/p5-DateTime-Format-Builder/pkg-plist
Normal file
14
devel/p5-DateTime-Format-Builder/pkg-plist
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
%%SITE_PERL%%/DateTime/Format/Builder.pm
|
||||||
|
%%SITE_PERL%%/DateTime/Format/Builder.pod
|
||||||
|
%%SITE_PERL%%/DateTime/Format/Builder/Parser.pm
|
||||||
|
%%SITE_PERL%%/DateTime/Format/Builder/Parser/Dispatch.pm
|
||||||
|
%%SITE_PERL%%/DateTime/Format/Builder/Parser/Regex.pm
|
||||||
|
%%SITE_PERL%%/DateTime/Format/Builder/Parser/Strptime.pm
|
||||||
|
%%SITE_PERL%%/DateTime/Format/Builder/Parser/generic.pm
|
||||||
|
%%SITE_PERL%%/DateTime/Format/Builder/Tutorial.pod
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime-Format-Builder/.packlist
|
||||||
|
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime-Format-Builder
|
||||||
|
@dirrm %%SITE_PERL%%/DateTime/Format/Builder/Parser
|
||||||
|
@dirrm %%SITE_PERL%%/DateTime/Format/Builder
|
||||||
|
@unexec rmdir %D/%%SITE_PERL%%/DateTime/Format 2>/dev/null || true
|
||||||
|
@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true
|
Loading…
Add table
Reference in a new issue