# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup php 1.1 name php-xhprof version 0.9.3 categories-append devel platforms darwin maintainers ryandesign openmaintainer license Apache-2 php.branches 5.3 5.4 5.5 php.pecl yes php.pecl.prerelease yes description A Hierarchical Profiler for PHP long_description XHProf is a function-level hierarchical profiler for \ PHP and has a simple HTML based navigational interface. checksums rmd160 badf41ba3e3d3c7255684f37d63e7cea4fcc6201 \ sha256 422c5269de3e3ff281f010584768b7753ceec6a9f4f858a8e171ec43358dbbf3 if {${name} != ${subport}} { patchfiles patch-callgraph_utils.php.diff post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/xhprof_lib/utils/callgraph_utils.php } php.build_dirs ${worksrcpath}/extension use_parallel_build yes post-destroot { # Install php files not installed by the Makefile xinstall -d ${destroot}${prefix}/www/${subport} copy ${worksrcpath}/examples ${destroot}${prefix}/www/${subport}/examples copy ${worksrcpath}/xhprof_lib ${destroot}${prefix}/www/${subport}/xhprof_lib copy ${worksrcpath}/xhprof_html ${destroot}${prefix}/www/${subport}/xhprof_html } variant graphviz description {Build with graphviz, support for callgraphs} { depends_run-append path:bin/dot:graphviz } }