[108143] trunk/dports/devel/mercurial/Portfile

sean at macports.org sean at macports.org
Sat Jul 13 22:58:34 PDT 2013


Revision: 108143
          https://trac.macports.org/changeset/108143
Author:   sean at macports.org
Date:     2013-07-13 22:58:34 -0700 (Sat, 13 Jul 2013)
Log Message:
-----------
mercurial{,-devel}: create symlink for bash completion; fixes #39488

Modified Paths:
--------------
    trunk/dports/devel/mercurial/Portfile

Modified: trunk/dports/devel/mercurial/Portfile
===================================================================
--- trunk/dports/devel/mercurial/Portfile	2013-07-13 23:09:59 UTC (rev 108142)
+++ trunk/dports/devel/mercurial/Portfile	2013-07-14 05:58:34 UTC (rev 108143)
@@ -6,6 +6,7 @@
 PortGroup           bitbucket 1.0
 
 bitbucket.setup     mirror mercurial 2.6.3
+revision            1
 categories          devel python
 license             GPL-2+
 maintainers         deric sean openmaintainer
@@ -40,7 +41,7 @@
     bitbucket.setup     mirror mercurial-crew 77440de177f7
     name                mercurial-devel
     version             2.6.99
-    revision            2
+    revision            3
 
     conflicts           mercurial
     checksums           rmd160  8324414262bf301310d3f00ae9a1d1961bf43aaf \
@@ -70,9 +71,10 @@
     file copy ${worksrcpath}/contrib/hgk ${destroot}${prefix}/bin/hgk
 
     if {[variant_isset bash_completion]} {
-        set completions_path ${destroot}${prefix}/share/bash-completion/completions
-        xinstall -d ${completions_path}
-        xinstall -m 644 ${worksrcpath}/contrib/bash_completion ${completions_path}/mercurial
+        set completions_path ${prefix}/share/bash-completion/completions
+        xinstall -d ${destroot}${completions_path}
+        xinstall -m 644 ${worksrcpath}/contrib/bash_completion ${destroot}${completions_path}/mercurial
+        ln -s ${completions_path}/mercurial ${destroot}${completions_path}/hg
     }
 
     if {[variant_isset zsh_completion]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130713/91cc2771/attachment.html>


More information about the macports-changes mailing list