source: trunk/dports/devel/ccache/Portfile

Last change on this file was 154482, checked in by ryandesign@…, 11 months ago

ccache: Update to 3.3.3

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
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
2# $Id: Portfile 154482 2016-10-30 22:38:08Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                ccache
7version             3.3.3
8categories          devel
9platforms           darwin freebsd
10license             GPL-3+
11
12maintainers         ryandesign openmaintainer
13
14description         object-file caching compiler wrapper
15
16long_description \
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.
21
22homepage            https://ccache.samba.org/
23master_sites        https://www.samba.org/ftp/ccache/
24use_bzip2 yes
25
26checksums           rmd160  5140b80d0d088dc5b8c7100fd083e398e1c76a05 \
27                    sha256  2985bc5e32ebe38d2958d508eb54ddcad39eed909489c0c2988035214597ca54
28
29depends_lib         port:zlib
30
31set symlinks_dir    ${prefix}/libexec/ccache
32
33post-destroot {
34    file mkdir ${destroot}${symlinks_dir}
35
36    foreach {bin} {
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
41    } {
42        ln -sf ${prefix}/bin/ccache ${destroot}${symlinks_dir}/${bin}
43    }
44}
45
46conflicts           ccache-devel
47
48notes "The ccache symlinks are installed in ${symlinks_dir}"
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.