Dia version 0.97 - How to Download and Install on Mac OS X
Wednesday the 8th of September, 2010

    version 0.97

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
      The dia Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: dia
      Version: 0.97
      Revision: 1
      Maintainers: nox openmaintainer
      Category: gnome graphics
      Platform: darwin
      Description: A diagram program.

      Long Description: Dia is designed to be much like the commercial Windows program Visio. It can be used to draw many different kinds of diagrams. It currently has special objects to help draw entity relationship diagrams, UML diagrams, flowcharts, network diagrams, and simple circuits. It is also possible to add support for new shapes by writing simple XML files, using a subset of SVG to draw the shape.

      Homepage: http://live.gnome.org/Dia
      Master Sites: gnome:sources/${name}/[lindex [split ${version} -] 0]/
      use_bzip2 yes

      Checksums: md5 3d11f9aaa5a4923f0a5533962c87bdfb sha1 1c5a727e9e4f59b823a4616fc881055006eb8b96 rmd160 1b2869e2ebdd2f37b908ab3166e529aec1862af6

      post-patch {
      reinplace s/isspecial/char_isspecial/ ${worksrcpath}/objects/GRAFCET/boolequation.c
      }

      depends_build port:intltool

      depends_lib path:lib/pkgconfig/cairo.pc:cairo port:freetype port:libart_lgpl port:libemf port:libpng port:libxml2 port:libxslt port:gettext path:lib/pkgconfig/glib-2.0.pc:glib2 port:gtk2 path:lib/pkgconfig/pango.pc:pango port:popt port:zlib

      configure.args --with-cairo --with-xslt-prefix=${prefix}

      configure.cppflags-append -I${prefix}/include/libEMF

      #
      # don't depend on libemf on powerpc platforms
      # since it will only build on intel
      #

      platform powerpc {
      depends_lib-delete port:libemf
      configure.cppflags-delete -I${prefix}/include/libEMF
      }

      livecheck.type regex
      livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/[lindex [split ${version} -] 0]/
      livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*(?:-pre\d)*)}

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.