Graphviz-gui version 2.24.0 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    graphviz-gui  most recent diff


    version 2.24.0

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


      The graphviz-gui Portfile 57657 2009-09-14 16:40:41Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup xcode 1.0

      Name: graphviz-gui
      conflicts graphviz-gui-devel graphviz-oldgui
      set my_name graphviz
      # keep version in sync between graphviz and graphviz-gui
      Version: 2.24.0
      Category: graphics aqua
      Maintainers: ryandesign
      license CPLv1.0
      Homepage: http://www.graphviz.org/
      Master Sites: ${homepage}pub/graphviz/stable/SOURCES/
      use_parallel_build yes
      dist_subdir ${my_name}
      distname ${my_name}-${version}
      xcode.configuration Release

      Description: Mac OS X Aqua GUI for viewing and exporting Graphviz graphs

      Long Description: ${description}.

      Checksums: md5 806a30dbc3f8deb219216f35be0e7a40 sha1 1d91b3a7d2c7fa15e5e718eb456210cd15731e14 rmd160 d003cfa57e73c44fbb71ae8f8726ecc9c74735f9

      depends_lib port:graphviz

      pre-fetch {
      if {"darwin" != ${os.platform}} {
      ui_error "${name} requires Mac OS X."
      return -code error "incompatible operating system"
      }
      if {${os.major} < 9} {
      ui_error "${name} requires Mac OS X 10.5 or greater. Try graphviz-oldgui instead."
      return -code error "incompatible Mac OS X version"
      }
      }

      pre-extract {
      if {"darwin" == ${os.platform} && 9 == ${os.major}} {
      # graphviz needs Xcode 3.1+ to avoid the libGL error when building the smyrna variant
      # graphviz-gui needs Xcode 3.1.2+; see #18811
      set minimum_xcodeversion 3.1.2
      set current_xcodeversion [exec defaults read /Developer/Applications/Xcode.app/Contents/Info CFBundleShortVersionString]
      if {[rpm-vercomp ${current_xcodeversion} ${minimum_xcodeversion}] < 0} {
      ui_error "On Mac OS X ${macosx_version}, ${name} ${version} requires Xcode ${minimum_xcodeversion} or later but you have Xcode ${current_xcodeversion}."
      return -code error "incompatible Xcode version"
      }
      }
      }

      extract.post_args-append ${worksrcdir}/macosx ${worksrcdir}/doc

      Patch Files: patch-project.pbxproj.diff

      build.dir ${worksrcpath}/macosx
      xcode.build.settings PREFIX=${prefix}

      xcode.destroot.settings ${xcode.build.settings}

      # keep livecheck in sync between graphviz and graphviz-gui
      livecheck.type regex
      livecheck.url ${homepage}Download_source.php
      livecheck.regex ${my_name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)\\.tar

    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/graphviz-gui
      % sudo port install graphviz-gui
      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 graphviz-gui
      ---> Verifying checksum for graphviz-gui
      ---> Extracting graphviz-gui
      ---> Configuring graphviz-gui
      ---> Building graphviz-gui with target all
      ---> Staging graphviz-gui into destroot
      ---> Installing graphviz-gui
    - 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 graphviz-gui with these commands:
      %  man graphviz-gui
      % apropos graphviz-gui
      % which graphviz-gui
      % locate graphviz-gui

     Where to find more information:

    Darwin Ports



    Lightbox this page.