diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2006-12-26 11:53:51 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2006-12-26 11:53:51 +0800 |
commit | 952092a20fedbe5f93396702af5b6146236fb884 (patch) | |
tree | 3da8d9e6946c2c67dffa2dfbd641b7e9f10becf9 /www/p5-Template-Plugin-JSON | |
parent | a4eab67ddee67020819642dbd58321f9936a84d7 (diff) | |
download | freebsd-ports-gnome-952092a20fedbe5f93396702af5b6146236fb884.tar.gz freebsd-ports-gnome-952092a20fedbe5f93396702af5b6146236fb884.tar.zst freebsd-ports-gnome-952092a20fedbe5f93396702af5b6146236fb884.zip |
Add p5-Template-Plugin-JSON 0.02, adds a .json vmethod for all TT
values.
Diffstat (limited to 'www/p5-Template-Plugin-JSON')
-rw-r--r-- | www/p5-Template-Plugin-JSON/Makefile | 36 | ||||
-rw-r--r-- | www/p5-Template-Plugin-JSON/distinfo | 3 | ||||
-rw-r--r-- | www/p5-Template-Plugin-JSON/pkg-descr | 3 | ||||
-rw-r--r-- | www/p5-Template-Plugin-JSON/pkg-plist | 3 |
4 files changed, 45 insertions, 0 deletions
diff --git a/www/p5-Template-Plugin-JSON/Makefile b/www/p5-Template-Plugin-JSON/Makefile new file mode 100644 index 000000000000..58f46ea63624 --- /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 <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-Template-Plugin-JSON/distinfo b/www/p5-Template-Plugin-JSON/distinfo new file mode 100644 index 000000000000..3136a3d636b4 --- /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 000000000000..7eecc70e7631 --- /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 000000000000..a01aff86c6dd --- /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 |