svn commit: r471250 - head/sysutils/restic
Tobias Kortkamp
tobik at FreeBSD.org
Fri Jun 1 06:49:02 UTC 2018
Author: tobik
Date: Fri Jun 1 06:49:01 2018
New Revision: 471250
URL: https://svnweb.freebsd.org/changeset/ports/471250
Log:
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 at gmail.com [1]
Approved by: gregf at hugops.pw (maintainer)
Submitted by: w.schwarzenfeld at utanet.at
Modified:
head/sysutils/restic/Makefile
Modified: head/sysutils/restic/Makefile
==============================================================================
--- head/sysutils/restic/Makefile Fri Jun 1 01:11:37 2018 (r471249)
+++ head/sysutils/restic/Makefile Fri Jun 1 06:49:01 2018 (r471250)
@@ -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}
More information about the svn-ports-all
mailing list