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

Last change on this file since 54365 was 54365, 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.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 54365 2009-07-25 14:13:36Z snc@macports.org $
3
4PortSystem          1.0
5
6name                dot2tex
7version             2.8.6
8categories          graphics print python
9platforms           darwin
10maintainers         snc openmaintainer
11description         Convert graphs generated by Graphviz to LaTeX friendly formats
12long_description \
13   The purpose of dot2tex is to give graphs generated by Graphviz a more \
14   LaTeX friendly look and feel. This is accomplished by converting xdot \
15   output from Graphviz to a series of PSTricks or PGF/TikZ commands.
16
17homepage            http://www.fauskes.net/code/dot2tex/
18master_sites        googlecode
19checksums           md5     8af7c44ea6484d47faee31cacbad9206 \
20                    sha1    db5faad170f6abc3988fe2d38bf513e360609670 \
21                    rmd160  19b31dfb3c0e101e5696bc58069a62152b2f7a3f
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
27if {![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26]} {
28        default_variants    +python25
29}
30
31variant python24 conflicts python25 python26 {
32    PortGroup           python24 1.0
33    depends_lib-append  port:py-parsing
34}
35
36variant python25 conflicts python24 python26 {
37    PortGroup           python25 1.0
38    depends_lib-append  port:py25-parsing
39}
40
41variant python26 conflicts python24 python25 {
42    PortGroup           python26 1.0
43    depends_lib-append  port:py26-parsing
44}
45
46post-destroot {
47   xinstall -m 644 -W ${worksrcpath} README.txt changelog.txt \
48      ${destroot}${prefix}/share/doc/${name}
49   eval file copy [glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/${name}/
50   eval xinstall -m 644 [glob examples/*] ${destroot}${prefix}/share/doc/${name}/examples
51}
Note: See TracBrowser for help on using the repository browser.