devel/p5-Test2-Plugin-UUID: Add PERL_LEVEL check

- Bump PORTREVISION for dependency change
This commit is contained in:
Po-Chuan Hsieh 2021-04-18 12:59:08 +08:00
parent 0aa664f374
commit 4c84f86821
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -2,6 +2,7 @@
PORTNAME= Test2-Plugin-UUID
PORTVERSION= 0.002001
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:EXODIST
@ -15,8 +16,7 @@ LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Data-UUID>=1.148:devel/p5-Data-UUID \
p5-Test-Simple>=1.302165:devel/p5-Test-Simple
RUN_DEPENDS= p5-Data-UUID>=1.148:devel/p5-Data-UUID
TEST_DEPENDS= p5-Test2-Suite>=0.000124:devel/p5-Test2-Suite
USES= perl5
@ -24,4 +24,10 @@ USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 503200
RUN_DEPENDS+= p5-Test-Simple>=1.302165:devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>