Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2021 19:09:03 +0000 (UTC)
From:      Michael Gmelin <grembo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561370 - head/devel/arcanist-lib
Message-ID:  <202101121909.10CJ93os016488@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: grembo
Date: Tue Jan 12 19:09:03 2021
New Revision: 561370
URL: https://svnweb.freebsd.org/changeset/ports/561370

Log:
  Generate bash completion rules on install.
  
  So it won't have to be done by root manually/implicitly.
  
  PR:		252421
  Reported by:	0mp

Modified:
  head/devel/arcanist-lib/Makefile
  head/devel/arcanist-lib/pkg-plist

Modified: head/devel/arcanist-lib/Makefile
==============================================================================
--- head/devel/arcanist-lib/Makefile	Tue Jan 12 18:58:32 2021	(r561369)
+++ head/devel/arcanist-lib/Makefile	Tue Jan 12 19:09:03 2021	(r561370)
@@ -2,6 +2,7 @@
 
 PORTNAME?=	arcanist
 PORTVERSION?=	20201016
+PORTREVISION?=	1
 CATEGORIES?=	devel
 PKGNAMESUFFIX=	${SLAVE_PKGNAMESUFFIX}${PHP_PKGNAMESUFFIX}
 
@@ -84,6 +85,7 @@ do-install:
 		${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/workflow/ArcanistAnoidWorkflow.php
 	${RLN} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/support/shell/hooks/bash-completion.sh \
 		 ${STAGEDIR}${PREFIX}/share/bash-completion/completions/arc
+	${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/bin/arc shell-complete --generate
 .endif
 
 .include <bsd.port.mk>

Modified: head/devel/arcanist-lib/pkg-plist
==============================================================================
--- head/devel/arcanist-lib/pkg-plist	Tue Jan 12 18:58:32 2021	(r561369)
+++ head/devel/arcanist-lib/pkg-plist	Tue Jan 12 19:09:03 2021	(r561370)
@@ -1581,6 +1581,7 @@ lib/php/arcanist/support/lib/extract-symbols.php
 lib/php/arcanist/support/lib/rebuild-map.php
 lib/php/arcanist/support/shell/hooks/bash-completion.sh
 lib/php/arcanist/support/shell/rules/.keep
+lib/php/arcanist/support/shell/rules/bash-rules.sh
 lib/php/arcanist/support/shell/templates/bash-template.sh
 lib/php/arcanist/support/unit/cat.php
 lib/php/arcanist/support/unit/echo.php



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