devel/p5-Test2-Plugin-UUID: Add PERL_LEVEL check
- Bump PORTREVISION for dependency change
This commit is contained in:
parent
0aa664f374
commit
4c84f86821
1 changed files with 9 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue