aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2006-12-26 09:37:12 +0800
committerkuriyama <kuriyama@FreeBSD.org>2006-12-26 09:37:12 +0800
commit2d7fcc43dd78c4a99125de91dedf26f31e3f584b (patch)
tree000569dacec931aefd72731358b85deb185176a8
parent617d4df9bdd894b7fc039a0f6144932981bd31d9 (diff)
downloadfreebsd-ports-gnome-2d7fcc43dd78c4a99125de91dedf26f31e3f584b.tar.gz
freebsd-ports-gnome-2d7fcc43dd78c4a99125de91dedf26f31e3f584b.tar.zst
freebsd-ports-gnome-2d7fcc43dd78c4a99125de91dedf26f31e3f584b.zip
- Upgrade to 0.14 (including Safari hack and 'no_x_json_header' option
which I've requested). - Add optional p5-YAML-Syck dependency.
-rw-r--r--www/p5-Catalyst-View-JSON/Makefile17
-rw-r--r--www/p5-Catalyst-View-JSON/distinfo6
2 files changed, 16 insertions, 7 deletions
diff --git a/www/p5-Catalyst-View-JSON/Makefile b/www/p5-Catalyst-View-JSON/Makefile
index dd1648965811..edf2cfa29792 100644
--- a/www/p5-Catalyst-View-JSON/Makefile
+++ b/www/p5-Catalyst-View-JSON/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Catalyst-View-JSON
-PORTVERSION= 0.12
+PORTVERSION= 0.14
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Catalyst
@@ -16,12 +16,21 @@ MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Catalyst View handler that returns stash data in JSON format
BUILD_DEPENDS= ${RUN_DEPENDS}
-RUN_DEPENDS= p5-JSON>=1.00:${PORTSDIR}/converters/p5-JSON \
- p5-Catalyst-Runtime>=5.7000:${PORTSDIR}/www/p5-Catalyst-Runtime \
+RUN_DEPENDS= p5-Catalyst-Runtime>=5.7000:${PORTSDIR}/www/p5-Catalyst-Runtime \
p5-Catalyst-Devel>=1.00:${PORTSDIR}/www/p5-Catalyst-Devel
+OPTIONS= JSONSYCK "Use JSON::Syck rather than JSON::Converter" off
+
PERL_CONFIGURE= yes
MAN3= Catalyst::Helper::View::JSON.3 Catalyst::View::JSON.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_JSONSYCK)
+RUN_DEPENDS+= p5-YAML-Syck>0:${PORTSDIR}/textproc/p5-YAML-Syck
+.else
+RUN_DEPENDS+= p5-JSON>=1.00:${PORTSDIR}/converters/p5-JSON
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-Catalyst-View-JSON/distinfo b/www/p5-Catalyst-View-JSON/distinfo
index 927832283eef..eceec5b4a0cd 100644
--- a/www/p5-Catalyst-View-JSON/distinfo
+++ b/www/p5-Catalyst-View-JSON/distinfo
@@ -1,3 +1,3 @@
-MD5 (Catalyst-View-JSON-0.12.tar.gz) = 3d11c1f8187da0ce14d0a6274f76a41a
-SHA256 (Catalyst-View-JSON-0.12.tar.gz) = 860989ca0ea6d6d33318ee1f3299338aaba59121c61ac8d9154804556a51f191
-SIZE (Catalyst-View-JSON-0.12.tar.gz) = 6611
+MD5 (Catalyst-View-JSON-0.14.tar.gz) = bad378ac0d2068d8cbcc4fae8b7047c3
+SHA256 (Catalyst-View-JSON-0.14.tar.gz) = 59c245a4845879dd6a5e6a0aa59519e3744a2b0d8a8709b0f40deb46145c14ff
+SIZE (Catalyst-View-JSON-0.14.tar.gz) = 7066