aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-YAML-Syck
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2006-09-22 19:40:44 +0800
committertobez <tobez@FreeBSD.org>2006-09-22 19:40:44 +0800
commitf5e07e0886386d15f413c7ab923d96effdb93d5f (patch)
tree11a908d3f4615639d3b901ee3d805f24342ffec9 /textproc/p5-YAML-Syck
parent340759b7cf3cfda0695da7f7f46078d9e5cda9be (diff)
downloadfreebsd-ports-gnome-f5e07e0886386d15f413c7ab923d96effdb93d5f.tar.gz
freebsd-ports-gnome-f5e07e0886386d15f413c7ab923d96effdb93d5f.tar.zst
freebsd-ports-gnome-f5e07e0886386d15f413c7ab923d96effdb93d5f.zip
Update to 0.67. Require perl from ports.
This update is partially based on the PR 100657. Submitted by: Gea-Suan Lin <gslin@gslin.org>
Diffstat (limited to 'textproc/p5-YAML-Syck')
-rw-r--r--textproc/p5-YAML-Syck/Makefile20
-rw-r--r--textproc/p5-YAML-Syck/distinfo6
-rw-r--r--textproc/p5-YAML-Syck/pkg-plist1
3 files changed, 18 insertions, 9 deletions
diff --git a/textproc/p5-YAML-Syck/Makefile b/textproc/p5-YAML-Syck/Makefile
index 3b2a6233b89b..c961deee4bc9 100644
--- a/textproc/p5-YAML-Syck/Makefile
+++ b/textproc/p5-YAML-Syck/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= YAML-Syck
-PORTVERSION= 0.45
+PORTVERSION= 0.67
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= YAML
@@ -15,12 +15,20 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Fast, lightweight YAML and JSON loader and dumper
-BUILD_DEPENDS= \
- p5-Storable>0:${PORTSDIR}/devel/p5-Storable
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
+CONFIGURE_ARGS+= < /dev/null
MAN3= JSON::Syck.3 YAML::Syck.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.if ${PERL_LEVEL} < 500700
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+BUILD_DEPENDS= ${RUN_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-YAML-Syck/distinfo b/textproc/p5-YAML-Syck/distinfo
index 32abddaaa54d..ef8b482d9984 100644
--- a/textproc/p5-YAML-Syck/distinfo
+++ b/textproc/p5-YAML-Syck/distinfo
@@ -1,3 +1,3 @@
-MD5 (YAML-Syck-0.45.tar.gz) = 936b72d41bb77c143bf663a002c3a6a7
-SHA256 (YAML-Syck-0.45.tar.gz) = a27438e18e0056930d69d55b78261ddc8a831c4cddaef9f5b797f937e9a68aa4
-SIZE (YAML-Syck-0.45.tar.gz) = 123720
+MD5 (YAML-Syck-0.67.tar.gz) = 5034ed9dc43177b7ebf8af161455cdcf
+SHA256 (YAML-Syck-0.67.tar.gz) = b72ba32392205db38c29391a0cfbba062da03bdd6cdc79ace7762497e527a4a3
+SIZE (YAML-Syck-0.67.tar.gz) = 129137
diff --git a/textproc/p5-YAML-Syck/pkg-plist b/textproc/p5-YAML-Syck/pkg-plist
index 1b92b862a8da..8c9251fb6bdc 100644
--- a/textproc/p5-YAML-Syck/pkg-plist
+++ b/textproc/p5-YAML-Syck/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
%%SITE_PERL%%/%%PERL_ARCH%%/auto/YAML/Syck/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/YAML/Syck/Syck.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/YAML/Syck/Syck.bs