[71018] trunk/dports/devel/bzr/Portfile
raimue at macports.org
raimue at macports.org
Sun Aug 29 17:17:33 PDT 2010
Revision: 71018
http://trac.macports.org/changeset/71018
Author: raimue at macports.org
Date: 2010-08-29 17:17:32 -0700 (Sun, 29 Aug 2010)
Log Message:
-----------
devel/bzr: Add +bash_completion variant
Modified Paths:
--------------
trunk/dports/devel/bzr/Portfile
Modified: trunk/dports/devel/bzr/Portfile
===================================================================
--- trunk/dports/devel/bzr/Portfile 2010-08-30 00:00:43 UTC (rev 71017)
+++ trunk/dports/devel/bzr/Portfile 2010-08-30 00:17:32 UTC (rev 71018)
@@ -50,6 +50,16 @@
${destroot}${prefix}/share/doc/${name}
}
+variant bash_completion {
+ depends_run-append port:bash-completion
+
+ post-destroot {
+ xinstall -d ${destroot}${prefix}/etc/bash_completion.d
+ xinstall -m 644 ${worksrcpath}/contrib/bash/bzr \
+ ${destroot}${prefix}/etc/bash_completion.d/bzr
+ }
+}
+
universal_variant no
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100829/56bc7bb9/attachment.html>
More information about the macports-changes
mailing list