From 6c03b024725224f40a4116114620aedae1ab9a00 Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Fri, 9 Jan 2009 11:00:31 +0000 Subject: [PATCH] Update to 0.68. Finally require perl 5.8.X. As a consequence of this, greatly simplify the port. Changes: http://search.cpan.org/dist/YAML/Changes --- textproc/p5-YAML/Makefile | 28 ++++------------------------ textproc/p5-YAML/distinfo | 6 +++--- textproc/p5-YAML/pkg-plist | 2 +- 3 files changed, 8 insertions(+), 28 deletions(-) diff --git a/textproc/p5-YAML/Makefile b/textproc/p5-YAML/Makefile index b09bd3866484..61b6a0873c09 100644 --- a/textproc/p5-YAML/Makefile +++ b/textproc/p5-YAML/Makefile @@ -6,7 +6,7 @@ # PORTNAME= YAML -PORTVERSION= 0.66 +PORTVERSION= 0.68 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,17 +14,12 @@ PKGNAMEPREFIX= p5- MAINTAINER= tobez@FreeBSD.org COMMENT= YAML implementation in Perl -BUILD_DEPENDS= \ - p5-Test-Base>=0.47:${PORTSDIR}/devel/p5-Test-Base -RUN_DEPENDS= ${BUILD_DEPENDS} +PERL_CONFIGURE= 5.8.3+ -PERL_CONFIGURE= yes -CONFIGURE_ARGS+= - -.if ${PERL_LEVEL} < 500803 -post-install: - @${ECHO_MSG} "" - @${ECHO_MSG} "===> You are using an old version of Perl." - @${ECHO_MSG} "" - @${ECHO_MSG} "===> YAML.pm module is known to be buggy with your" - @${ECHO_MSG} "===> version of Perl. It should mostly work, but" - @${ECHO_MSG} "===> it will not be able to dump Perl code correctly." - @${ECHO_MSG} "" - @${ECHO_MSG} "===> Perhaps you should consider an upgrade." - @${ECHO_MSG} "" -.endif - -.include +.include diff --git a/textproc/p5-YAML/distinfo b/textproc/p5-YAML/distinfo index c0fa77d4a6fe..133e6d7791f5 100644 --- a/textproc/p5-YAML/distinfo +++ b/textproc/p5-YAML/distinfo @@ -1,3 +1,3 @@ -MD5 (YAML-0.66.tar.gz) = 33a0367cb343e1f0dce20f144d0167ba -SHA256 (YAML-0.66.tar.gz) = fcd9d1e9315406c655b944b50eeb287529fa642263ce2a8aba1e213abc7192dd -SIZE (YAML-0.66.tar.gz) = 94654 +MD5 (YAML-0.68.tar.gz) = 4b4255360bb885acdba05314daa9129a +SHA256 (YAML-0.68.tar.gz) = 64c06038788da7d551112a2cdff80353a41509a73d0fd0e9d29fb929f5bbe079 +SIZE (YAML-0.68.tar.gz) = 92676 diff --git a/textproc/p5-YAML/pkg-plist b/textproc/p5-YAML/pkg-plist index fcb08d4384c0..25f15a351376 100644 --- a/textproc/p5-YAML/pkg-plist +++ b/textproc/p5-YAML/pkg-plist @@ -1,7 +1,7 @@ -bin/ysh %%SITE_PERL%%/%%PERL_ARCH%%/auto/YAML/.packlist %%SITE_PERL%%/Test/YAML.pm %%SITE_PERL%%/YAML.pm +%%SITE_PERL%%/YAML/Any.pm %%SITE_PERL%%/YAML/Base.pm %%SITE_PERL%%/YAML/Dumper.pm %%SITE_PERL%%/YAML/Dumper/Base.pm