Ticket #35745: portfile.diff

File portfile.diff, 2.7 KB (added by rwc@…, 12 years ago)

Diff between versions of the portfile

  • Portfile

    old new  
    1 # $Id: Portfile 70012 2010-07-26 11:20:36Z simon@macports.org $
     1# $Id$
    22
    33PortSystem          1.0
    44
    55name                kcachegrind
    6 version             0.4.6
    7 revision            1
     6version             0.7.1
    87categories          devel
    98platforms           darwin
    109maintainers         nomaintainer
     
    1211long_description    KCachegrind visualizes traces generated by profiling, \
    1312                    including a tree map and a call graph visualization of \
    1413                    the calls happening. It's designed to be fast for very \
    15                     large programs like KDE applications.
     14                    large programs like KDE applications. Current version \
     15                    creates application qcachegrind instead of kcachegrind.
    1616
    17 homepage            http://kcachegrind.sourceforge.net/
    18 master_sites        sourceforge
     17homepage            http://kcachegrind.sourceforge.net/html/Home.html
    1918
    20 checksums           md5 4ed60028dcefd6bf626635d5f2f50273 \
    21                     sha1 7c1e3268b0c98660f35bc92bf01f1b52733508fb \
    22                     rmd160 b64f88377fb0bf1d0e21fc70dcb9b812f46ae93b
     19master_sites        http://kcachegrind.sourceforge.net/
    2320
    24 depends_lib         port:kdelibs3
     21extract.suffix      .tgz
    2522
    26 configure.args      --with-extra-includes=${prefix}/include \
    27                     --with-extra-libs=${prefix}/lib \
    28                     --with-qt-dir=${prefix}/lib/qt3 \
    29                     --without-arts
     23checksums           md5 39376990a9ea2e9f1b75f43f9104fd70 \
     24                    sha1 efa0b3abb7afe211c2f227b78a8699d80846f8ea \
     25                    rmd160 5f03317e354e1d9f924983a7890abdcbc0423233
    3026
    31 platform darwin 9 {
    32     # http://developer.apple.com/qa/qa2007/qa1567.html
    33     configure.ldflags-append -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
     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
    3439}
    3540
    36 livecheck.type  regex
    37 livecheck.url   http://sourceforge.net/project/showfiles.php?group_id=64331
    38 livecheck.regex {KCachegrind (\d+(?:\.\d+)*)}
     41livecheck.type      regex
     42livecheck.url       ${homepage}
     43livecheck.regex     {KCachegrind\W([0-9.]+)}