# -*- 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
categories          graphics print python
platforms           darwin
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  b1c77c4b3036197222af0541e0d7086e8b5b6169 \
                    sha256  e1b6282b29ee5b87600dcb926e3faca6dec49eed7d230bf726285d7e07e38215 \
                    size    664785

depends_run         bin:dot:graphviz bin:latex:texlive bin:pdflatex:texlive

PortGroup           python 1.0

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

post-extract {
    fs-traverse dir ${workpath} {
        if {[file isdirectory ${dir}]} {
            file attributes ${dir} -permissions 0755
        }
    }
}
