[27974] trunk/dports/devel/ccache/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Thu Aug 16 16:39:37 PDT 2007
Revision: 27974
http://trac.macosforge.org/projects/macports/changeset/27974
Author: nox at macports.org
Date: 2007-08-16 16:39:36 -0700 (Thu, 16 Aug 2007)
Log Message:
-----------
ccache:
* Allowed mtree violation (closes #12487).
* Added sha1 and rmd160 checksums.
* No more system call, use tcl primitives.
Modified Paths:
--------------
trunk/dports/devel/ccache/Portfile
Modified: trunk/dports/devel/ccache/Portfile
===================================================================
--- trunk/dports/devel/ccache/Portfile 2007-08-16 23:15:48 UTC (rev 27973)
+++ trunk/dports/devel/ccache/Portfile 2007-08-16 23:39:36 UTC (rev 27974)
@@ -19,26 +19,25 @@
platforms darwin freebsd
master_sites http://samba.org/ftp/ccache/
-checksums md5 73c1ed1e767c1752dd0f548ec1e66ce7
+checksums md5 73c1ed1e767c1752dd0f548ec1e66ce7 \
+ sha1 9833ec13de9b90d5409e60d679ac681115ef465e \
+ rmd160 43a0647c7faf659121a53a92ec45d245b8140124
configure.args --mandir=${prefix}/share/man
+destroot.violate_mtree yes
+
post-destroot {
file mkdir ${destroot}${prefix}/ccache/bin
- system "cd ${destroot}${prefix}/ccache/bin; \
- ln -sf ../../bin/ccache cc; \
- ln -sf ../../bin/ccache gcc; \
- ln -sf ../../bin/ccache gcc2; \
- ln -sf ../../bin/ccache gcc3; \
- ln -sf ../../bin/ccache gcc-3.3; \
- ln -sf ../../bin/ccache gcc-4.0; \
- ln -sf ../../bin/ccache c++; \
- ln -sf ../../bin/ccache c++3; \
- ln -sf ../../bin/ccache c++-3.3; \
- ln -sf ../../bin/ccache c++-4.0; \
- ln -sf ../../bin/ccache g++; \
- ln -sf ../../bin/ccache g++2; \
- ln -sf ../../bin/ccache g++3; \
- ln -sf ../../bin/ccache g++-3.3; \
- ln -sf ../../bin/ccache g++-4.0"
+ cd ${destroot}${prefix}/ccache/bin
+
+ foreach {bin} {
+ cc
+ gcc gcc2 gcc3 gcc-3.3 gcc-4.0
+ 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}
+ }
}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070816/dbda2d64/attachment.html
More information about the macports-changes
mailing list