| @@ -1,34 +1,34 @@ | | | @@ -1,34 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.70 2023/03/14 06:30:23 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.71 2023/03/16 07:53:35 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= ccache-4.8 | | 3 | DISTNAME= ccache-4.8 |
4 | CATEGORIES= devel | | 4 | CATEGORIES= devel |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ccache/} | | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ccache/} |
6 | GITHUB_RELEASE= v${PKGVERSION_NOREV} | | 6 | GITHUB_RELEASE= v${PKGVERSION_NOREV} |
7 | # We choose gzip to minimize dependencies; some platforms do not have | | 7 | # We choose gzip to minimize dependencies; some platforms do not have |
8 | # xz builtin. | | 8 | # xz builtin. |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= https://ccache.dev/ | | 11 | HOMEPAGE= https://ccache.dev/ |
12 | COMMENT= Cache for C/C++ compilers | | 12 | COMMENT= Cache for C/C++ compilers |
13 | LICENSE= gnu-gpl-v3 AND modified-bsd AND public-domain AND zlib | | 13 | LICENSE= gnu-gpl-v3 AND modified-bsd AND public-domain AND zlib |
14 | | | 14 | |
15 | USE_CMAKE= yes | | | |
16 | USE_LANGUAGES= c99 c++17 | | 15 | USE_LANGUAGES= c99 c++17 |
17 | USE_TOOLS+= perl:build pkg-config | | 16 | USE_TOOLS+= perl:build pkg-config |
18 | TEST_TARGET= test | | 17 | TEST_TARGET= test |
19 | | | 18 | |
20 | GCC_REQD= 8 # std::filesystem | | 19 | GCC_REQD= 8 # std::filesystem |
21 | | | 20 | |
22 | .include "../../lang/ruby/rubyversion.mk" | | 21 | .include "../../lang/ruby/rubyversion.mk" |
23 | TOOL_DEPENDS+= ${RUBY_PKGPREFIX}-asciidoctor>=2.0.0:../../textproc/ruby-asciidoctor | | 22 | TOOL_DEPENDS+= ${RUBY_PKGPREFIX}-asciidoctor>=2.0.0:../../textproc/ruby-asciidoctor |
24 | | | 23 | |
25 | SUBST_CLASSES+= rubyver | | 24 | SUBST_CLASSES+= rubyver |
26 | SUBST_SED.rubyver+= -e "s/asciidoctor/asciidoctor${RUBY_SUFFIX}/" | | 25 | SUBST_SED.rubyver+= -e "s/asciidoctor/asciidoctor${RUBY_SUFFIX}/" |
27 | SUBST_FILES.rubyver+= doc/CMakeLists.txt | | 26 | SUBST_FILES.rubyver+= doc/CMakeLists.txt |
28 | SUBST_STAGE.rubyver= pre-configure | | 27 | SUBST_STAGE.rubyver= pre-configure |
29 | SUBST_MESSAGE.rubyver= Fixing asciidoctor executable name. | | 28 | SUBST_MESSAGE.rubyver= Fixing asciidoctor executable name. |
30 | | | 29 | |
31 | .include "../../archivers/zstd/buildlink3.mk" | | 30 | .include "../../archivers/zstd/buildlink3.mk" |
32 | .include "../../databases/hiredis/buildlink3.mk" | | 31 | .include "../../databases/hiredis/buildlink3.mk" |
| | | 32 | .include "../../devel/cmake/build.mk" |
33 | .include "../../mk/atomic64.mk" | | 33 | .include "../../mk/atomic64.mk" |
34 | .include "../../mk/bsd.pkg.mk" | | 34 | .include "../../mk/bsd.pkg.mk" |