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

ryandesign at macports.org ryandesign at macports.org
Thu Feb 9 13:16:08 PST 2012


Revision: 89758
          http://trac.macports.org/changeset/89758
Author:   ryandesign at macports.org
Date:     2012-02-09 13:16:07 -0800 (Thu, 09 Feb 2012)
Log Message:
-----------
hub: update to 1.8.2; use github portgroup; use notes; use rake build; see #33199

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

Modified: trunk/dports/devel/hub/Portfile
===================================================================
--- trunk/dports/devel/hub/Portfile	2012-02-09 20:10:26 UTC (rev 89757)
+++ trunk/dports/devel/hub/Portfile	2012-02-09 21:16:07 UTC (rev 89758)
@@ -2,10 +2,9 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 
-name                hub
-version             1.8.1
-revision            1
+github.setup        defunkt hub 1.8.2 v
 description         git-wrapper for GitHub specific functionality
 long_description    hub is a command line utility which adds GitHub knowledge to git.\
                     It can be used on its own or as a git wrapper.
@@ -13,33 +12,28 @@
 categories          devel
 license             MIT
 platforms           darwin
+supported_archs     noarch
+
 homepage            http://defunkt.io/hub/
-master_sites        https://github.com/defunkt/hub/tarball/v${version}
-distfiles           v${version}
-distname            hub
 
-checksums           rmd160  80f2d68c117a79dbfc6df03554cab3f5b4cf9ece \
-                    sha256  54dff4788ff16566f79753225a750cf952abef62d1f0227ed063327fd8636252
+checksums           rmd160  34c6ef940b3d8dc7772e7ea186a568c957a6cd23 \
+                    sha256  fb788e7919981098a4f602023cb8593ab0cfb61d93a384a2746d0db110387c46
 
-extract {
-    xinstall ${distpath}/standalone  ${workpath}
-    file rename ${workpath}/standalone ${workpath}/hub
+depends_build       bin:rake:rb-rake
 
-}
+depends_lib         port:git-core
+
 use_configure       no
-build       {}
-destroot    {
-            xinstall ${worksrcpath} ${destroot}${prefix}/bin
-            notes "############################################################################
-# To use 'hub' as a true git wrapper
-# add the following line to your .bashrc
-#
-# alias git=hub
-#
-# or use 'hub' as standalone command
-############################################################################"
-            }
 
-livecheck.type      regex
-livecheck.regex     "VERSION = \'(\\d+(?:\\.\\d+)*)\'"
-livecheck.url       "https://raw.github.com/defunkt/hub/master/lib/hub/version.rb"
+build {}
+
+destroot.cmd        rake
+destroot.args       prefix=${destroot}${prefix}
+
+notes "
+To use 'hub' as a true git wrapper add the following line to your .bashrc
+
+alias git=hub
+
+or use 'hub' as standalone command
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120209/caaebee2/attachment.html>


More information about the macports-changes mailing list