source: trunk/dports/devel/ccache/Portfile @ 130029

Last change on this file since 130029 was 130029, checked in by ryandesign@…, 5 years ago

ccache, ccache-devel: update to 3.2.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[74264]1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
[20267]2# $Id: Portfile 130029 2014-12-25 00:13:49Z ryandesign@macports.org $
[2122]3
[74264]4PortSystem          1.0
[27973]5
[74264]6name                ccache
[130029]7version             3.2.1
[74264]8categories          devel
9platforms           darwin freebsd
[85450]10license             GPL-3+
[27973]11
[74264]12maintainers         landonf openmaintainer
13
14description         object-file caching compiler wrapper
15
[9821]16long_description \
[28880]17    ccache is a compiler cache.  It acts as a caching pre-processor to C/C++ \
18    compilers, using the -E compiler switch and a hash to detect when a \
19    compilation can be satisfied from cache.  This often results in a 5 to 10 \
20    times speedup in common compilations.
[1099]21
[74264]22homepage            http://ccache.samba.org/
23master_sites        http://samba.org/ftp/ccache/
[102180]24use_bzip2 yes
[9821]25
[130029]26checksums           rmd160  0d6fc4f43be252bb51a443d481cbb66d0493a9ed \
27                    sha256  240bf6c7fe3350358d26db2d0379dd32834dbee333a2904bbcf99cb7538086a6
[27973]28
[127861]29depends_lib         port:zlib
[27973]30
[71514]31set symlinks_dir    ${prefix}/libexec/ccache
32
[9821]33post-destroot {
[71514]34    file mkdir ${destroot}${symlinks_dir}
35
36    foreach {bin} {
[74264]37        cc
38        gcc gcc2    gcc3    gcc-3.3 gcc-4.0 gcc-4.2
39        c++ c++3    c++-3.3 c++-4.0 c++-4.2
40        g++ g++2    g++3    g++-3.3 g++-4.0 g++-4.2
[71514]41    } {
42        ln -sf ${prefix}/bin/ccache ${destroot}${symlinks_dir}/${bin}
43    }
[1099]44}
[71514]45
[118861]46conflicts           ccache-devel
47
[71539]48notes "The ccache symlinks are installed in ${symlinks_dir}"
[126806]49
50livecheck.type      regex
51livecheck.url       [lindex ${master_sites} 0]
52livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.