Dot2tex version 2.8.6 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    dot2tex  most recent diff


    version 2.8.6

      View the most recent changes for the dot2tex port at: dot2tex.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for dot2tex.
      The raw portfile for dot2tex 2.8.6 is located here:
      http://dot2tex.darwinports.com/dports/python/dot2tex/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/dot2tex


      # -*- 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
      The dot2tex Portfile 59721 2009-10-21 00:02:43Z snc macports.org $

      PortSystem 1.0

      Name: dot2tex
      Version: 2.8.6
      Category: graphics print python
      Platform: darwin
      license MIT
      Maintainers: snc openmaintainer
      Description: Convert graphs generated by Graphviz to LaTeX friendly formats
      Long Description: The purpose of dot2tex is to give graphs generated by Graphviz a more LaTeX friendly look and feel. This is accomplished by converting xdot output from Graphviz to a series of PSTricks or PGF/TikZ commands.

      Homepage: http://www.fauskes.net/code/dot2tex/
      Master Sites: googlecode
      Checksums: md5 8af7c44ea6484d47faee31cacbad9206 sha1 db5faad170f6abc3988fe2d38bf513e360609670 rmd160 19b31dfb3c0e101e5696bc58069a62152b2f7a3f

      livecheck.regex http://dot2tex.googlecode.com/files/dot2tex-(.*)\.tar\.gz"

      depends_run bin:dot:graphviz bin:latex:texlive bin:pdflatex:texlive

      if {![variant_isset python25] && ![variant_isset python26]} {
      default_variants +python26
      }

      Variant: python25 conflicts python26 {
      PortGroup python25 1.0
      depends_lib-append port:py25-parsing
      }

      Variant: python26 conflicts python25 {
      PortGroup python26 1.0
      depends_lib-append port:py26-parsing
      }

      post-destroot {
      xinstall -m 644 -W ${worksrcpath} README.txt changelog.txt ${destroot}${prefix}/share/doc/${name}
      eval file copy [glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/${name}/
      eval xinstall -m 644 [glob examples/*] ${destroot}${prefix}/share/doc/${name}/examples
      }

      livecheck.url ${homepage}/download/
      livecheck.regex ${name}-(\\d+\\.\\d+\\.\\d+)${extract.suffix}

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/dot2tex
      % sudo port install dot2tex
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching dot2tex
      ---> Verifying checksum for dot2tex
      ---> Extracting dot2tex
      ---> Configuring dot2tex
      ---> Building dot2tex with target all
      ---> Staging dot2tex into destroot
      ---> Installing dot2tex
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using dot2tex with these commands:
      %  man dot2tex
      % apropos dot2tex
      % which dot2tex
      % locate dot2tex

     Where to find more information:

    Darwin Ports



    Lightbox this page.