aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/p5-YAML-Tiny/Makefile18
-rw-r--r--textproc/p5-YAML-Tiny/distinfo6
2 files changed, 16 insertions, 8 deletions
diff --git a/textproc/p5-YAML-Tiny/Makefile b/textproc/p5-YAML-Tiny/Makefile
index 54a2182d0e32..ccc7f049a822 100644
--- a/textproc/p5-YAML-Tiny/Makefile
+++ b/textproc/p5-YAML-Tiny/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= YAML-Tiny
-PORTVERSION= 0.05
+PORTVERSION= 0.10
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= YAML
@@ -15,10 +15,18 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ychsiao@ychsiao.org
COMMENT= YAML::Tiny - Read/Write YAML files with as little code as possible
-BUILD_DEPENDS= p5-Test-Base>=0.47:${PORTSDIR}/devel/p5-Test-Base
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= YAML::Tiny.3
-.include <bsd.port.mk>
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601 # File::Spec require at least 0.8
+IGNORE= requires perl 5.6.x or later. Install lang/perl5.8 then try again
+.endif
+
+.if ${PERL_LEVEL} < 500801
+BUILD_DEPENDS= p5-Test-Base>=0.47:${PORTSDIR}/devel/p5-Test-Base
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-YAML-Tiny/distinfo b/textproc/p5-YAML-Tiny/distinfo
index 1cc982f28f52..6ac861afdb74 100644
--- a/textproc/p5-YAML-Tiny/distinfo
+++ b/textproc/p5-YAML-Tiny/distinfo
@@ -1,3 +1,3 @@
-MD5 (YAML-Tiny-0.05.tar.gz) = 474a4923fddfbd9d2b17dfbeff3bf935
-SHA256 (YAML-Tiny-0.05.tar.gz) = 9b282d5b0499fc1eaf3dd3e50904332c566ada057341f702b35809744fbf1e85
-SIZE (YAML-Tiny-0.05.tar.gz) = 28539
+MD5 (YAML-Tiny-0.10.tar.gz) = db6af4de3ec887ac42d0faf28bb4873e
+SHA256 (YAML-Tiny-0.10.tar.gz) = b41e756f38586cbfc07e23cffce8145c0c7fdf48fcc722e77c30004642142426
+SIZE (YAML-Tiny-0.10.tar.gz) = 29912