aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2015-12-21 22:44:49 +0800
committermiwi <miwi@FreeBSD.org>2015-12-21 22:44:49 +0800
commitbd1a83cb9d1523b7b41a3169be9f3ee248705f21 (patch)
tree43ce7a078d577103eacd00af21fcb3caf2e18353 /graphics
parent16c33a4a1d178f4125cc0b23fb6344e4f2aa2d60 (diff)
downloadfreebsd-ports-gnome-bd1a83cb9d1523b7b41a3169be9f3ee248705f21.tar.gz
freebsd-ports-gnome-bd1a83cb9d1523b7b41a3169be9f3ee248705f21.tar.zst
freebsd-ports-gnome-bd1a83cb9d1523b7b41a3169be9f3ee248705f21.zip
Perl helper class for implementing the Google Chart Tools Datasource Protocol.
The Google Visualization API is a nifty bit of kit for generating pretty pictures from your data. By design it has a fair amount of Google-cruft, such as non-standard JSON and stuffing configuration options in to a single CGI query parameter. Data::Google::Visualization::DataTable takes care of preparing data for the API. WWW: http://search.cpan.org/dist/Data-Google-Visualization-DataSource/ PR: 204060 Submitted by: jeremybbaggs@gmail.com Approved by: mat (mentor) Differential Revision: D4640
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/p5-Data-Google-Visualization-DataSource/Makefile24
-rw-r--r--graphics/p5-Data-Google-Visualization-DataSource/distinfo2
-rw-r--r--graphics/p5-Data-Google-Visualization-DataSource/pkg-descr11
-rw-r--r--graphics/p5-Data-Google-Visualization-DataSource/pkg-plist4
5 files changed, 42 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 78a50b255c18..76d2da1cf3cb 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -728,6 +728,7 @@
SUBDIR += p5-URI-GoogleChart
SUBDIR += p5-VCG
SUBDIR += p5-Visio
+ SUBDIR += p5-Data-Google-Visualization-DataSource
SUBDIR += p5-Data-Google-Visualization-DataTable
SUBDIR += p5-feedgnuplot
SUBDIR += p5-ming
diff --git a/graphics/p5-Data-Google-Visualization-DataSource/Makefile b/graphics/p5-Data-Google-Visualization-DataSource/Makefile
new file mode 100644
index 000000000000..7fd1b5a124ad
--- /dev/null
+++ b/graphics/p5-Data-Google-Visualization-DataSource/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= Data-Google-Visualization-DataSource
+PORTVERSION= 0.01
+CATEGORIES= graphics perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= jeremybbaggs@gmail.com
+COMMENT= Perl helper class for the Google Chart Tools Datasource Protocol
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-Clone>=0:${PORTSDIR}/devel/p5-Clone \
+ p5-Data-Google-Visualization-DataTable>=0:${PORTSDIR}/graphics/p5-Data-Google-Visualization-DataTable \
+ p5-JSON-XS>=2.0:${PORTSDIR}/converters/p5-JSON-XS \
+ p5-Moose>=0:${PORTSDIR}/devel/p5-Moose
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/graphics/p5-Data-Google-Visualization-DataSource/distinfo b/graphics/p5-Data-Google-Visualization-DataSource/distinfo
new file mode 100644
index 000000000000..a4dcda2f5aec
--- /dev/null
+++ b/graphics/p5-Data-Google-Visualization-DataSource/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Data-Google-Visualization-DataSource-0.01.tar.gz) = c11178e5bcd3d80c9d8d8f515525b39f096850a0bbe2ac4bb947f571984b2e2f
+SIZE (Data-Google-Visualization-DataSource-0.01.tar.gz) = 15636
diff --git a/graphics/p5-Data-Google-Visualization-DataSource/pkg-descr b/graphics/p5-Data-Google-Visualization-DataSource/pkg-descr
new file mode 100644
index 000000000000..554503ebb727
--- /dev/null
+++ b/graphics/p5-Data-Google-Visualization-DataSource/pkg-descr
@@ -0,0 +1,11 @@
+Perl helper class for implementing the Google Chart Tools Datasource Protocol.
+
+The Google Visualization API is a nifty bit of kit for generating pretty
+pictures from your data. By design it has a fair amount of Google-cruft, such
+as non-standard JSON and stuffing configuration options in to a single CGI
+query parameter.
+
+Data::Google::Visualization::DataTable takes care of preparing data for the
+API.
+
+WWW: http://search.cpan.org/dist/Data-Google-Visualization-DataSource/
diff --git a/graphics/p5-Data-Google-Visualization-DataSource/pkg-plist b/graphics/p5-Data-Google-Visualization-DataSource/pkg-plist
new file mode 100644
index 000000000000..8a735046d312
--- /dev/null
+++ b/graphics/p5-Data-Google-Visualization-DataSource/pkg-plist
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/Data/Google/Visualization/DataSource.pm
+%%SITE_PERL%%/Data/Google/Visualization/README.pod
+%%PERL5_MAN3%%/Data::Google::Visualization::DataSource.3.gz
+%%PERL5_MAN3%%/Data::Google::Visualization::README.3.gz