diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2018-07-19 16:17:47 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2018-07-19 16:17:47 +0000 |
commit | e0d2503def729f3bbf39f0e51a47c3739cce25cd (patch) | |
tree | a8543c7e4523f72936e13b0b46f9e57d2ae30407 | |
parent | Add new port sysutils/lxqt-policykit (diff) |
Enable Bash completion.
Arcanist is shipped with a Bash completion script. The script isn't installed
in the directories of the bash-completion library so it's never activated.
This patch creates a symbolic link to the script in the directories of the
bash-completion library so that the library is able to pick up the completion
script for arc when a user requests a command completion for the first time.
Reviewed by: grembo (maintainer), mat (mentor)
Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D16345
Notes
Notes:
svn path=/head/; revision=474969
-rw-r--r-- | devel/arcanist/Makefile | 3 | ||||
-rw-r--r-- | devel/arcanist/pkg-plist | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/devel/arcanist/Makefile b/devel/arcanist/Makefile index ddb859ecfe58..fe986a20dbf7 100644 --- a/devel/arcanist/Makefile +++ b/devel/arcanist/Makefile @@ -2,6 +2,7 @@ PORTNAME= arcanist PORTVERSION= 20180420 +PORTREVISION= 1 CATEGORIES= devel PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} @@ -34,5 +35,7 @@ do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR} cd ${WRKSRC} ; ${PAX} -rw * ${STAGEDIR}${PREFIX}/${PHP_DESTDIR} ${LN} -sf ../${PHP_DESTDIR}/scripts/arcanist.php ${STAGEDIR}${PREFIX}/bin/arc + @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ + ${RLN} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/resources/shell/bash-completion ${STAGEDIR}${PREFIX}/share/bash-completion/completions/arc .include <bsd.port.mk> diff --git a/devel/arcanist/pkg-plist b/devel/arcanist/pkg-plist index 2cb777192d25..c42a2ff9e4bb 100644 --- a/devel/arcanist/pkg-plist +++ b/devel/arcanist/pkg-plist @@ -921,3 +921,4 @@ lib/php/arcanist/src/workflow/ArcanistWhichWorkflow.php lib/php/arcanist/src/workflow/ArcanistWorkflow.php lib/php/arcanist/src/workflow/exception/ArcanistCapabilityNotSupportedException.php lib/php/arcanist/src/workingcopyidentity/ArcanistWorkingCopyIdentity.php +share/bash-completion/completions/arc |