diff options
Diffstat (limited to 'devel/p5-Test-Differences/Makefile')
-rw-r--r-- | devel/p5-Test-Differences/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/devel/p5-Test-Differences/Makefile b/devel/p5-Test-Differences/Makefile index cf9959157356..14a7236ae2db 100644 --- a/devel/p5-Test-Differences/Makefile +++ b/devel/p5-Test-Differences/Makefile @@ -6,17 +6,18 @@ # PORTNAME= Test-Differences -PORTVERSION= 0.500 +PORTVERSION= 0.610 PORTEPOCH= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- +DISTNAME= ${PORTNAME}-${PORTVERSION:C/0$//} MAINTAINER= perl@FreeBSD.org COMMENT= Test::Differences - Test strings and data structures for differences -BUILD_DEPENDS= ${SITE_PERL}/Text/Diff.pm:${PORTSDIR}/textproc/p5-Text-Diff -RUN_DEPENDS= ${BUILD_DEPENDS} +BUILD_DEPENDS= p5-Text-Diff>=0.35:${PORTSDIR}/textproc/p5-Text-Diff +RUN_DEPENDS= p5-Text-Diff>=0.35:${PORTSDIR}/textproc/p5-Text-Diff PORTSCOUT= skipv:0.4801 @@ -24,4 +25,10 @@ PERL_CONFIGURE= yes MAN3= Test::Differences.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501400 +RUN_DEPENDS+= p5-Data-Dumper>=2.126:${PORTSDIR}/devel/p5-Data-Dumper +.endif + +.include <bsd.port.post.mk> |