aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Catalyst-View-JSON/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-Catalyst-View-JSON/Makefile')
-rw-r--r--www/p5-Catalyst-View-JSON/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/www/p5-Catalyst-View-JSON/Makefile b/www/p5-Catalyst-View-JSON/Makefile
index edf2cfa29792..7dbd2eff0bc1 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.14
+PORTVERSION= 0.20
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Catalyst
@@ -17,20 +17,11 @@ COMMENT= Catalyst View handler that returns stash data in JSON format
BUILD_DEPENDS= ${RUN_DEPENDS}
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
+ p5-Catalyst-Devel>=1.00:${PORTSDIR}/www/p5-Catalyst-Devel \
+ p5-JSON-Any>=0:${PORTSDIR}/converters/p5-JSON-Any
PERL_CONFIGURE= yes
MAN3= Catalyst::Helper::View::JSON.3 Catalyst::View::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>