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
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 130029 2014-12-25 00:13:49Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                ccache
7version             3.2.1
8categories          devel
9platforms           darwin freebsd
10license             GPL-3+
11
12maintainers         landonf 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            http://ccache.samba.org/
23master_sites        http://samba.org/ftp/ccache/
24use_bzip2 yes
25
26checksums           rmd160  0d6fc4f43be252bb51a443d481cbb66d0493a9ed \
27                    sha256  240bf6c7fe3350358d26db2d0379dd32834dbee333a2904bbcf99cb7538086a6
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.