# $Id: Portfile,v 1.7 2003/03/09 04:31:55 ranger Exp $ PortSystem 1.0 name ccache version 2.2 categories devel maintainers ranger@befunk.com description object-file caching compiler wrapper long_description ccache is a compiler cache. It acts as a caching pre-processor to C/C++ \ compilers, using the -E compiler switch and a hash to detect when a \ compilation can be satisfied from cache. This often results in a 5 to 10 \ times speedup in common compilations. homepage http://ccache.samba.org/ platforms darwin freebsd master_sites http://ccache.samba.org/ftp/ccache/ checksums md5 3b98afe5e966ccd37f4d2b102d6ac8ac post-install { system "cd ${destroot}${prefix}/bin; \ ln -fs ${prefix}/bin/ccache ${destroot}${prefix}/bin/cc; \ ln -fs ${prefix}/bin/ccache ${destroot}${prefix}/bin/gcc; \ ln -fs ${prefix}/bin/ccache ${destroot}${prefix}/bin/gcc2; \ ln -fs ${prefix}/bin/ccache ${destroot}${prefix}/bin/gcc3; \ ln -fs ${prefix}/bin/ccache ${destroot}${prefix}/bin/c++; \ ln -fs ${prefix}/bin/ccache ${destroot}${prefix}/bin/c++3; \ ln -fs ${prefix}/bin/ccache ${destroot}${prefix}/bin/g++; \ ln -fs ${prefix}/bin/ccache ${destroot}${prefix}/bin/g++2; \ ln -fs ${prefix}/bin/ccache ${destroot}${prefix}/bin/g++3" }