<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[149416] trunk/dports/devel/zmq</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/149416">149416</a></dd>
<dt>Author</dt> <dd>michaelld@macports.org</dd>
<dt>Date</dt> <dd>2016-06-18 10:29:21 -0700 (Sat, 18 Jun 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>zmq*:
+ update Portfile to use github PortGroup;
+ add devel at commit e8116b1f (20160617);
+ remove now-unnecessary patch.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsdevelzmqPortfile">trunk/dports/devel/zmq/Portfile</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportsdevelzmqfilesyosemitelibtoolpatch">trunk/dports/devel/zmq/files/yosemite-libtool.patch</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsdevelzmqPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/devel/zmq/Portfile (149415 => 149416)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/zmq/Portfile        2016-06-18 17:21:37 UTC (rev 149415)
+++ trunk/dports/devel/zmq/Portfile        2016-06-18 17:29:21 UTC (rev 149416)
</span><span class="lines">@@ -2,12 +2,9 @@
</span><span class="cx"> # $Id$
</span><span class="cx"> 
</span><span class="cx"> PortSystem          1.0
</span><ins>+PortGroup           github 1.0
</ins><span class="cx"> 
</span><span class="cx"> name                zmq
</span><del>-version             4.1.5
-set major           [lindex [split ${version} '.'] 0]
-set minor           [lindex [split ${version} '.'] 1]
-revision            0
</del><span class="cx"> categories          devel sysutils net
</span><span class="cx"> platforms           darwin
</span><span class="cx"> license             LGPL-3+
</span><span class="lines">@@ -17,77 +14,77 @@
</span><span class="cx"> description         0MQ (ZeroMQ) lightweight messaging kernel
</span><span class="cx"> 
</span><span class="cx"> long_description    \
</span><del>-    The 0MQ lightweight messaging kernel is a library which extends the \
</del><ins>+    The ${description} is a library which extends the \
</ins><span class="cx">     standard socket interfaces with features traditionally provided by \
</span><span class="cx">     specialised messaging middleware products. 0MQ sockets provide an \
</span><span class="cx">     abstraction of asynchronous message queues, multiple messaging patterns, \
</span><span class="cx">     message filtering (subscriptions), seamless access to multiple transport \
</span><span class="cx">     protocols and more.
</span><span class="cx"> 
</span><del>-homepage            http://www.zeromq.org/
-master_sites        http://download.zeromq.org/ \
-                    https://github.com/zeromq/zeromq${major}-${minor}/releases/download/v${version}/
</del><ins>+if {${name} eq ${subport}} {
+    github.setup        zeromq zeromq4-1 4.1.5 v
+    checksums       \
+        rmd160 952683a27697b8ccc9fca3d0766a2b6c76a837ae \
+        sha256 226e7d31d3ef2df6b5da86c3ec6f97a379aac1200a8ebb2ce82d481d40cb64bc
</ins><span class="cx"> 
</span><del>-distname            zeromq-${version}
</del><ins>+    conflicts           zmq-devel zmq22 zmq3
</ins><span class="cx"> 
</span><del>-checksums           rmd160  32154414256dabda477cc7e298097819f6c4c6ac \
-                    sha256  04aac57f081ffa3a2ee5ed04887be9e205df3a7ddade0027460b8042432bdbcf
</del><ins>+    depends_lib-append  port:libsodium
</ins><span class="cx"> 
</span><del>-conflicts           zmq-devel zmq22 zmq3
</del><ins>+    # special livecheck, because zmq keeps different repos for new
+    # versions; check the homepage instead
</ins><span class="cx"> 
</span><ins>+    homepage            http://www.zeromq.org/
+    livecheck.type      regex
+    livecheck.url       ${homepage}intro:get-the-software
+    livecheck.regex     Current Stable Release (\[0-9.\]+)
+}
+
</ins><span class="cx"> # Legacy subport (no longer supported)
</span><span class="cx"> subport zmq3 {
</span><del>-    version             3.2.5
-    revision            0
</del><ins>+    github.setup        zeromq zeromq3-x 3.2.5 v
</ins><span class="cx"> 
</span><del>-    distname            zeromq-${version}
</del><ins>+    checksums           rmd160 959e1403e4c8e36603711c9cf3bb5ff5cd5727aa \
+                        sha256 3ba8fbdee4845e26f25f3d1d43492bc182077338f4e857fa50a06e1b21bade7f
</ins><span class="cx"> 
</span><del>-    checksums           rmd160  8f4633aff59b3cd8c2c8074ba92a6a9570e98fd4 \
-                        sha256  09653e56a466683edb2f87ee025c4de55b8740df69481b9d7da98748f0c92124
-
</del><span class="cx">     conflicts           zmq zmq-devel zmq22
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> # Legacy subport (as a dependency for py5-zeromq)
</span><span class="cx"> subport zmq22 {
</span><del>-    version             2.2.0
</del><ins>+    github.setup        zeromq zeromq2-x 2.2.0 v
</ins><span class="cx">     revision            1
</span><ins>+    checksums           rmd160 5bf0cfe29e26348dc4c201764d099a8117c43735 \
+                        sha256 e021b62c6be211b5a1ac4b9e038068e0a8caaf81c22ee050183b25e991825e05
</ins><span class="cx"> 
</span><del>-    distname            zeromq-${version}
-
-    checksums           rmd160 63c6ca84c292a72ffb0e18f1a97a6fa744a6be7c \
-                        sha256 43904aeb9ea6844f72ca02e4e53bf1d481a1a0264e64979da761464e88604637
-
</del><span class="cx">     conflicts           zmq zmq-devel zmq3
</span><del>-
-    patchfiles-append   yosemite-libtool.patch
</del><span class="cx"> }
</span><span class="cx"> 
</span><del>-# Transition from zmq-devel to zmq (since 14 Aug 2015)
</del><span class="cx"> subport zmq-devel {
</span><del>-    replaced_by         zmq
</del><ins>+    github.setup        zeromq zeromq4-1 e8116b1f1ce90bb98d327833548b364c24b80365
+    checksums           rmd160 734b6170015be9c69e39bc2d0228395f683096c6 \
+                        sha256 09382b2a5e3d786f2fbe925cc982bb5914770ae663cc7b7efbd9d128f7ed4533
</ins><span class="cx"> 
</span><del>-    PortGroup           obsolete 1.0
</del><ins>+    depends_lib-append  port:libsodium
</ins><span class="cx"> 
</span><span class="cx">     conflicts           zmq zmq22 zmq3
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-if {${subport} eq ${name}} {
-    depends_lib-append  port:libsodium
-}
</del><ins>+# override github information
</ins><span class="cx"> 
</span><del>-distname            zeromq-${version}
-worksrcdir          zeromq-[strsed ${version} {g/[^0-9.].*$//}]
</del><ins>+homepage            http://www.zeromq.org/
</ins><span class="cx"> 
</span><ins>+# common directory for storing downloaded tarballs
+
+dist_subdir         zmq
+
+# use autoconf
+
+use_autoconf        yes
+autoconf.cmd        ./autogen.sh
+
</ins><span class="cx"> # macports libtool allows linking against libc++,
</span><span class="cx"> # the libtool in the distribution does not
</span><ins>+
</ins><span class="cx"> depends_build       port:libtool port:pkgconfig
</span><span class="cx"> build.args          LIBTOOL=${prefix}/bin/glibtool
</span><del>-
-if {${subport} eq ${name}} {
-    livecheck.type      regex
-    livecheck.url       ${homepage}area:download
-    livecheck.regex     zeromq-(\[0-9.\]+)${extract.suffix}
-} else {
-    livecheck.type      none
-}
</del></span></pre></div>
<a id="trunkdportsdevelzmqfilesyosemitelibtoolpatch"></a>
<div class="delfile"><h4>Deleted: trunk/dports/devel/zmq/files/yosemite-libtool.patch (149415 => 149416)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/zmq/files/yosemite-libtool.patch        2016-06-18 17:21:37 UTC (rev 149415)
+++ trunk/dports/devel/zmq/files/yosemite-libtool.patch        2016-06-18 17:29:21 UTC (rev 149416)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
-
-Index: configure
-===================================================================
---- configure.orig
-+++ configure
-@@ -10879,7 +10879,7 @@ $as_echo &quot;$lt_cv_ld_force_load&quot; &gt;&amp;6; }
-       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
-         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
-           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
--        10.[012]*)
-+        10.[012][,.]*)
-           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
-         10.*)
-           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
</del></span></pre>
</div>
</div>

</body>
</html>