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

    graphviz-gui-devel  most recent diff


    version 2.25.20091016.0445

      View the most recent changes for the graphviz-gui-devel port at: graphviz-gui-devel.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for graphviz-gui-devel.
      The raw portfile for graphviz-gui-devel 2.25.20091016.0445 is located here:
      http://graphviz-gui-devel.darwinports.com/dports/graphics/graphviz-gui-devel/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-devel


      The graphviz-gui-devel Portfile 59547 2009-10-16 16:21:54Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup xcode 1.0

      Name: graphviz-gui-devel
      conflicts graphviz-gui graphviz-oldgui
      set my_name graphviz
      # keep version in sync between graphviz-devel and graphviz-gui-devel
      Version: 2.25.20091016.0445
      Category: graphics aqua
      Maintainers: ryandesign
      license CPLv1.0
      Homepage: http://www.graphviz.org/
      Master Sites: ${homepage}pub/graphviz/development/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 dce2febc2d8d764d303aece9710e73d1 sha1 8ec5c140a5b8a26000d20b6eb87cc425c7e3cf06 rmd160 2b42a657948d2a1a3d4a85d7514ea7e7b883b480

      depends_lib port:graphviz-devel

      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-devel needs Xcode 3.1+ to avoid the libGL error when building the smyrna variant
      # graphviz-gui-devel 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-devel and graphviz-gui-devel
      livecheck.type regex
      livecheck.url ${homepage}Download_source.php
      livecheck.regex ${my_name}-(\[0-9\]+\\.\[0-9\]*\[13579\](\\.\[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-devel
      % sudo port install graphviz-gui-devel
      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-devel
      ---> Verifying checksum for graphviz-gui-devel
      ---> Extracting graphviz-gui-devel
      ---> Configuring graphviz-gui-devel
      ---> Building graphviz-gui-devel with target all
      ---> Staging graphviz-gui-devel into destroot
      ---> Installing graphviz-gui-devel
    - 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-devel with these commands:
      %  man graphviz-gui-devel
      % apropos graphviz-gui-devel
      % which graphviz-gui-devel
      % locate graphviz-gui-devel

     Where to find more information:

    Darwin Ports



    Lightbox this page.