Files
2026-05-06 16:22:35 +00:00

37 lines
659 B
Makefile

# ring-v0.17 does not support this arch
NOT_FOR_ARCHS = sparc64
COMMENT = compiler cache for C/C++/Rust
GH_ACCOUNT = mozilla
GH_PROJECT = sccache
GH_TAGNAME = v0.15.0
CATEGORIES = devel
MAINTAINER = Caspar Schutijser <caspar@openbsd.org>
# Apache 2.0
PERMIT_PACKAGE = Yes
WANTLIB += crypto m ssl zstd ${MODCARGO_WANTLIB}
MODULES = devel/cargo
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = cargo
LIB_DEPENDS += archivers/zstd
MODCARGO_RUSTFLAGS += -L${LOCALBASE}/lib
DOCDIR = ${PREFIX}/share/doc/sccache
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.md ${DOCDIR}/
.include "crates.inc"
.include <bsd.port.mk>