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

deric at macports.org deric at macports.org
Sun Jun 2 06:37:42 PDT 2013


Revision: 106626
          https://trac.macports.org/changeset/106626
Author:   deric at macports.org
Date:     2013-06-02 06:37:42 -0700 (Sun, 02 Jun 2013)
Log Message:
-----------
mercurial: update to 2.6.2, install bash-completions in new dir (#39314).

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

Modified: trunk/dports/devel/mercurial/Portfile
===================================================================
--- trunk/dports/devel/mercurial/Portfile	2013-06-02 09:57:34 UTC (rev 106625)
+++ trunk/dports/devel/mercurial/Portfile	2013-06-02 13:37:42 UTC (rev 106626)
@@ -5,7 +5,7 @@
 PortGroup           python 1.0
 PortGroup           bitbucket 1.0
 
-bitbucket.setup     mirror mercurial 2.6.1
+bitbucket.setup     mirror mercurial 2.6.2
 categories          devel python
 license             GPL-2+
 maintainers         deric sean
@@ -26,8 +26,8 @@
 
 homepage            http://www.selenic.com/mercurial/
 platforms           darwin
-checksums           rmd160  84fd8b49cd776952f25891650cf23881fe9c5db8 \
-                    sha256  099994afc109bc2c1a05bdd7e7ee9a6cba2d31172f045fcae5ef047e37835dc6
+checksums           rmd160  40dea321aee1cfd346888db9ba8dde9749e39fc5 \
+                    sha256  ec549bf3302bc1e80fa7dc698331c17729677672870653186dd0e5f938105df8
 depends_run         port:curl-ca-bundle
 
 patchfiles          patch-setup.py.diff
@@ -70,8 +70,9 @@
     file copy ${worksrcpath}/contrib/hgk ${destroot}${prefix}/bin/hgk
 
     if {[variant_isset bash_completion]} {
-        xinstall -d ${destroot}${prefix}/etc/bash_completion.d
-        copy ${worksrcpath}/contrib/bash_completion ${destroot}${prefix}/etc/bash_completion.d/mercurial
+        set completions_path ${destroot}${prefix}/share/bash-completion/completions 
+        xinstall -d ${completions_path} 
+        xinstall -m 644 ${worksrcpath}/contrib/bash_completion ${completions_path}/mercurial
     }
 
     if {[variant_isset zsh_completion]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130602/3e3a595b/attachment-0001.html>


More information about the macports-changes mailing list