Files
ports/sysutils/rustic/Makefile
T
Mikael Urankar 17bf498fd2 lang/rust: Bump revisions after 1.95.0
PR:		294615
2026-04-27 14:26:47 +02:00

40 lines
1.2 KiB
Makefile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
PORTNAME= rustic
DISTVERSIONPREFIX= v
DISTVERSION= 0.11.2
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= nivit@FreeBSD.org
COMMENT= Fast, encrypted, and deduplicated backups powered by Rust
WWW= https://rustic.cli.rs/
LICENSE= APACHE20 BSD0CLAUSE BSD2CLAUSE BSD3CLAUSE BSL CC0-1.0 CDLA20 \
MIT MPL20 UNICODE UNLICENSE ZLIB
LICENSE_COMB= multi
LICENSE_NAME_CDLA20= Community Data License Agreement Permissive, Version 2.0
LICENSE_NAME_UNICODE= Unicode Terms of Use
LICENSE_TEXT_CDLA20= See https://cdla.dev/permissive-2-0/
LICENSE_TEXT_UNICODE= See https://spdx.org/licenses/Unicode-TOU.html
LICENSE_PERMS_CDLA20= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_UNICODE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LIB_DEPENDS= libzstd.so:archivers/zstd
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= rustic-rs
OPTIONS_DEFINE= EXAMPLES
post-patch:
${REINPLACE_CMD} -e 's|\[/config/\](/config)|[examples](${EXAMPLESDIR})|1' \
-e 's|\[\(services\)/\](/config/services/)|[examples/\1/](${EXAMPLESDIR}/\1)|1' \
${WRKSRC}/config/README.md
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/config && \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! ( -name *.md -or -name *.bak )")
.include <bsd.port.mk>