blob: 723019ce89ddd68309d92aead13e235c3a95a443 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $FreeBSD$
PORTNAME= restic
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.2
CATEGORIES= sysutils
MAINTAINER= gregf@hugops.pw
COMMENT= Fast, secure, efficient backup program
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go
USE_GITHUB= yes
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
GO_TARGET= ${GO_PKGNAME}/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>
|