[78060] trunk/dports/php/php5-unit/Portfile
singingwolfboy at macports.org
singingwolfboy at macports.org
Thu Apr 21 13:02:18 PDT 2011
Revision: 78060
http://trac.macports.org/changeset/78060
Author: singingwolfboy at macports.org
Date: 2011-04-21 13:02:17 -0700 (Thu, 21 Apr 2011)
Log Message:
-----------
php5-unit: corrected port so that it will actually install
Modified Paths:
--------------
trunk/dports/php/php5-unit/Portfile
Modified: trunk/dports/php/php5-unit/Portfile
===================================================================
--- trunk/dports/php/php5-unit/Portfile 2011-04-21 14:03:18 UTC (rev 78059)
+++ trunk/dports/php/php5-unit/Portfile 2011-04-21 20:02:17 UTC (rev 78060)
@@ -3,6 +3,7 @@
PortSystem 1.0
name php5-unit
+set real_name phpunit
set cap_name PHPUnit
version 3.5.13
categories php devel
@@ -27,9 +28,9 @@
use_configure no
build {}
destroot {
- reinplace "s|@php_bin@|${prefix}/bin/php|" ${worksrcpath}/${name}.php
+ reinplace "s|@php_bin@|${prefix}/bin/php|" ${worksrcpath}/${real_name}.php
reinplace "s|@php_bin@|${prefix}/bin/php|" ${worksrcpath}/${cap_name}/Util/PHP.php
- xinstall -m 755 ${worksrcpath}/${name}.php ${destroot}${prefix}/bin/${name}
+ xinstall -m 755 ${worksrcpath}/${real_name}.php ${destroot}${prefix}/bin/${real_name}
file copy ${worksrcpath} ${destroot}${prefix}/lib/php/
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110421/995369a5/attachment.html>
More information about the macports-changes
mailing list