Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  2 Jul 2003 16:00:36 +0200 (CEST)
From:      Mathieu Arnold <m@absolight.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        m@absolight.net
Subject:   ports/54022: new port devel/p5-DateTime-Format-Builder
Message-ID:  <20030702140036.A9FA67D81@aragorn.reaumur.absolight.net>
Resent-Message-ID: <200307021410.h62EADmT050033@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54022
>Category:       ports
>Synopsis:       new port devel/p5-DateTime-Format-Builder
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 02 07:10:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu Arnold
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.reaumur.absolight.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 10 13:45:07 CEST 2003 root@aragorn.reaumur.absolight.net:/usr/obj/usr/src/sys/ARAGORN i386

>Description:
New port devel/p5-DateTime-Format-Builder

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.
>How-To-Repeat:
>Fix:

--- p5-DateTime-Format-Builder.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-DateTime-Format-Builder
#	p5-DateTime-Format-Builder/Makefile
#	p5-DateTime-Format-Builder/distinfo
#	p5-DateTime-Format-Builder/pkg-descr
#	p5-DateTime-Format-Builder/pkg-plist
#
echo c - p5-DateTime-Format-Builder
mkdir -p p5-DateTime-Format-Builder > /dev/null 2>&1
echo x - p5-DateTime-Format-Builder/Makefile
sed 's/^X//' >p5-DateTime-Format-Builder/Makefile << 'END-of-p5-DateTime-Format-Builder/Makefile'
X# New ports collection makefile for:	p5-DateTime-Format-Builder
X# Date created:	   2 july 2003
X# Whom:		   Mathieu Arnold <m@absolight.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	DateTime-Format-Builder
XPORTVERSION=	0.75
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	DateTime
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	m@absolight.net
XCOMMENT=	Create DateTime parser classes and objects
X
XRUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
X		${SITE_PERL}/File/Find/Rule.pm:${PORTSDIR}/devel/p5-File-Find-Rule \
X		${SITE_PERL}/Test/Pod.pm:${PORTSDIR}/devel/p5-Test-Pod \
X		${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
X		${SITE_PERL}/DateTime/Format/Strptime.pm:${PORTSDIR}/devel/p5-DateTime-Format-Strptime
XBUILD_DEPENDS=	${RUN_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=		DateTime::Format::Builder.3 DateTime::Format::Builder::Parser.3 \
X		DateTime::Format::Builder::Parser::Dispatch.3 \
X		DateTime::Format::Builder::Parser::Regex.3 \
X		DateTime::Format::Builder::Parser::Strptime.3 \
X		DateTime::Format::Builder::Parser::generic.3 \
X		DateTime::Format::Builder::Tutorial.3 \
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} <= 500600
XBUILD_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
XRUN_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-DateTime-Format-Builder/Makefile
echo x - p5-DateTime-Format-Builder/distinfo
sed 's/^X//' >p5-DateTime-Format-Builder/distinfo << 'END-of-p5-DateTime-Format-Builder/distinfo'
XMD5 (DateTime-Format-Builder-0.75.tar.gz) = f795ed288332d71ea2001b964533ee00
END-of-p5-DateTime-Format-Builder/distinfo
echo x - p5-DateTime-Format-Builder/pkg-descr
sed 's/^X//' >p5-DateTime-Format-Builder/pkg-descr << 'END-of-p5-DateTime-Format-Builder/pkg-descr'
XDateTime::Format::Builder creates DateTime parsers. Many string formats of
Xdates and times are simple and just require a basic regular expression to
Xextract the relevant information. Builder provides a simple way to do this
Xwithout writing reams of structural code.
X
XBuilder provides a number of methods, most of which you'll never need, or at
Xleast rarely need. They're provided more for exposing of the module's innards
Xto any subclasses, or for when you need to do something slightly beyond what I
Xexpected. 
X
XWWW: http://datetime.perl.org/
END-of-p5-DateTime-Format-Builder/pkg-descr
echo x - p5-DateTime-Format-Builder/pkg-plist
sed 's/^X//' >p5-DateTime-Format-Builder/pkg-plist << 'END-of-p5-DateTime-Format-Builder/pkg-plist'
X%%SITE_PERL%%/DateTime/Format/Builder.pm
X%%SITE_PERL%%/DateTime/Format/Builder.pod
X%%SITE_PERL%%/DateTime/Format/Builder/Parser.pm
X%%SITE_PERL%%/DateTime/Format/Builder/Parser/Dispatch.pm
X%%SITE_PERL%%/DateTime/Format/Builder/Parser/Regex.pm
X%%SITE_PERL%%/DateTime/Format/Builder/Parser/Strptime.pm
X%%SITE_PERL%%/DateTime/Format/Builder/Parser/generic.pm
X%%SITE_PERL%%/DateTime/Format/Builder/Tutorial.pod
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime-Format-Builder/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime-Format-Builder
X@dirrm %%SITE_PERL%%/DateTime/Format/Builder/Parser
X@dirrm %%SITE_PERL%%/DateTime/Format/Builder
X@unexec rmdir %D/%%SITE_PERL%%/DateTime/Format 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true
END-of-p5-DateTime-Format-Builder/pkg-plist
exit
--- p5-DateTime-Format-Builder.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030702140036.A9FA67D81>