aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/R-cran-diagram/Makefile22
-rw-r--r--graphics/R-cran-diagram/distinfo2
-rw-r--r--graphics/R-cran-diagram/pkg-descr7
4 files changed, 32 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 5c9c8d209ec3..0acf808e3207 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -16,6 +16,7 @@
SUBDIR += ImageMagick-nox11
SUBDIR += O2-tools
SUBDIR += OpenEXR
+ SUBDIR += R-cran-diagram
SUBDIR += R-cran-shape
SUBDIR += SciPlot
SUBDIR += a2png
diff --git a/graphics/R-cran-diagram/Makefile b/graphics/R-cran-diagram/Makefile
new file mode 100644
index 000000000000..bea69168643b
--- /dev/null
+++ b/graphics/R-cran-diagram/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: R-cran-diagram
+# Date created: 2011-09-09
+# Whom: TAKATSU Tomonari <tota@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= diagram
+PORTVERSION= 1.5.2
+CATEGORIES= graphics
+PKGNAMEPREFIX= R-cran-
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= tota@FreeBSD.org
+COMMENT= Functions for visualising simple graphs, plotting flow diagrams
+
+RUN_DEPENDS= R-cran-shape>0:${PORTSDIR}/graphics/R-cran-shape
+
+USE_R_MOD= yes
+R_MOD_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/graphics/R-cran-diagram/distinfo b/graphics/R-cran-diagram/distinfo
new file mode 100644
index 000000000000..f35821b1f93a
--- /dev/null
+++ b/graphics/R-cran-diagram/distinfo
@@ -0,0 +1,2 @@
+SHA256 (diagram_1.5.2.tar.gz) = 2ce110e93797ed63f386aed9764662374755c623b62e06e9c0953f721579c982
+SIZE (diagram_1.5.2.tar.gz) = 548716
diff --git a/graphics/R-cran-diagram/pkg-descr b/graphics/R-cran-diagram/pkg-descr
new file mode 100644
index 000000000000..2460cdbbc567
--- /dev/null
+++ b/graphics/R-cran-diagram/pkg-descr
@@ -0,0 +1,7 @@
+Visualises simple graphs (networks) based on a transition matrix,
+utilities to plot flow diagrams, visualising webs,... Support for
+the book "A practical guide to ecological modelling - using R as a
+simulation platform" by Karline Soetaert and Peter M.J. Herman
+(2009). Springer. Includes demo(flowchart), demo(plotmat), demo(plotweb)
+
+WWW: http://cran.r-project.org/web/packages/diagram/