openbsd-ports/sysutils/restic/Makefile
bket ae41d95b3e Update to restic-0.15.0
Removed patch, which is merged into this release.

Changelog: https://github.com/restic/restic/releases/tag/v0.15.0

OK sthen@
2023-01-14 13:43:51 +00:00

38 lines
876 B
Makefile

COMMENT= fast, efficient and secure backup program
MODGO_MODNAME= github.com/restic/restic
MODGO_VERSION= v0.15.0
DISTNAME= restic-${MODGO_VERSION}
CATEGORIES= sysutils
HOMEPAGE= https://restic.net/
MAINTAINER= Stuart Henderson <stu.ports@spacehopper.org>
# BSD
PERMIT_PACKAGE= Yes
WANTLIB += c pthread
MODULES= lang/go
WRKDIST= ${WRKSRC}
NO_TEST= Yes
do-install:
${MODGO_INSTALL_TARGET}
${INSTALL_DATA_DIR} ${PREFIX}/man/man1 \
${PREFIX}/share/bash-completion/completions \
${PREFIX}/share/fish/vendor_completions.d \
${PREFIX}/share/zsh/site-functions
cd ${PREFIX}; bin/restic generate \
--man man/man1 \
--bash-completion share/bash-completion/completions/restic \
--fish-completion share/fish/vendor_completions.d/restic.fish \
--zsh-completion share/zsh/site-functions/restic
.include "modules.inc"
.include <bsd.port.mk>