This updates devel/p5-YAML to be current, it requires the NEW
p5-Test-YAML I recently posted.

It adds a dependency on p5-YAML-XS on shared architectures as that is
recommended in general and makes things significantly faster and more
correct.

Lots of poorly documented bug fixes, mostly unnecessary as we will
now pull-in YAML::XS and use that transparently which, from commentary
on the bug fixes is probably for the best.
https://metacpan.org/changes/distribution/YAML

(COMMENT is again an Ingy recursive acronym)

Also take maintanership.

OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-YAML/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile    26 May 2013 15:30:10 -0000      1.16
+++ Makefile    5 Apr 2015 17:21:35 -0000
@@ -1,13 +1,23 @@
 # $OpenBSD: Makefile,v 1.16 2013/05/26 15:30:10 sthen Exp $
 
-COMMENT=       YAML ain't a markup language
+COMMENT =      YAML Ain't Markup Language
 
-MODULES=       cpan
+MODULES =      cpan
 
-DISTNAME=      YAML-0.84
-CATEGORIES=    devel
+DISTNAME =     YAML-1.14
+CATEGORIES =   devel
+
+MAINTAINER =   Andrew Fresh <afre...@openbsd.org>
 
 # Perl
-PERMIT_PACKAGE_CDROM=  Yes
+PERMIT_PACKAGE_CDROM = Yes
+
+TEST_DEPENDS = devel/p5-Test-YAML>=1.05
+
+.include <bsd.port.arch.mk>
+.if !${PROPERTIES:Mno_shared}
+RUN_DEPENDS += devel/p5-YAML-XS
+.endif
 
 .include <bsd.port.mk>
+
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/p5-YAML/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo    26 May 2013 15:30:10 -0000      1.10
+++ distinfo    5 Apr 2015 17:21:35 -0000
@@ -1,2 +1,2 @@
-SHA256 (YAML-0.84.tar.gz) = CjUfCncVJspKRIxXOngWFN691Slv0IMjlvyJ8YVNZAw=
-SIZE (YAML-0.84.tar.gz) = 121150
+SHA256 (YAML-1.14.tar.gz) = bJpDaLUM/ru8fGnJ145dS8PcVfvHksH1PN4+Hf1cXGs=
+SIZE (YAML-1.14.tar.gz) = 80688
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/p5-YAML/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST   26 May 2013 15:30:10 -0000      1.6
+++ pkg/PLIST   5 Apr 2015 17:21:35 -0000
@@ -1,22 +1,30 @@
-@comment $OpenBSD: PLIST,v 1.6 2013/05/26 15:30:10 sthen Exp $
-${P5SITE}/Test/
-${P5SITE}/Test/YAML.pm
+@comment $OpenBSD$
 ${P5SITE}/YAML/
 ${P5SITE}/YAML.pm
+${P5SITE}/YAML.pod
 ${P5SITE}/YAML/Any.pm
+${P5SITE}/YAML/Any.pod
 ${P5SITE}/YAML/Dumper/
 ${P5SITE}/YAML/Dumper.pm
+${P5SITE}/YAML/Dumper.pod
 ${P5SITE}/YAML/Dumper/Base.pm
+${P5SITE}/YAML/Dumper/Base.pod
 ${P5SITE}/YAML/Error.pm
+${P5SITE}/YAML/Error.pod
 ${P5SITE}/YAML/Loader/
 ${P5SITE}/YAML/Loader.pm
+${P5SITE}/YAML/Loader.pod
 ${P5SITE}/YAML/Loader/Base.pm
+${P5SITE}/YAML/Loader/Base.pod
 ${P5SITE}/YAML/Marshall.pm
+${P5SITE}/YAML/Marshall.pod
 ${P5SITE}/YAML/Mo.pm
 ${P5SITE}/YAML/Node.pm
+${P5SITE}/YAML/Node.pod
 ${P5SITE}/YAML/Tag.pm
+${P5SITE}/YAML/Tag.pod
 ${P5SITE}/YAML/Types.pm
-@man man/man3p/Test::YAML.3p
+${P5SITE}/YAML/Types.pod
 @man man/man3p/YAML.3p
 @man man/man3p/YAML::Any.3p
 @man man/man3p/YAML::Dumper.3p

Reply via email to