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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup github 1.0 |
---|
5 | |
---|
6 | name ccache |
---|
7 | github.setup ccache ccache 3.7.1 v |
---|
8 | revision 0 |
---|
9 | checksums rmd160 ea189d1a42490050d591551e4396a89d4c611e23 \ |
---|
10 | sha256 d618e6c257d000d974a7ebb46aaefd872f77a1efeaefe33829d7396b2ec60420 \ |
---|
11 | size 384420 |
---|
12 | |
---|
13 | categories devel |
---|
14 | platforms darwin freebsd |
---|
15 | license GPL-3+ |
---|
16 | |
---|
17 | maintainers {ryandesign @ryandesign} openmaintainer |
---|
18 | |
---|
19 | description object-file caching compiler wrapper |
---|
20 | |
---|
21 | long_description \ |
---|
22 | ccache is a compiler cache. It acts as a caching pre-processor to C/C++ \ |
---|
23 | compilers, using the -E compiler switch and a hash to detect when a \ |
---|
24 | compilation can be satisfied from cache. This often results in a 5 to 10 \ |
---|
25 | times speedup in common compilations. |
---|
26 | |
---|
27 | homepage https://ccache.dev |
---|
28 | |
---|
29 | use_autoconf yes |
---|
30 | autoconf.cmd ./autogen.sh |
---|
31 | |
---|
32 | depends_lib port:zlib \ |
---|
33 | port:autoconf |
---|
34 | |
---|
35 | default_variants +doc |
---|
36 | |
---|
37 | variant doc description "Whether to build docs or not" { |
---|
38 | depends_build-append port:asciidoc |
---|
39 | } |
---|
40 | if {![variant_isset doc]} { |
---|
41 | configure.args-append --disable-man |
---|
42 | } |
---|
43 | |
---|
44 | conflicts ccache-devel |
---|
45 | |
---|
46 | livecheck.type regex |
---|
47 | livecheck.url [lindex ${master_sites} 0] |
---|
48 | livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} |
---|