# -*- 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 # $Id: Portfile 52585 2009-06-19 12:28:24Z nox@macports.org $ PortSystem 1.0 name dia version 0.97 maintainers nox openmaintainer categories gnome graphics platforms 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: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} livecheck.check regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/[lindex [split ${version} -] 0]/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*(?:-pre\d)*)}