[98698] trunk/dports/sysutils/gearmand/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Oct 13 02:53:14 PDT 2012


Revision: 98698
          http://trac.macports.org//changeset/98698
Author:   ryandesign at macports.org
Date:     2012-10-13 02:53:13 -0700 (Sat, 13 Oct 2012)
Log Message:
-----------
gearmand: update to 0.41; install doc files; fix livecheck; use the correct number of parallel jobs; remove ossp-uuid dependency which doesn't appear to be used anymore

Modified Paths:
--------------
    trunk/dports/sysutils/gearmand/Portfile

Modified: trunk/dports/sysutils/gearmand/Portfile
===================================================================
--- trunk/dports/sysutils/gearmand/Portfile	2012-10-13 09:19:31 UTC (rev 98697)
+++ trunk/dports/sysutils/gearmand/Portfile	2012-10-13 09:53:13 UTC (rev 98698)
@@ -4,8 +4,8 @@
 PortSystem          1.0
 
 name                gearmand
-version             0.34
-revision            1
+version             0.41
+set branch          1.0
 categories          sysutils net devel
 platforms           darwin
 license             BSD
@@ -25,21 +25,39 @@
                     openmaintainer
 
 homepage            http://gearman.org/
-master_sites        https://launchpad.net/gearmand/trunk/${version}/+download/
+master_sites        https://launchpad.net/gearmand/${branch}/${version}/+download/
 
-checksums           rmd160  d5cf8b68d64b8095c695daa0a3d2248df7b888a3 \
-                    sha256  968d701233f2376060274a69fa7c1b8e99f34b454a401805a2bd62067c13bca1
+checksums           rmd160  f657d9ab210099e30077c529cc98fca6881ab64a \
+                    sha256  eda6bc1f66a8f8d66394744b31ea975bd55f7ef2dfcc3698d7f9835a06ceb875
 
-depends_lib         port:boost port:libevent port:ossp-uuid
+depends_lib         port:boost \
+                    port:libevent
 
 configure.args      --disable-silent-rules \
                     --disable-libdrizzle \
                     --disable-libpq \
                     --disable-libmemcached \
                     --disable-libtokyocabinet \
+                    --enable-jobserver=${build.jobs} \
                     --without-mysql \
                     --without-sqlite3
 
+# gearmand handles parallel building using the --enable-jobserver arg above.
+use_parallel_build  no
+
+post-destroot {
+    set docdir ${prefix}/share/doc/${subport}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 -W ${worksrcpath} \
+        AUTHORS \
+        COPYING \
+        ChangeLog \
+        HACKING \
+        README \
+        THANKS \
+        ${destroot}${docdir}
+}
+
 variant dtrace description {Enable DTrace probes} {
     configure.args-append   --enable-dtrace
 }
@@ -86,6 +104,6 @@
                         --pid-file=${prefix}/var/run/gearmand.pid \
                         --log-file=${prefix}/var/log/gearmand.log
 
-livecheck.type      regex
+livecheck.type      regexm
 livecheck.url       https://launchpad.net/${name}/+download
-livecheck.regex     {gearmand-(\d+(?:\.\d+)*).tar.gz}
+livecheck.regex     (\[0-9.\]+) release</a>\\s+from the\\s+<a href="/gearmand/${branch}">${branch}</a> series
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121013/9a59b1fe/attachment.html>


More information about the macports-changes mailing list