Ticket #35745: Portfile

File Portfile, 1.4 KB (added by rwc@…, 12 years ago)

Portfile for kcachegrind 0.7.1

Line 
1# $Id$
2
3PortSystem          1.0
4
5name                kcachegrind
6version             0.7.1
7categories          devel
8platforms           darwin
9maintainers         nomaintainer
10description         KCachegrind - Profiling Visualization
11long_description    KCachegrind visualizes traces generated by profiling, \
12                    including a tree map and a call graph visualization of \
13                    the calls happening. It's designed to be fast for very \
14                    large programs like KDE applications. Current version \
15                    creates application qcachegrind instead of kcachegrind.
16
17homepage            http://kcachegrind.sourceforge.net/html/Home.html
18
19master_sites        http://kcachegrind.sourceforge.net/
20
21extract.suffix      .tgz
22
23checksums           md5 39376990a9ea2e9f1b75f43f9104fd70 \
24                    sha1 efa0b3abb7afe211c2f227b78a8699d80846f8ea \
25                    rmd160 5f03317e354e1d9f924983a7890abdcbc0423233
26
27depends_build       port:qt4-mac
28
29configure.cmd       qmake
30configure.pre_args
31
32set qcgapp          ${workpath}/kcachegrind-${version}/qcachegrind/qcachegrind.app
33
34post-destroot {
35   xinstall -d ${applications_dir}
36   copy ${qcgapp} ${destroot}${applications_dir}
37   ln -s ${applications_dir}/qcachegrind.app/Contents/MacOS/qcachegrind \
38      ${destroot}${prefix}/bin/qcachegrind
39}
40
41livecheck.type      regex
42livecheck.url       ${homepage}
43livecheck.regex     {KCachegrind\W([0-9.]+)}