svn commit: r561370 - head/devel/arcanist-lib
Michael Gmelin
grembo at FreeBSD.org
Tue Jan 12 19:09:04 UTC 2021
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
More information about the svn-ports-all
mailing list