Ticket #35745: portfile.diff
File portfile.diff, 2.7 KB (added by rwc@…, 12 years ago) |
---|
-
Portfile
old new 1 # $Id : Portfile 70012 2010-07-26 11:20:36Z simon@macports.org$1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 5 5 name kcachegrind 6 version 0.4.6 7 revision 1 6 version 0.7.1 8 7 categories devel 9 8 platforms darwin 10 9 maintainers nomaintainer … … 12 11 long_description KCachegrind visualizes traces generated by profiling, \ 13 12 including a tree map and a call graph visualization of \ 14 13 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. 16 16 17 homepage http://kcachegrind.sourceforge.net/ 18 master_sites sourceforge 17 homepage http://kcachegrind.sourceforge.net/html/Home.html 19 18 20 checksums md5 4ed60028dcefd6bf626635d5f2f50273 \ 21 sha1 7c1e3268b0c98660f35bc92bf01f1b52733508fb \ 22 rmd160 b64f88377fb0bf1d0e21fc70dcb9b812f46ae93b 19 master_sites http://kcachegrind.sourceforge.net/ 23 20 24 depends_lib port:kdelibs3 21 extract.suffix .tgz 25 22 26 configure.args --with-extra-includes=${prefix}/include \ 27 --with-extra-libs=${prefix}/lib \ 28 --with-qt-dir=${prefix}/lib/qt3 \ 29 --without-arts 23 checksums md5 39376990a9ea2e9f1b75f43f9104fd70 \ 24 sha1 efa0b3abb7afe211c2f227b78a8699d80846f8ea \ 25 rmd160 5f03317e354e1d9f924983a7890abdcbc0423233 30 26 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 27 depends_build port:qt4-mac 28 29 configure.cmd qmake 30 configure.pre_args 31 32 set qcgapp ${workpath}/kcachegrind-${version}/qcachegrind/qcachegrind.app 33 34 post-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 34 39 } 35 40 36 livecheck.type regex37 livecheck.url http://sourceforge.net/project/showfiles.php?group_id=6433138 livecheck.regex {KCachegrind (\d+(?:\.\d+)*)}41 livecheck.type regex 42 livecheck.url ${homepage} 43 livecheck.regex {KCachegrind\W([0-9.]+)}