- Add protovis 3.2

Protovis - A Graphical Toolkit for Data Visualization

Protovis composes custom views of data with simple marks such as bars and dots.
Unlike low-level graphics libraries that quickly become tedious for
visualization, Protovis defines marks through dynamic properties that encode
data, allowing inheritance, scales and layouts to simplify construction.

Protovis is free and open-source, provided under the BSD License. It uses
JavaScript and SVG for web-native visualizations; no plugin required (though you
will need a modern web browser)! Although programming experience is helpful,
Protovis is mostly declarative and designed to be learned by example.

This project is led by Mike Bostock and Jeff Heer of the Stanford Visualization
Group, with significant help from Vadim Ogievetsky. We welcome your
contributions and suggestions.

See http://vis.stanford.edu/protovis/ for examples and documentation.
See http://gitorious.org/protovis/ for source code and development.

WWW: http://code.google.com/p/protovis-js/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-05-03 13:12:18 +00:00
parent 2181ec741f
commit 353d62048e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273566
5 changed files with 254 additions and 0 deletions

View File

@ -1452,6 +1452,7 @@
SUBDIR += preferential
SUBDIR += privoxy
SUBDIR += privoxy+ipv6
SUBDIR += protovis
SUBDIR += pserv
SUBDIR += pubcookie-login-server
SUBDIR += publicfile

31
www/protovis/Makefile Normal file
View File

@ -0,0 +1,31 @@
# New ports collection makefile for: protovis
# Date created: 2011-04-27
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= protovis
PORTVERSION= 3.2
CATEGORIES= www
MASTER_SITES= GOOGLE_CODE
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= A JavaScript graphical toolkit for data visualization
NO_BUILD= yes
USE_ZIP= yes
PROJECTHOST= ${PORTNAME}-js
do-install:
${MKDIR} ${DOCSDIR}/ ${EXAMPLESDOR}/ ${WWWDIR}/
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/jsdoc/ && ${COPYTREE_SHARE} '*' ${DOCSDIR}/
.endif
.if !defined(NOPORTEXAMPLES)
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} '*' ${EXAMPLESDIR}/
.endif
cd ${WRKSRC}/ && ${INSTALL_DATA} -o ${WWWOWN} -g ${WWWGRP} *.js ${WWWDIR}/
.include <bsd.port.mk>

2
www/protovis/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (protovis-3.2.zip) = 4bd8096ec6b83e2b7cbe49da6ca20c5f18210f0a548abc50076785b5af450b23
SIZE (protovis-3.2.zip) = 878981

20
www/protovis/pkg-descr Normal file
View File

@ -0,0 +1,20 @@
Protovis - A Graphical Toolkit for Data Visualization
Protovis composes custom views of data with simple marks such as bars and dots.
Unlike low-level graphics libraries that quickly become tedious for
visualization, Protovis defines marks through dynamic properties that encode
data, allowing inheritance, scales and layouts to simplify construction.
Protovis is free and open-source, provided under the BSD License. It uses
JavaScript and SVG for web-native visualizations; no plugin required (though you
will need a modern web browser)! Although programming experience is helpful,
Protovis is mostly declarative and designed to be learned by example.
This project is led by Mike Bostock and Jeff Heer of the Stanford Visualization
Group, with significant help from Vadim Ogievetsky. We welcome your
contributions and suggestions.
See http://vis.stanford.edu/protovis/ for examples and documentation.
See http://gitorious.org/protovis/ for source code and development.
WWW: http://code.google.com/p/protovis-js/

200
www/protovis/pkg-plist Normal file
View File

