1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/sysutils/restic/Makefile
Dmitri Goutnik 60b81f5a2f sysutils/restic: Update to 0.9.6
Changes:	https://github.com/restic/restic/releases/tag/v0.9.6
PR:		243784
Submitted by:	Massimo Lusetti <massimo@datacode.it>
Approved by:	Greg Fitzgerald <gregf@hugops.pw> (maintainer)
2020-02-13 14:44:15 +00:00

31 lines
775 B
Makefile

# $FreeBSD$
PORTNAME= restic
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.6
CATEGORIES= sysutils
MAINTAINER= gregf@hugops.pw
COMMENT= Fast, secure, efficient backup program
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GO_TARGET= ./cmd/${PORTNAME}
PLIST_SUB= PORTNAME=${PORTNAME}
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/man/* ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL} -d ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
${INSTALL_SCRIPT} ${WRKSRC}/doc/bash-completion.sh \
${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME}.sh
${INSTALL} -d ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
${INSTALL_DATA} ${WRKSRC}/doc/zsh-completion.zsh \
${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME}
.include <bsd.port.mk>