[79426] trunk/dports/php/php5-xhprof
ryandesign at macports.org
ryandesign at macports.org
Mon Jun 13 01:14:25 PDT 2011
Revision: 79426
http://trac.macports.org/changeset/79426
Author: ryandesign at macports.org
Date: 2011-06-13 01:14:22 -0700 (Mon, 13 Jun 2011)
Log Message:
-----------
php5-xhprof: avoid patchfiles which target ..
Modified Paths:
--------------
trunk/dports/php/php5-xhprof/Portfile
trunk/dports/php/php5-xhprof/files/patch-callgraph_utils.php.diff
Modified: trunk/dports/php/php5-xhprof/Portfile
===================================================================
--- trunk/dports/php/php5-xhprof/Portfile 2011-06-13 08:09:09 UTC (rev 79425)
+++ trunk/dports/php/php5-xhprof/Portfile 2011-06-13 08:14:22 UTC (rev 79426)
@@ -15,27 +15,27 @@
long_description XHProf is a function-level hierarchical profiler for \
PHP and has a simple HTML based navigational interface.
-worksrcdir ${distname}/extension
-
checksums md5 ae40b153d157e6369a32e2c1a59a61ec \
sha1 cef6bfb3374e05c7b7445249a304e066d4fd8574 \
rmd160 93ba97e303c038d1be54c55ecd67c68367e0356a
+php5extension.build_dirs ${worksrcpath}/extension
+
use_parallel_build yes
post-destroot {
# Install php files not installed by the Makefile
xinstall -d ${destroot}${prefix}/www/${name}
- copy ${worksrcpath}/../examples ${destroot}${prefix}/www/${name}/examples
- copy ${worksrcpath}/../xhprof_lib ${destroot}${prefix}/www/${name}/xhprof_lib
- copy ${worksrcpath}/../xhprof_html ${destroot}${prefix}/www/${name}/xhprof_html
+ copy ${worksrcpath}/examples ${destroot}${prefix}/www/${name}/examples
+ copy ${worksrcpath}/xhprof_lib ${destroot}${prefix}/www/${name}/xhprof_lib
+ copy ${worksrcpath}/xhprof_html ${destroot}${prefix}/www/${name}/xhprof_html
}
variant graphviz description {Build with graphviz, support for callgraphs} {
depends_run-append path:bin/dot:graphviz
patchfiles-append patch-callgraph_utils.php.diff
post-patch {
- reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/../xhprof_lib/utils/callgraph_utils.php
+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/xhprof_lib/utils/callgraph_utils.php
}
}
Modified: trunk/dports/php/php5-xhprof/files/patch-callgraph_utils.php.diff
===================================================================
--- trunk/dports/php/php5-xhprof/files/patch-callgraph_utils.php.diff 2011-06-13 08:09:09 UTC (rev 79425)
+++ trunk/dports/php/php5-xhprof/files/patch-callgraph_utils.php.diff 2011-06-13 08:14:22 UTC (rev 79426)
@@ -1,5 +1,5 @@
---- ../xhprof_lib/utils/callgraph_utils.php.orig 2009-06-01 19:52:32.000000000 +0200
-+++ ../xhprof_lib/utils/callgraph_utils.php 2010-03-24 23:37:02.000000000 +0100
+--- xhprof_lib/utils/callgraph_utils.php.orig 2009-06-01 19:52:32.000000000 +0200
++++ xhprof_lib/utils/callgraph_utils.php 2010-03-24 23:37:02.000000000 +0100
@@ -103,7 +103,7 @@
2 => array("file", "/dev/null", "a")
);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110613/b0a5c657/attachment.html>
More information about the macports-changes
mailing list