most recent changes, diff for ccache

Index: devel/ccache/Portfile
--- devel/ccache/Portfile (revision 36650)
+++ devel/ccache/Portfile (revision 36651)
@@ -4,7 +4,7 @@

name ccache
version 2.4
-revision 1
+revision 2
categories devel
maintainers nox
description object-file caching compiler wrapper
@@ -25,10 +25,12 @@

configure.args --mandir=${prefix}/share/man

-destroot.violate_mtree yes
+use_parallel_build yes

+set symlinks_dir ${prefix}/libexec/ccache
+
post-destroot {
- file mkdir ${destroot}${prefix}/ccache/bin
+ file mkdir ${destroot}${symlinks_dir}

foreach {bin} {
cc
@@ -36,7 +38,7 @@
c++ c++3 c++-3.3 c++-4.0
g++ g++2 g++3 g++-3.3 g++-4.0
} {
- system "cd ${destroot}${prefix}/ccache/bin && ln -sf ../../bin/ccache ${bin}"
+ ln -sf ${prefix}/bin/ccache ${destroot}${symlinks_dir}/${bin}
}

set docdir ${prefix}/share/doc/${name}-${version}
@@ -45,3 +47,6 @@
eval xinstall -m 0644 [glob ${worksrcpath}/web/*.html] ${destroot}${docdir}/html
}

+post-activate {
+ ui_msg "The ccache symlinks are installed in ${symlinks_dir}"
+}