summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2010-09-14 09:27:53 +0000
committerRomain Tartière <romain@FreeBSD.org>2010-09-14 09:27:53 +0000
commite541f3731ca0b33a9d7dabb159a4318a1e1c353b (patch)
treecff1b87cbc4789fb726431c48465dbc629e8e2a5
parent- Update to 20100913 (diff)
The purpose of dot2tex is to give graphs generated by Graphviz a more LaTeX
friendly look and feel. This is accomplished by converting xdot output from Graphviz to a series of PSTricks or PGF/TikZ commands. This approach allows: - Typesetting labels with LaTeX, allowing mathematical notation. - Using native PSTricks and PGF/TikZ commands for drawing arrows (optional). - Using backend specific styles to customize the output WWW: http://www.fauskes.net/code/dot2tex/
Notes
Notes: svn path=/head/; revision=261134
-rw-r--r--print/Makefile1
-rw-r--r--print/dot2tex/Makefile24
-rw-r--r--print/dot2tex/distinfo3
-rw-r--r--print/dot2tex/pkg-descr10
-rw-r--r--print/dot2tex/pkg-plist12
5 files changed, 50 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 3669a3797ca6..8ae527b1a400 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -58,6 +58,7 @@
SUBDIR += cups-smb-backend
SUBDIR += detex
SUBDIR += dk-acroread8
+ SUBDIR += dot2tex
SUBDIR += dvi2tty
SUBDIR += dvi2xx
SUBDIR += dvipdfmx
diff --git a/print/dot2tex/Makefile b/print/dot2tex/Makefile
new file mode 100644
index 000000000000..f047f8b33c37
--- /dev/null
+++ b/print/dot2tex/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: dot2tex
+# Date created: 2010-09-14
+# Whom: Romain Tartiere <romain@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dot2tex
+PORTVERSION= 2.8.7
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+
+MAINTAINER= romain@FreeBSD.org
+COMMENT= A Graphviz to LaTeX converter
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyparsing.py:${PORTSDIR}/devel/py-parsing \
+ dot:${PORTSDIR}/graphics/graphviz
+
+USE_PYDISTUTILS=yes
+USE_PYTHON= yes
+# The .tar.gz sucks!
+USE_ZIP= yes
+
+.include <bsd.port.mk>
diff --git a/print/dot2tex/distinfo b/print/dot2tex/distinfo
new file mode 100644
index 000000000000..af6121dc9784
--- /dev/null
+++ b/print/dot2tex/distinfo
@@ -0,0 +1,3 @@
+MD5 (dot2tex-2.8.7.zip) = a306d58ef6fe79e6fe876a242b0cbef5
+SHA256 (dot2tex-2.8.7.zip) = 6bac96a242553060af8a0f40af9d3a2c31d190173311f28600a09c1aac32b7f8
+SIZE (dot2tex-2.8.7.zip) = 592439
diff --git a/print/dot2tex/pkg-descr b/print/dot2tex/pkg-descr
new file mode 100644
index 000000000000..95d235f8b1ce
--- /dev/null
+++ b/print/dot2tex/pkg-descr
@@ -0,0 +1,10 @@
+The purpose of dot2tex is to give graphs generated by Graphviz a more LaTeX
+friendly look and feel. This is accomplished by converting xdot output from
+Graphviz to a series of PSTricks or PGF/TikZ commands. This approach allows:
+
+ - Typesetting labels with LaTeX, allowing mathematical notation.
+ - Using native PSTricks and PGF/TikZ commands for drawing arrows (optional).
+ - Using backend specific styles to customize the output
+
+
+WWW: http://www.fauskes.net/code/dot2tex/
diff --git a/print/dot2tex/pkg-plist b/print/dot2tex/pkg-plist
new file mode 100644
index 000000000000..81390eda49c0
--- /dev/null
+++ b/print/dot2tex/pkg-plist
@@ -0,0 +1,12 @@
+@comment $FreeBSD$
+bin/dot2tex
+%%PYTHON_SITELIBDIR%%/dot2tex/__init__.py
+%%PYTHON_SITELIBDIR%%/dot2tex/__init__.pyc
+%%PYTHON_SITELIBDIR%%/dot2tex/__init__.pyo
+%%PYTHON_SITELIBDIR%%/dot2tex/dot2tex.py
+%%PYTHON_SITELIBDIR%%/dot2tex/dot2tex.pyc
+%%PYTHON_SITELIBDIR%%/dot2tex/dot2tex.pyo
+%%PYTHON_SITELIBDIR%%/dot2tex/dotparsing.py
+%%PYTHON_SITELIBDIR%%/dot2tex/dotparsing.pyc
+%%PYTHON_SITELIBDIR%%/dot2tex/dotparsing.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/dot2tex