# -*- 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 texlive 1.0 name dot2texi version 3-0-0 revision 3 categories tex platforms any supported_archs noarch maintainers nomaintainer license GPL-2 description Allows you to embed DOT descriptions in your TeX document long_description \ The dot2texi package allows you to embed graphs written the DOT \ description language directly in your document. The dot2tex tool \ is used to transform the output from Graphviz to LATEX code using \ either the TikZ and PGF package, orthe PSTricks package. The generated \ code can then be included directly in you document. This package can \ automate the process if shell escape is enabled. homepage http://www.fauskes.net/code/dot2tex/documentation/#the-dot2texi-latex-package master_sites googlecode:dot2tex checksums rmd160 053f8db5f6f579f1850f02b9afc269986ee43ef5 \ sha256 ce5af84973286889ea19d5f898153414ed33c5500e6812fb6a7f87f652694ebd use_zip yes extract.mkdir yes distname ${name}sty-${version} # Depends on xkeyval (>= 2.3) (provided by texlive, but not by tetex) # Also depends on moreverg and PSTricks or PGF depends_run bin:dot2tex:dot2tex port:texlive port:texlive-pictures depends_lib bin:texhash:texlive patchfiles patch-dot2texi-dot2texi.sty.diff post-patch { reinplace s|@@PREFIX@@|${prefix}|g ${worksrcpath}/dot2texi/dot2texi.sty } use_configure no build { } destroot { set r ${worksrcpath}/dot2texi file mkdir ${destroot}${texlive_texmfports}/tex/latex file mkdir ${destroot}${texlive_texmfports}/doc/latex/dot2texi file copy ${r}/dot2texi.sty ${destroot}${texlive_texmfports}/tex/latex/ file copy ${r}/dot2texi.tex ${r}/dot2texi.pdf ${r}/gpl.txt ${r}/README \ ${r}/examples \ ${destroot}${texlive_texmfports}/doc/latex/dot2texi } post-activate { texlive.mktexlsr } post-deactivate { texlive.mktexlsr }