[134311] trunk/dports/devel/hub/Portfile

ionic at macports.org ionic at macports.org
Sat Mar 21 17:15:49 PDT 2015


Revision: 134311
          https://trac.macports.org/changeset/134311
Author:   ionic at macports.org
Date:     2015-03-21 17:15:49 -0700 (Sat, 21 Mar 2015)
Log Message:
-----------
hub: update to 2.2.0. Use go for building. Destroot manually. Patch maintainer-provided. Fixes: #47224.

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

Modified: trunk/dports/devel/hub/Portfile
===================================================================
--- trunk/dports/devel/hub/Portfile	2015-03-22 00:00:15 UTC (rev 134310)
+++ trunk/dports/devel/hub/Portfile	2015-03-22 00:15:49 UTC (rev 134311)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 PortGroup           github 1.0
 
-github.setup        github hub 1.12.4 v
+github.setup        github hub 2.2.0 v
 revision            0
 categories          devel
 platforms           darwin
@@ -19,33 +19,34 @@
 
 homepage            http://defunkt.io/hub/
 
-checksums           rmd160  32aae29c3abd45185dcab72bd055300ac6c9bc0b \
-                    sha256  54da3c0a3cd0f1e4c36942150ce2bca033adfbc0544d0fc06fa107c515b47555
+checksums           rmd160  6be45d60ef775c7833214427dc3723cde2fc9528 \
+                    sha256  cd1fb034c7793fd0f4fe1419eb253602accf0f9c051544112cc5d6fa6b449f26
 
-depends_build       bin:rake:rb-rake
+build.cmd           ./script/build
+build.target        {}
 
-depends_lib         port:git
+depends_build       port:go
 
+depends_lib         port:git \
+                    port:go
+
 use_configure       no
 
-# Stealth update; remove this with the next version update
-dist_subdir         ${name}/${version}_1
+installs_libs       no
 
-build {}
-
-destroot.cmd        rake
 destroot.args       prefix=${prefix}
-post-destroot {
+destroot {
+    xinstall -W ${worksrcpath} -m 0755 hub ${destroot}${prefix}/bin
     set bash-completions ${destroot}${prefix}/share/bash-completion/completions
     xinstall -d ${bash-completions}
-    xinstall ${worksrcpath}/etc/hub.bash_completion.sh ${bash-completions}/hub
+    xinstall -W ${worksrcpath} etc/hub.bash_completion.sh ${bash-completions}/hub
     set site-functions ${destroot}${prefix}/share/zsh/site-functions
     xinstall -d ${site-functions}
-    xinstall ${worksrcpath}/etc/hub.zsh_completion ${site-functions}/
+    xinstall -W ${worksrcpath} etc/hub.zsh_completion ${site-functions}/
 }
 
 notes "
-To use 'hub' as a true git wrapper add the following line to your .bashrc
+To use 'hub' as a true git wrapper add the following line to your .zshrc or .bashrc
 
 alias git=hub
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150321/6711b08c/attachment.html>


More information about the macports-changes mailing list