[146911] trunk/dports/devel/cargo/Portfile
raimue at macports.org
raimue at macports.org
Sun Mar 20 10:52:55 PDT 2016
Revision: 146911
https://trac.macports.org/changeset/146911
Author: raimue at macports.org
Date: 2016-03-20 10:52:54 -0700 (Sun, 20 Mar 2016)
Log Message:
-----------
devel/cargo:
Move bash-completion file to new location for on-demand loading
Modified Paths:
--------------
trunk/dports/devel/cargo/Portfile
Modified: trunk/dports/devel/cargo/Portfile
===================================================================
--- trunk/dports/devel/cargo/Portfile 2016-03-20 17:33:34 UTC (rev 146910)
+++ trunk/dports/devel/cargo/Portfile 2016-03-20 17:52:54 UTC (rev 146911)
@@ -5,6 +5,7 @@
PortGroup github 1.0
github.setup rust-lang cargo 0.9.0
+revision 1
categories devel
platforms darwin
@@ -52,4 +53,8 @@
file delete ${destroot}${prefix}/lib/rustlib/install.log
file delete ${destroot}${prefix}/lib/rustlib/uninstall.sh
file delete ${destroot}${prefix}/lib/rustlib/rust-installer-version
+
+ # move bash-completion file to new location for on-demand loading
+ xinstall -d -m 0755 ${destroot}${prefix}/share/bash-completion/completions
+ move ${destroot}${prefix}/etc/bash_completion.d/cargo ${destroot}${prefix}/share/bash-completion/completions/cargo
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160320/a133a264/attachment.html>
More information about the macports-changes
mailing list