68fa655cc3
uses a variety of DateTime::Format packages to do the bulk of the parsing, with some custom tweaks to smooth out the rough edges (mainly concerning timezone detection and selection). WWW: http://search.cpan.org/dist/DateTimeX-Easy/ PR: ports/135939 (3 of 6) Submitted by: Cezary Morga <cm at therek.net>
31 lines
1,005 B
Makefile
31 lines
1,005 B
Makefile
# New ports collection makefile for: devel/p5-DateTimeX-Easy
|
|
# Date created: 23 Jun 2009
|
|
# Whom: Cezary Morga <cm@therek.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= DateTimeX-Easy
|
|
PORTVERSION= 0.087
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= cm@therek.net
|
|
COMMENT= Parse a date/time string using the best method available
|
|
|
|
RUN_DEPENDS= p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
|
|
p5-DateTime-Format-DateManip>=0:${PORTSDIR}/devel/p5-DateTime-Format-DateManip \
|
|
p5-DateTime-Format-DateParse>=0:${PORTSDIR}/devel/p5-DateTime-Format-DateParse \
|
|
p5-DateTime-Format-ICal>=0:${PORTSDIR}/devel/p5-DateTime-Format-ICal \
|
|
p5-DateTime-Format-Natural>=0:${PORTSDIR}/devel/p5-DateTime-Format-Natural \
|
|
p5-DateTime-Format-Flexible>=0:${PORTSDIR}/devel/p5-DateTime-Format-Flexible \
|
|
p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= DateTimeX::Easy.3 \
|
|
DateTimeX::Easy::DateParse.3
|
|
|
|
.include <bsd.port.mk>
|