aboutsummaryrefslogtreecommitdiff
path: root/lang/p5-Try-Tiny/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2015-12-27 23:24:09 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2015-12-27 23:24:09 +0000
commitfcd356b76708a8dab310a9d16d5a2a37e2ae61d6 (patch)
tree686c8731f2439975e931e4fc5fb9ced44b7db314 /lang/p5-Try-Tiny/Makefile
parent9d5c3ca8b3d7143fb226a1c02b2a28d8e8da6892 (diff)
downloadports-fcd356b76708a8dab310a9d16d5a2a37e2ae61d6.tar.gz
ports-fcd356b76708a8dab310a9d16d5a2a37e2ae61d6.zip
Notes
Diffstat (limited to 'lang/p5-Try-Tiny/Makefile')
-rw-r--r--lang/p5-Try-Tiny/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/lang/p5-Try-Tiny/Makefile b/lang/p5-Try-Tiny/Makefile
index 6750d2903cc2..3b002197eee8 100644
--- a/lang/p5-Try-Tiny/Makefile
+++ b/lang/p5-Try-Tiny/Makefile
@@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= Try-Tiny
-PORTVERSION= 0.22
+PORTVERSION= 0.24
CATEGORIES= lang perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CPAN:DOY
+MASTER_SITE_SUBDIR= CPAN:ETHER
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
@@ -13,10 +13,15 @@ COMMENT= Minimal try/catch with proper localization of $$@
LICENSE= MIT
-TEST_DEPENDS= p5-Capture-Tiny>=0.12:${PORTSDIR}/devel/p5-Capture-Tiny \
- p5-Sub-Name>=0:${PORTSDIR}/devel/p5-Sub-Name
+TEST_DEPENDS= p5-Capture-Tiny>=0.12:${PORTSDIR}/devel/p5-Capture-Tiny
USES= perl5
USE_PERL5= configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502104
+TEST_DEPENDS+= p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>