# -*- 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

PortSystem          1.0
PortGroup           kde4 1.1
PortGroup           boost 1.0

name                kgraphviewer
version             2.2.0
revision            5
categories          kde kde4
maintainers         nomaintainer

description         GraphViz dot graph viewer for KDE
long_description    KGraphViewer is a GraphViz dot graph viewer for KDE. \
                    The graphviz program suite is a free software set of \
                    layout engines for graphs. They are commonly used in \
                    scientific domains and particularly in computer science. \
                    But until now there was a lack of a modern GUI to look \
                    at the graphs. KGraphViewer is aimed at replacing these \
                    tools with a modern user-friendly GUI with all the power \
                    of a well integrated KDE application.

platforms           darwin

homepage            http://extragear.kde.org/apps/kgraphviewer/

master_sites        kde:stable/${name}/${version}/src/ \
                    ftp://ftp.kde.org/pub/kde/stable/${name}/${version}/src
use_xz              yes

checksums           rmd160  7aa1c587653a542d42360acf9dfce5dd50eeb931 \
                    sha256  85ca4778d428e807a94d9587c5086f7ee8239780f373491bee46f49a46e945ef

post-configure {
    move ${worksrcpath}/VERSION ${worksrcpath}/VERSION.txt
}

depends_lib-append  port:kdelibs4 \
                    path:bin/dot:graphviz \
                    port:kde4-runtime

livecheck.url       ${kde4.mirror}${name}
livecheck.regex     (\\d+(\\.\\d+)+(\\.\\d+)+)/
