summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2007-10-13 13:11:16 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2007-10-13 13:11:16 +0000
commit6e8a603ea08cc23f154615e028ceab9cb301ec2b (patch)
tree892c7bad3b9e3fcaac9f75a9e90a0dbdc764cac6 /www
parent- Upgrade to 0.20 (switch dependency for JSON to JSON::Any). (diff)
- Upgrade to 0.03.
- This version supports JSON::XS and JSON::Any (in addition to already supported JSON, JSON::Syck and JSON::Converter modules). I decided this port explicitly depends on JSON::Any only.
Notes
Notes: svn path=/head/; revision=201396
Diffstat (limited to 'www')
-rw-r--r--www/p5-Template-Plugin-JSON/Makefile17
-rw-r--r--www/p5-Template-Plugin-JSON/distinfo6
2 files changed, 7 insertions, 16 deletions
diff --git a/www/p5-Template-Plugin-JSON/Makefile b/www/p5-Template-Plugin-JSON/Makefile
index 58f46ea63624..36491d56fc15 100644
--- a/www/p5-Template-Plugin-JSON/Makefile
+++ b/www/p5-Template-Plugin-JSON/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Template-Plugin-JSON
-PORTVERSION= 0.02
+PORTVERSION= 0.03
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Template
@@ -17,20 +17,11 @@ COMMENT= Adds a .json vmethod for all TT values
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Template-Toolkit>0:${PORTSDIR}/www/p5-Template-Toolkit \
- p5-Template-Plugin-VMethods>0:${PORTSDIR}/www/p5-Template-Plugin-VMethods
-
-OPTIONS= JSONSYCK "Use JSON::Syck rather than JSON::Converter" off
+ p5-Template-Plugin-VMethods>0:${PORTSDIR}/www/p5-Template-Plugin-VMethods \
+ p5-JSON-Any>0:${PORTSDIR}/converters/p5-JSON-Any
PERL_CONFIGURE= yes
MAN3= Template::Plugin::JSON.3
-.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>
+.include <bsd.port.mk>
diff --git a/www/p5-Template-Plugin-JSON/distinfo b/www/p5-Template-Plugin-JSON/distinfo
index 3136a3d636b4..a07c5f50c603 100644
--- a/www/p5-Template-Plugin-JSON/distinfo
+++ b/www/p5-Template-Plugin-JSON/distinfo
@@ -1,3 +1,3 @@
-MD5 (Template-Plugin-JSON-0.02.tar.gz) = 4feffdc30ae5d10ff784027ec9c986d8
-SHA256 (Template-Plugin-JSON-0.02.tar.gz) = 774e4184ae8cf82f312a87177340d8d49dfa498eeb0a5b517d9c32fd7486600f
-SIZE (Template-Plugin-JSON-0.02.tar.gz) = 3778
+MD5 (Template-Plugin-JSON-0.03.tar.gz) = e4cc7455c03ed70e255088a16a072abe
+SHA256 (Template-Plugin-JSON-0.03.tar.gz) = 65487589fccbea10a22b1629a9bc9bc7907b814ef22b1a4a44f4fa295215e225
+SIZE (Template-Plugin-JSON-0.03.tar.gz) = 4075