From 5bba790c1a83c5cb60d3a6e6ce8e2f1b719a625a Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Wed, 20 Aug 2003 08:05:39 +0000 Subject: [PATCH] Update to 1.02 bump PORTEPOCH because it went from 1.0100 to 1.02 restrict to perl 5.6.1 and higher because of new dependency Approved by: demon (mentor) --- devel/p5-DateTime-Event-Easter/Makefile | 13 ++++++++++--- devel/p5-DateTime-Event-Easter/distinfo | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/devel/p5-DateTime-Event-Easter/Makefile b/devel/p5-DateTime-Event-Easter/Makefile index ad3efe1e2139..2dd19cb5404d 100644 --- a/devel/p5-DateTime-Event-Easter/Makefile +++ b/devel/p5-DateTime-Event-Easter/Makefile @@ -6,7 +6,8 @@ # PORTNAME= DateTime-Event-Easter -PORTVERSION= 1.0100 +PORTVERSION= 1.02 +PORTEPOCH= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= DateTime @@ -17,6 +18,7 @@ COMMENT= Returns Easter events for DateTime objects BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \ ${SITE_PERL}/DateTime/Calendar/Julian.pm:${PORTSDIR}/devel/p5-DateTime-Calendar-Julian \ + ${SITE_PERL}/DateTime/Set.pm:${PORTSDIR}/devel/p5-DateTime-Set \ ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate RUN_DEPENDS= ${BUILD_DEPENDS} @@ -24,6 +26,11 @@ PERL_CONFIGURE= yes MAN3= DateTime::Event::Easter.3 -WRKSRC= ${WRKDIR}/${DISTNAME:S/00//} +.include -.include +# Because p5-Set-Infinite needs 5.6.1 +.if ${PERL_LEVEL} < 500601 +IGNORE="Need at least perl 5.6.1 to build" +.endif + +.include diff --git a/devel/p5-DateTime-Event-Easter/distinfo b/devel/p5-DateTime-Event-Easter/distinfo index d5bfbdbffe9e..759fbf06dc6b 100644 --- a/devel/p5-DateTime-Event-Easter/distinfo +++ b/devel/p5-DateTime-Event-Easter/distinfo @@ -1 +1 @@ -MD5 (DateTime-Event-Easter-1.0100.tar.gz) = cf282e5341da41f4ef70b25a749ad566 +MD5 (DateTime-Event-Easter-1.02.tar.gz) = 2480c7f6b8207e401a84a914deff2ce4