# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0

github.setup        kjellmf dot2tex 2.11.3
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            5

categories          graphics print python
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         {snc @nerdling} openmaintainer
description         Convert graphs generated by Graphviz to LaTeX friendly formats
long_description \
   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.

checksums           rmd160  a7d4388511cd487e3aed41698d28211dacf3f2d2 \
                    sha256  299a2af05aee5bbe0257a562a506a93e279293d5c38f28d08ab8acb3233fe7ce \
                    size    660914

# The python portgroup must be included into this port after the
# github.setup line so that the python portgroup's master_sites take effect.
PortGroup           python 1.0

python.default_version  311
python.pep517           no

depends_lib-append  port:py${python.version}-parsing

depends_run-append  path:bin/dot:graphviz bin:latex:texlive bin:pdflatex:texlive
