9f484f3fd3
pkgsrc changes: - reorder dependencies Upstream changes: 0.79 Sat Sep 19 12:23:20 CEST 2009 - Merged development version to stable. 0.78_03 Thu Sep 17 12:13:08 CEST 2009 - Relocate the formatted string printing of result strings used within the tests to the Test class. 0.78_02 Mon Sep 14 17:18:40 CEST 2009 - Add support for ranges representing the first and last day of a month or year. [rt #44067 - Michael Reddick] - Move the insertion code in parse_datetime_duration() to the Duration class and the checks to the english metadata class. - Quote for parsing failures with duration strings the entire input string instead of a partial date string. - Save and restore state for parse_datetime_duration(). - Test compile-time loading of Duration.pm. 0.78_01 Tue Sep 1 15:51:59 CEST 2009 - Set units at once within _check_date() when Date::Calc is not available and add a test. [rt #49326 - Clayton L. Scott]
31 lines
1,023 B
Makefile
31 lines
1,023 B
Makefile
# $NetBSD: Makefile,v 1.5 2009/09/19 22:51:37 sno Exp $
|
|
|
|
DISTNAME= DateTime-Format-Natural-0.79
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= time perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/perldoc?DateTime::Format::Natural
|
|
COMMENT= Create machine readable date/time with natural parsing logic
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
DEPENDS+= p5-DateTime>=0:../../time/p5-DateTime
|
|
DEPENDS+= p5-List-MoreUtils>=0:../../devel/p5-List-MoreUtils
|
|
DEPENDS+= p5-Params-Validate>=0:../../devel/p5-Params-Validate
|
|
DEPENDS+= p5-Term-ReadLine>=1.16:../../devel/p5-Term-ReadLine
|
|
DEPENDS+= p5-boolean>=0:../../devel/p5-boolean
|
|
|
|
BUILD_DEPENDS+= p5-Test-MockTime-[0-9]*:../../time/p5-Test-MockTime
|
|
|
|
# recommended
|
|
DEPENDS+= p5-Date-Calc>=0:../../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"
|