@ -0,0 +1,200 @@
%%PORTDOCS%%%%DOCSDIR%%/files.html
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/Array.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/_global_.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Anchor.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Area.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Bar.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Behavior.drag.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Behavior.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Behavior.pan.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Behavior.point.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Behavior.resize.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Behavior.select.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Behavior.zoom.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Color.Hsl.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Color.Rgb.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Color.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Colors.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Constraint.bound.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Constraint.collision.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Constraint.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Constraint.position.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Dom.Node.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Dom.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Dot.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Flatten.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Force.charge.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Force.drag.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Force.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Force.spring.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Format.date.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Format.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Format.number.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Format.time.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Geo.LatLng.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Geo.Projection.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Geo.projections.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Geo.scale#ticks.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Geo.scale.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Image.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Label.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Arc.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Bullet.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Cluster.Fill.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Cluster.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Force.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Grid.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Hierarchy.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Horizon.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Indent.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Matrix.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Network.Link.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Network.Node.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Network.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Pack.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Partition.Fill.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Partition.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Rollup.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Stack.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Tree.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.Treemap.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Layout.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Line.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Mark.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Nest.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Panel.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Particle.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Quadtree.Node.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Quadtree.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Rule.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Scale.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Scale.linear.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Scale.log.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Scale.ordinal.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Scale.quantile.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Scale.quantitative.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Scale.root.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Simulation.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Transform.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Tree.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Vector.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.Wedge.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.histogram.Bin.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.histogram.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/pv.version.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_behavior_Behavior.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_behavior_Drag.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_behavior_Pan.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_behavior_Point.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_behavior_Resize.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_behavior_Select.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_behavior_Zoom.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_color_Color.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_color_Colors.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_color_Ramp.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_Arrays.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_Dom.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_Flatten.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_Histogram.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_LinearScale.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_LogScale.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_Nest.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_Numbers.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_Objects.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_OrdinalScale.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_QuantileScale.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_QuantitativeScale.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_RootScale.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_Scale.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_Transform.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_Tree.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_data_Vector.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_geo_Geo.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_geo_GeoScale.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_geo_LatLng.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_geo_Projection.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_geo_Projections.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_lang_Array.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_lang_init.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Arc.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Bullet.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Cluster.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Force.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Grid.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Hierarchy.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Horizon.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Indent.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Layout.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Matrix.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Network.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Pack.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Partition.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Rollup.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Stack.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Tree.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_layout_Treemap.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_mark_Anchor.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_mark_Area.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_mark_Bar.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_mark_Dot.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_mark_Image.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_mark_Label.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_mark_Line.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_mark_Mark.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_mark_Panel.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_mark_Rule.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_mark_Wedge.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_physics_BoundConstraint.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_physics_ChargeForce.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_physics_CollisionConstraint.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_physics_Constraint.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_physics_DragForce.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_physics_Force.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_physics_Particle.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_physics_PositionConstraint.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_physics_Quadtree.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_physics_Simulation.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_physics_SpringForce.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_pv-internals.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_pv.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_scene_SvgArea.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_scene_SvgBar.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_scene_SvgCurve.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_scene_SvgDot.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_scene_SvgImage.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_scene_SvgLabel.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_scene_SvgLine.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_scene_SvgPanel.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_scene_SvgRule.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_scene_SvgScene.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_scene_SvgWedge.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_text_DateFormat.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_text_Format.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_text_NumberFormat.js.html
%%PORTDOCS%%%%DOCSDIR%%/symbols/src/src_text_TimeFormat.js.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/antibiotics/antibiotics-scatter.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/antibiotics/antibiotics.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/antibiotics/antibiotics.js
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/barley/barley.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/barley/barley.js
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cars/cars.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cars/cars.js
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crimea/crimea-grouped-bar.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crimea/crimea-line.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crimea/crimea-stacked-area.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crimea/crimea-stacked-bar.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crimea/crimea.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crimea/crimea.js
%%WWWDIR%%/protovis-d3.2.js
%%WWWDIR%%/protovis-r3.2.js
@dirrm %%WWWDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/crimea
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/cars
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/barley
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/antibiotics
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/symbols/src
%%PORTDOCS%%@dirrm %%DOCSDIR%%/symbols
%%PORTDOCS%%@dirrm %%DOCSDIR%%