aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-YAML-Tiny
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-08-24 07:06:16 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-08-24 07:06:16 +0000
commit5157356f2b5a5f3207e7113965ca061fbeaba18c (patch)
treef5b2e5f8a78a837be08f6c34584bd56619967733 /textproc/p5-YAML-Tiny
parent6ff0b1cee2d098eea0c657bd310db0b9a2cde9fa (diff)
downloadports-5157356f2b5a5f3207e7113965ca061fbeaba18c.tar.gz
ports-5157356f2b5a5f3207e7113965ca061fbeaba18c.zip
- Update to 0.10 [1],[2]
- add IGNORE for perl < 5.6 [2] - Remove RUN_DEPENDS and Test::More 0.47 is in Perl 5.8.1 or newer. [1] PR: ports/102463 [1], ports/102465 [2] Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org> [1], clsung [2] Approved by: maintainer (Yuan-Chung Hsiao)
Notes
Notes: svn path=/head/; revision=171303
Diffstat (limited to 'textproc/p5-YAML-Tiny')
-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