diff options
-rw-r--r-- | textproc/p5-Perl-MinimumVersion/Makefile | 10 | ||||
-rw-r--r-- | textproc/p5-Perl-MinimumVersion/distinfo | 5 |
2 files changed, 9 insertions, 6 deletions
diff --git a/textproc/p5-Perl-MinimumVersion/Makefile b/textproc/p5-Perl-MinimumVersion/Makefile index 1e84d99a718b..ddd1cd42fb85 100644 --- a/textproc/p5-Perl-MinimumVersion/Makefile +++ b/textproc/p5-Perl-MinimumVersion/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Perl-MinimumVersion -PORTVERSION= 1.26 +PORTVERSION= 1.28 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -16,7 +16,7 @@ COMMENT= Find a minimum required version of perl for Perl code RUN_DEPENDS= p5-File-Find-Rule>=0.32:${PORTSDIR}/devel/p5-File-Find-Rule \ p5-File-Find-Rule-Perl>=1.04:${PORTSDIR}/devel/p5-File-Find-Rule-Perl \ - p5-PPI>=1.205:${PORTSDIR}/textproc/p5-PPI \ + p5-PPI>=1.215:${PORTSDIR}/textproc/p5-PPI \ p5-Perl-Critic>=1.10.4:${PORTSDIR}/textproc/p5-Perl-Critic \ p5-Params-Util>=0.25:${PORTSDIR}/devel/p5-Params-Util \ p5-version>=0.76:${PORTSDIR}/devel/p5-version @@ -30,4 +30,8 @@ MAN3= Perl::MinimumVersion.3 post-patch: @${PERL} -pi -e '$$_="" if m/Test::/' ${WRKSRC}/Makefile.PL -.include <bsd.port.mk> +.include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 501001 +RUN_DEPENDS+= p5-Scalar-List-Utils>=1.20:${PORTSDIR}/lang/p5-Scalar-List-Utils +.endif +.include <bsd.port.post.mk> diff --git a/textproc/p5-Perl-MinimumVersion/distinfo b/textproc/p5-Perl-MinimumVersion/distinfo index 28363b13b149..0851bc3012a8 100644 --- a/textproc/p5-Perl-MinimumVersion/distinfo +++ b/textproc/p5-Perl-MinimumVersion/distinfo @@ -1,3 +1,2 @@ -MD5 (Perl-MinimumVersion-1.26.tar.gz) = faf35e902d98fdfeca35f298d1553a68 -SHA256 (Perl-MinimumVersion-1.26.tar.gz) = 1821d48ba7682892c15d0332cd382699db198e85d9930569a25ce1f32b26b1dd -SIZE (Perl-MinimumVersion-1.26.tar.gz) = 42279 +SHA256 (Perl-MinimumVersion-1.28.tar.gz) = d8241b777c657228e986ff5a57983896caa6014514700147a2da3d971574ddb5 +SIZE (Perl-MinimumVersion-1.28.tar.gz) = 43520 |