Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2018 06:49:02 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r471250 - head/sysutils/restic
Message-ID:  <201806010649.w516n2Sc016792@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@gmail.com [1]
  Approved by:	gregf@hugops.pw (maintainer)
  Submitted by:	w.schwarzenfeld@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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806010649.w516n2Sc016792>