[29002] trunk/dports/devel/ccache/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 12 16:23:13 PDT 2007
Revision: 29002
http://trac.macosforge.org/projects/macports/changeset/29002
Author: nox at macports.org
Date: 2007-09-12 16:23:13 -0700 (Wed, 12 Sep 2007)
Log Message:
-----------
ccache: Removed cd calls.
Modified Paths:
--------------
trunk/dports/devel/ccache/Portfile
Modified: trunk/dports/devel/ccache/Portfile
===================================================================
--- trunk/dports/devel/ccache/Portfile 2007-09-12 23:04:09 UTC (rev 29001)
+++ trunk/dports/devel/ccache/Portfile 2007-09-12 23:23:13 UTC (rev 29002)
@@ -29,7 +29,6 @@
post-destroot {
file mkdir ${destroot}${prefix}/ccache/bin
- cd ${destroot}${prefix}/ccache/bin
foreach {bin} {
cc
@@ -37,13 +36,12 @@
c++ c++3 c++-3.3 c++-4.0
g++ g++2 g++3 g++-3.3 g++-4.0
} {
- ln -sf ../../bin/ccache ${bin}
+ system "cd ${destroot}${prefix}/ccache/bin && ln -sf ../../bin/ccache ${bin}"
}
- cd ${worksrcpath}
set docdir ${prefix}/share/doc/${name}-${version}
xinstall -d ${destroot}${docdir}/html
- xinstall -m 0644 COPYING README ${destroot}${docdir}
- eval xinstall -m 0644 [glob web/*.html] ${destroot}${docdir}/html
+ xinstall -m 0644 -W ${worksrcpath} COPYING README ${destroot}${docdir}
+ eval xinstall -m 0644 [glob ${worksrcpath}/web/*.html] ${destroot}${docdir}/html
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070912/99bef3d8/attachment.html
More information about the macports-changes
mailing list