diff --git a/devel/p5-CPAN-Changes/Makefile b/devel/p5-CPAN-Changes/Makefile index bd989baa08ec..451daa2d2b45 100644 --- a/devel/p5-CPAN-Changes/Makefile +++ b/devel/p5-CPAN-Changes/Makefile @@ -2,11 +2,11 @@ # $FreeBSD$ PORTNAME= CPAN-Changes -PORTVERSION= 0.30 -PORTREVISION= 1 +PORTVERSION= 0.40.0001 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- +DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E} MAINTAINER= perl@FreeBSD.org COMMENT= Read and write CPAN Changes files @@ -17,4 +17,11 @@ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure -.include +.include + +.if ${PERL_LEVEL} < 502000 +BUILD_DEPENDS+= p5-version>=0.99.06:${PORTSDIR}/devel/p5-version +RUN_DEPENDS+= p5-version>=0.99.06:${PORTSDIR}/devel/p5-version +.endif + +.include diff --git a/devel/p5-CPAN-Changes/distinfo b/devel/p5-CPAN-Changes/distinfo index 96cc94634052..86708936b089 100644 --- a/devel/p5-CPAN-Changes/distinfo +++ b/devel/p5-CPAN-Changes/distinfo @@ -1,2 +1,2 @@ -SHA256 (CPAN-Changes-0.30.tar.gz) = e4ac13555163f22a7f99a9494f9db28c68b02447e08bce230515fc36a5cfa1ab -SIZE (CPAN-Changes-0.30.tar.gz) = 37095 +SHA256 (CPAN-Changes-0.400001.tar.gz) = 4f565662fd5de3e6486f8f7681aa8a1dc69445c2e20831a4e1165226e0bd1573 +SIZE (CPAN-Changes-0.400001.tar.gz) = 21316