source: trunk/dports/python/dot2tex/Portfile @ 49296

Last change on this file since 49296 was 49296, checked in by snc@…, 11 years ago

updated version

  • Property snv:keywords set to Id
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 49296 2009-04-07 01:22:14Z snc@macports.org $
2
3PortSystem          1.0
4
5name                dot2tex
6version             2.8.5
7categories          graphics print python
8platforms           darwin
9maintainers         snc openmaintainer
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
18checksums           md5     94e3d97acbd66e24de9a7403d278dd60 \
19                    sha1    0a4d7bdc14d77a86bcd9108dbf2ceb09c636c713 \
20                    rmd160  5844debecf230a3f8ee54270f6a80013684b68cd
21
22livecheck.regex     <a href="http://dot2tex.googlecode.com/files/dot2tex-(.*)\.tar\.gz"
23
24depends_run         bin:dot:graphviz bin:latex:texlive bin:pdflatex:texlive
25
26if {![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26]} {
27        default_variants    +python25
28}
29
30variant python24 conflicts python25 python26 {
31    PortGroup           python24 1.0
32    depends_lib-append  port:py-parsing
33}
34
35variant python25 conflicts python24 python26 {
36    PortGroup           python25 1.0
37    depends_lib-append  port:py25-parsing
38}
39
40variant python26 conflicts python24 python25 {
41    PortGroup           python26 1.0
42    depends_lib-append  port:py26-parsing
43}
44
45post-destroot {
46   xinstall -m 644 -W ${worksrcpath} README.txt changelog.txt \
47      ${destroot}${prefix}/share/doc/${name}
48   eval file copy [glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/${name}/
49   eval xinstall -m 644 [glob examples/*] ${destroot}${prefix}/share/doc/${name}/examples
50}
Note: See TracBrowser for help on using the repository browser.