diff options
Diffstat (limited to 'devel/p5-DateTime-TimeZone')
-rw-r--r-- | devel/p5-DateTime-TimeZone/Makefile | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/devel/p5-DateTime-TimeZone/Makefile b/devel/p5-DateTime-TimeZone/Makefile index e1b8b4b85638..ab0d7536f05b 100644 --- a/devel/p5-DateTime-TimeZone/Makefile +++ b/devel/p5-DateTime-TimeZone/Makefile @@ -7,6 +7,7 @@ PORTNAME= DateTime-TimeZone PORTVERSION= 0.73 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -15,8 +16,7 @@ MAINTAINER= mat@FreeBSD.org COMMENT= Time zone object base class and factory RUN_DEPENDS= p5-Class-Singleton>=1.03:${PORTSDIR}/devel/p5-Class-Singleton \ - p5-Params-Validate>=0.72:${PORTSDIR}/devel/p5-Params-Validate \ - ${SITE_PERL}/${PERL_ARCH}/Cwd.pm:${PORTSDIR}/devel/p5-PathTools + p5-Params-Validate>=0.72:${PORTSDIR}/devel/p5-Params-Validate BUILD_DEPENDS= ${RUN_DEPENDS} PERL_MODBUILD= yes @@ -36,4 +36,14 @@ post-install: @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500703 +BUILD_DEPENDS+= p5-Storable>=0:${PORTSDIR}/devel/p5-Storable +.endif + +.if ${PERL_LEVEL} < 500806 +RUN_DEPENDS+= p5-PathTools>=3:${PORTSDIR}/devel/p5-PathTools +.endif + +.include <bsd.port.post.mk> |