Ticket #18195: Portfile

File Portfile, 1.7 KB (added by thatha@…, 16 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4
5name                dot2tex
6version             2.8.4
7categories          graphics print python
8platforms           darwin
9maintainers         nomaintainer
10description         Convert graphs generated by Graphviz to LaTeX friendly formats
11long_description \
12   The purpose of dot2tex is to give graphs generated by Graphviz a more \
13   LaTeX friendly look and feel. This is accomplished by converting xdot \
14   output from Graphviz to a series of PSTricks or PGF/TikZ commands.
15
16homepage            http://www.fauskes.net/code/dot2tex/
17master_sites        googlecode:dot2tex
18distname            dot2tex-${version}
19checksums           md5     e63d164fad5722290646cb200dcfcb61 \
20                    sha1    0b091309857278126a09fb4f15cda5ed3b3d1020 \
21                    rmd160  4ed95632f9d356e070fe361e1c07b98da36cfed2
22
23livecheck.regex     <a href="http://dot2tex.googlecode.com/files/dot2tex-(.*)\.tar\.gz"
24
25depends_run         bin:dot:graphviz bin:latex:texlive bin:pdflatex:texlive
26
27default_variants    +python25
28
29variant python24 conflicts python25 python26 {
30    PortGroup           python24 1.0
31    depends_lib-append  port:py-parsing
32}
33
34variant python25 conflicts python24 python26 {
35    PortGroup           python25 1.0
36    depends_lib-append  port:py25-parsing
37}
38
39variant python26 conflicts python24 python25 {
40    PortGroup           python26 1.0
41    depends_lib-append  port:py26-parsing
42}
43
44post-destroot {
45   xinstall -m 644 -W ${worksrcpath} README.txt changelog.txt \
46      ${destroot}${prefix}/share/doc/${name}
47   eval file copy [glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/${name}/
48   eval xinstall -m 644 [glob examples/*] ${destroot}${prefix}/share/doc/${name}/examples
49}