1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

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/
This commit is contained in:
Romain Tartière 2010-09-14 09:27:53 +00:00
parent f952837af3
commit e541f3731c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261134
5 changed files with 50 additions and 0 deletions

View File

@ -58,6 +58,7 @@
SUBDIR += cups-smb-backend
SUBDIR += detex
SUBDIR += dk-acroread8
SUBDIR += dot2tex
SUBDIR += dvi2tty
SUBDIR += dvi2xx
SUBDIR += dvipdfmx

24
print/dot2tex/Makefile Normal file
View File

@ -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>

3
print/dot2tex/distinfo Normal file
View File

@ -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

10
print/dot2tex/pkg-descr Normal file
View File

@ -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/

12
print/dot2tex/pkg-plist Normal file
View File

@ -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