aboutsummaryrefslogtreecommitdiff
path: root/print/rubygem-prawn-graph
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-12-17 03:47:18 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-12-17 03:47:18 +0000
commit2fae617857e48dabb6ab5fa1f7ba604c409366f6 (patch)
treebed65e3db5c8b9fe19c647cf96d198aaa2a92f15 /print/rubygem-prawn-graph
parentd7d1de73b56cec7a7ac77c17c1cf8b8247330725 (diff)
downloadports-2fae617857e48dabb6ab5fa1f7ba604c409366f6.tar.gz
ports-2fae617857e48dabb6ab5fa1f7ba604c409366f6.zip
Prawn::Graph aims to add this functionality to Prawn by using the
native PDF drawing tools Prawn exposes and a friendly single-method call to draw the graph. The graphs and the values plotted and drawn are all relatively sized within the bounds of the width and height you have set and should scale pretty well to any size of value. Of course, if things do end up looking too squashed, you can always just make your graph bigger. At the moment, only Bar and Line charts are implemented, with others coming soon. Both charts work in mostly the same way. WWW: http://ryanstenhouse.eu/
Notes
Notes: svn path=/head/; revision=266470
Diffstat (limited to 'print/rubygem-prawn-graph')
-rw-r--r--print/rubygem-prawn-graph/Makefile21
-rw-r--r--print/rubygem-prawn-graph/distinfo2
-rw-r--r--print/rubygem-prawn-graph/pkg-descr13
3 files changed, 36 insertions, 0 deletions
diff --git a/print/rubygem-prawn-graph/Makefile b/print/rubygem-prawn-graph/Makefile
new file mode 100644
index 000000000000..6d7c25b00213
--- /dev/null
+++ b/print/rubygem-prawn-graph/Makefile
@@ -0,0 +1,21 @@
+# Ports collection makefile for: rubygem-prawn-graph
+# Date created: December 16, 2010
+# Whom: Philip M. Gollucci <pgpollucci@p6m7g8.com>
+#
+# $FreeBSD$
+
+PORTNAME= prawn-graph
+PORTVERSION= 0.0.4
+CATEGORIES= print rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Draw basic graphs and charts natively in your PDFs
+
+RUN_DEPENDS= rubygem-prawn>=0:${PORTSDIR}/print/rubygem-prawn
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/print/rubygem-prawn-graph/distinfo b/print/rubygem-prawn-graph/distinfo
new file mode 100644
index 000000000000..129989b24f6b
--- /dev/null
+++ b/print/rubygem-prawn-graph/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/prawn-graph-0.0.4.gem) = ad64c11706ab317a96e8994c443a4bf9e0a775584eb5392231a9e8c7bb37efcd
+SIZE (rubygem/prawn-graph-0.0.4.gem) = 12288
diff --git a/print/rubygem-prawn-graph/pkg-descr b/print/rubygem-prawn-graph/pkg-descr
new file mode 100644
index 000000000000..21a678f9cbb9
--- /dev/null
+++ b/print/rubygem-prawn-graph/pkg-descr
@@ -0,0 +1,13 @@
+Prawn::Graph aims to add this functionality to Prawn by using the
+native PDF drawing tools Prawn exposes and a friendly single-method
+call to draw the graph.
+
+The graphs and the values plotted and drawn are all relatively sized
+within the bounds of the width and height you have set and should
+scale pretty well to any size of value. Of course, if things do end
+up looking too squashed, you can always just make your graph bigger.
+
+At the moment, only Bar and Line charts are implemented, with others
+coming soon. Both charts work in mostly the same way.
+
+WWW: http://ryanstenhouse.eu/