Upstream changes: 0.89 2010-08-05 <schubiger@cpan.org> - Merged development version to stable. 0.88_02 2010-07-29 <schubiger@cpan.org> - Replace calling of _valid_date() in _count_weekday_variant_month() with _check_date(), because errors are handled separate. - Use more descriptive variable names in _parse_formatted_ymd(). - Minor indentation and code tweaks. 0.88_01 2010-07-18 <schubiger@cpan.org> - Check if suffixes used for ordinal numbers are suitable. - Test that invalid ordinal numbers fail and valid ones succeed. - Add a test file for the tests expected to succeed. - Verify for parse failures their errors emitted. - While processing grammar expressions, save all captured values in order to pass the extra ones to the extended checks. - Improve whitespace of regular expressions handling durations.
30 lines
978 B
Makefile
30 lines
978 B
Makefile
# $NetBSD: Makefile,v 1.10 2010/08/17 05:52:55 sno Exp $
|
|
|
|
DISTNAME= DateTime-Format-Natural-0.89
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= time perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/DateTime-Format-Natural/
|
|
COMMENT= Create machine readable date/time with natural parsing logic
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
DEPENDS+= p5-DateTime-[0-9]*:../../time/p5-DateTime
|
|
DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
|
|
DEPENDS+= p5-Params-Validate-[0-9]*:../../devel/p5-Params-Validate
|
|
DEPENDS+= p5-boolean-[0-9]*:../../devel/p5-boolean
|
|
|
|
BUILD_DEPENDS+= p5-Test-MockTime-[0-9]*:../../time/p5-Test-MockTime
|
|
|
|
# recommended
|
|
DEPENDS+= p5-Date-Calc-[0-9]*:../../devel/p5-Date-Calc
|
|
|
|
PERL5_MODULE_TYPE= Module::Build
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
USE_LANGUAGES= #
|
|
|
|
PERL5_PACKLIST= auto/DateTime/Format/Natural/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|