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

name                kcachegrind4
version             4.14.3
revision            3
categories          kde kde4
license             GPL-2+ LGPL-2.1+
maintainers         nomaintainer
description         KDE profiling application
long_description    KCachegrind is a profile data visualization tool, \
                    used to determine the most time consuming execution \
                    parts of program.
platforms           darwin
homepage            https://www.kde.org/applications/development/kcachegrind/
master_sites        kde:stable/${version}/src/
distname            kcachegrind-${version}
use_xz              yes

checksums           rmd160  b0188e11e8846a87bc7c444a1207a199fb4df77d \
                    sha256  a67917ae2540101b0ab0be618ead7aa4619b1808ec1ebd74358739f8fffea424

patchfiles-append   patch-CMake-icons.diff \
                    patch-nullPointers.diff

#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
license_noconflict  openssl

depends_lib-append  port:kdelibs4

if {![variant_isset docs]} {
    patchfiles-append   patch-CMakeLists.diff
}

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