aboutsummaryrefslogtreecommitdiff
path: root/sysutils/restic
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-06-01 06:49:01 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-06-01 06:49:01 +0000
commit506b58623020969d6631fa91ea3bb8025682d1d5 (patch)
treef4f20a1b46fb6cd102d1cd76399d93344204888e /sysutils/restic
parentf76f9f534d874a1ae4c23498b924b47d2dcda545 (diff)
downloadports-506b58623020969d6631fa91ea3bb8025682d1d5.tar.gz
ports-506b58623020969d6631fa91ea3bb8025682d1d5.zip
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
Notes
Notes: svn path=/head/; revision=471250
Diffstat (limited to 'sysutils/restic')
-rw-r--r--sysutils/restic/Makefile8
1 files changed, 0 insertions, 8 deletions
diff --git a/sysutils/restic/Makefile b/sysutils/restic/Makefile
index 852bee034747..3a7d91d469ab 100644
--- a/sysutils/restic/Makefile
+++ b/sysutils/restic/Makefile
@@ -17,21 +17,13 @@ USE_GITHUB= yes
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
GO_TARGET= ${GO_PKGNAME}/cmd/${PORTNAME}
-OPTIONS_SUB= yes
PLIST_SUB= PORTNAME=${PORTNAME}
-OPTIONS_DEFINE= BASH ZSH
-OPTIONS_DEFAULT= BASH ZSH
-
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/man/* ${STAGEDIR}${MANPREFIX}/man/man1
-
-post-install-BASH-on:
${INSTALL} -d ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
${INSTALL_SCRIPT} ${WRKSRC}/doc/bash-completion.sh \
${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME}.sh
-
-post-install-ZSH-on:
${INSTALL} -d ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
${INSTALL_DATA} ${WRKSRC}/doc/zsh-completion.zsh \
${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME}