From 952092a20fedbe5f93396702af5b6146236fb884 Mon Sep 17 00:00:00 2001 From: kuriyama Date: Tue, 26 Dec 2006 03:53:51 +0000 Subject: Add p5-Template-Plugin-JSON 0.02, adds a .json vmethod for all TT values. --- www/Makefile | 1 + www/p5-Template-Plugin-JSON/Makefile | 36 +++++++++++++++++++++++++++++++++++ www/p5-Template-Plugin-JSON/distinfo | 3 +++ www/p5-Template-Plugin-JSON/pkg-descr | 3 +++ www/p5-Template-Plugin-JSON/pkg-plist | 3 +++ 5 files changed, 46 insertions(+) create mode 100644 www/p5-Template-Plugin-JSON/Makefile create mode 100644 www/p5-Template-Plugin-JSON/distinfo create mode 100644 www/p5-Template-Plugin-JSON/pkg-descr create mode 100644 www/p5-Template-Plugin-JSON/pkg-plist (limited to 'www') diff --git a/www/Makefile b/www/Makefile index c39dda0..41ac548 100644 --- a/www/Makefile +++ b/www/Makefile @@ -780,6 +780,7 @@ SUBDIR += p5-Template-Plugin-Clickable SUBDIR += p5-Template-Plugin-Clickable-Email SUBDIR += p5-Template-Plugin-Comma + SUBDIR += p5-Template-Plugin-JSON SUBDIR += p5-Template-Plugin-JavaScript SUBDIR += p5-Template-Plugin-MP3 SUBDIR += p5-Template-Plugin-Markdown diff --git a/www/p5-Template-Plugin-JSON/Makefile b/www/p5-Template-Plugin-JSON/Makefile new file mode 100644 index 0000000..58f46ea --- /dev/null +++ b/www/p5-Template-Plugin-JSON/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: p5-Template-Plugin-JSON +# Date created: Dec 26, 2006 +# Whom: kuriyama@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= Template-Plugin-JSON +PORTVERSION= 0.02 +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Template +PKGNAMEPREFIX= p5- + +MAINTAINER= kuriyama@FreeBSD.org +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 + +PERL_CONFIGURE= yes + +MAN3= Template::Plugin::JSON.3 + +.include + +.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 diff --git a/www/p5-Template-Plugin-JSON/distinfo b/www/p5-Template-Plugin-JSON/distinfo new file mode 100644 index 0000000..3136a3d --- /dev/null +++ b/www/p5-Template-Plugin-JSON/distinfo @@ -0,0 +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 diff --git a/www/p5-Template-Plugin-JSON/pkg-descr b/www/p5-Template-Plugin-JSON/pkg-descr new file mode 100644 index 0000000..7eecc70 --- /dev/null +++ b/www/p5-Template-Plugin-JSON/pkg-descr @@ -0,0 +1,3 @@ +This plugin provides a .json vmethod to all value types when loaded. + +WWW: http://search.cpan.org/dist/Template-Plugin-JSON/ diff --git a/www/p5-Template-Plugin-JSON/pkg-plist b/www/p5-Template-Plugin-JSON/pkg-plist new file mode 100644 index 0000000..a01aff8 --- /dev/null +++ b/www/p5-Template-Plugin-JSON/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_PERL%%/Template/Plugin/JSON.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Plugin/JSON/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Plugin/JSON -- cgit v1.1