# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 80874 2011-07-19 23:40:29Z ryandesign@macports.org $

PortSystem                      1.0
PortGroup                       qt4 1.0

# Keep relevant lines in sync between graphviz-devel, graphviz-gui-devel and gvedit-devel.

name                            gvedit-devel
conflicts                       gvedit
set my_name                     graphviz
version                         2.29.20110717.0445
categories                      graphics
maintainers                     ryandesign
license                         EPL-1.0
homepage                        http://www.graphviz.org/
master_sites                    ${homepage}pub/graphviz/development/SOURCES/
platforms                       darwin
use_parallel_build              yes
dist_subdir                     ${my_name}
distname                        ${my_name}-${version}

description                     Qt-based GUI for Graphviz

long_description                gvedit is a ${description}. You may prefer \
                                the Mac-native GUI in the graphviz-gui port.

checksums                       sha1    97b06e848a04237ec66a160790634e081f002fc8 \
                                rmd160  9384bad57cd62c2db8d8ae22199ffd246e70dcd0

use_autoreconf                  yes

depends_lib-append              port:graphviz-devel

patchfiles                      patch-cmd-gvedit-Makefile.am.diff

configure.args                  --with-qt

build.dir                       ${worksrcpath}/cmd/gvedit

livecheck.type                  regex
livecheck.url                   ${homepage}Download_source.php
livecheck.regex                 ${my_name}-(\[0-9\]+\\.\[0-9\]*\[13579\](\\.\[0-9\]+)*)\\.tar
