1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/sysutils/restic/Makefile
Tobias Kortkamp 506b586230 sysutils/restic: Remove BASH and ZSH options
During the last update we forgot to keep %%BASH%% and %%ZSH%% in
pkg-plist and the build currently fails when disabling BASH and/or
ZSH. [1]

Remove the BASH and ZSH options instead of fixing them.  Having
options to skip installing tiny completion files does not make much
sense.  The current recommendation in the Porter's Handbook is to
always install them unconditionally.

PR:		228551
Reported by:	rumble.rubble@gmail.com [1]
Approved by:	gregf@hugops.pw (maintainer)
Submitted by:	w.schwarzenfeld@utanet.at
2018-06-01 06:49:01 +00:00

32 lines
828 B
Makefile

# $FreeBSD$
PORTNAME= restic
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.0
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>