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

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

add license, livecheck. change default_variant

  • Property snv:keywords set to Id
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 59721 2009-10-21 00:02:43Z snc@macports.org $
3
4PortSystem          1.0
5
6name                dot2tex
7version             2.8.6
8categories          graphics print python
9platforms           darwin
10license             MIT
11maintainers         snc openmaintainer
12description         Convert graphs generated by Graphviz to LaTeX friendly formats
13long_description \
14   The purpose of dot2tex is to give graphs generated by Graphviz a more \
15   LaTeX friendly look and feel. This is accomplished by converting xdot \
16   output from Graphviz to a series of PSTricks or PGF/TikZ commands.
17
18homepage            http://www.fauskes.net/code/dot2tex/
19master_sites        googlecode
20checksums           md5     8af7c44ea6484d47faee31cacbad9206 \
21                    sha1    db5faad170f6abc3988fe2d38bf513e360609670 \
22                    rmd160  19b31dfb3c0e101e5696bc58069a62152b2f7a3f
23
24livecheck.regex     <a href="http://dot2tex.googlecode.com/files/dot2tex-(.*)\.tar\.gz"
25
26depends_run         bin:dot:graphviz bin:latex:texlive bin:pdflatex:texlive
27
28if {![variant_isset python25] && ![variant_isset python26]} {
29        default_variants    +python26
30}
31
32variant python25 conflicts python26 {
33    PortGroup           python25 1.0
34    depends_lib-append  port:py25-parsing
35}
36
37variant python26 conflicts python25 {
38    PortGroup           python26 1.0
39    depends_lib-append  port:py26-parsing
40}
41
42post-destroot {
43   xinstall -m 644 -W ${worksrcpath} README.txt changelog.txt \
44      ${destroot}${prefix}/share/doc/${name}
45   eval file copy [glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/${name}/
46   eval xinstall -m 644 [glob examples/*] ${destroot}${prefix}/share/doc/${name}/examples
47}
48
49livecheck.url       ${homepage}/download/
50livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.