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

PortSystem          1.0
PortGroup           qt4 1.0

name                qcachegrind
version             0.7.4
categories          devel
maintainers         m4x.org:frederic.devernay

description         Callgrind profile data visualization

long_description    ${description}

homepage            http://kcachegrind.sourceforge.net/
master_sites        http://kcachegrind.sourceforge.net/
distname            kcachegrind-${version}
extract.suffix      .tar.gz

checksums \
    rmd160 a7d0ca0677e455720ad876e449cc7a003183d44d \
    sha256 0bf6efb647d500bf09bbbab617d30a8a2a0a2cbf87fd1f2a1375d774c005b379
                    
depends_lib         port:qt4-mac

universal_variant   no

destroot {
    copy ${worksrcpath}/qcachegrind/qcachegrind.app \
         ${destroot}${applications_dir}
}

configure.cmd       {qmake}
configure.pre_args  INSTALLBASE="${prefix}"

livecheck.type      sourceforge
livecheck.name      kcachegrind
livecheck.regex     "kcachegrind-(\[0-9\](\.\[0-9\]){1,2})"