1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name dot2texi |
---|
6 | version 3-0-0 |
---|
7 | categories tex |
---|
8 | platforms darwin |
---|
9 | maintainers nomaintainer |
---|
10 | description Allows you to embed DOT descriptions in your TeX document |
---|
11 | long_description \ |
---|
12 | The dot2texi package allows you to embed graphs written the DOT \ |
---|
13 | description language directly in your document. The dot2tex tool \ |
---|
14 | is used to transform the output from Graphviz to LATEX code using \ |
---|
15 | either the TikZ and PGF package, orthe PSTricks package. The generated \ |
---|
16 | code can then be included directly in you document. This package can \ |
---|
17 | automate the process if shell escape is enabled. |
---|
18 | |
---|
19 | homepage http://www.fauskes.net/code/dot2tex/documentation/#the-dot2texi-latex-package |
---|
20 | master_sites googlecode:dot2tex |
---|
21 | checksums md5 b8aa0f5f4feaf21a1a22b6743aa4d6b3 \ |
---|
22 | sha1 7d6fa98931ec6806b9ba7c4f29f7e718ff6cb9a8 \ |
---|
23 | rmd160 053f8db5f6f579f1850f02b9afc269986ee43ef5 |
---|
24 | |
---|
25 | livecheck.regex <a href="http://dot2tex.googlecode.com/files/dot2texisty-(.*)\.tar\.gz" |
---|
26 | |
---|
27 | use_zip yes |
---|
28 | extract.mkdir yes |
---|
29 | |
---|
30 | distname ${name}sty-${version} |
---|
31 | |
---|
32 | # Depends on xkeyval (>= 2.3) (provided by texlive, but not by tetex) |
---|
33 | # Also depends on moreverg and PSTricks or PGF |
---|
34 | |
---|
35 | depends_run bin:dot2tex:dot2tex port:texlive port:pgf |
---|
36 | depends_lib bin:texhash:texlive |
---|
37 | |
---|
38 | configure { } |
---|
39 | build { } |
---|
40 | |
---|
41 | destroot { |
---|
42 | set texmf ${destroot}${prefix}/share/texmf-local/ |
---|
43 | set r ${worksrcpath}/dot2texi |
---|
44 | file mkdir ${texmf}/tex/latex |
---|
45 | file mkdir ${texmf}/doc/latex/dot2texi |
---|
46 | file copy ${r}/dot2texi.sty ${texmf}/tex/latex/ |
---|
47 | file copy ${r}/dot2texi.tex ${r}/dot2texi.pdf ${r}/gpl.txt ${r}/README \ |
---|
48 | ${r}/examples \ |
---|
49 | ${texmf}/doc/latex/dot2texi |
---|
50 | } |
---|
51 | |
---|
52 | post-activate { |
---|
53 | system "texhash" |
---|
54 | } |
---|