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

stromnov at macports.org stromnov at macports.org
Mon Sep 20 08:20:46 PDT 2010


Revision: 71694
          http://trac.macports.org/changeset/71694
Author:   stromnov at macports.org
Date:     2010-09-20 08:20:44 -0700 (Mon, 20 Sep 2010)
Log Message:
-----------
gearmand: declare dependencies and variants, ticket #24171

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

Modified: trunk/dports/sysutils/gearmand/Portfile
===================================================================
--- trunk/dports/sysutils/gearmand/Portfile	2010-09-20 15:01:18 UTC (rev 71693)
+++ trunk/dports/sysutils/gearmand/Portfile	2010-09-20 15:20:44 UTC (rev 71694)
@@ -5,7 +5,8 @@
 
 name                gearmand
 version             0.14
-categories          sysutils
+revision            1
+categories          sysutils net devel
 platforms           darwin
 
 description         Framework for distributed computation
@@ -18,7 +19,10 @@
         database replication events. In other words, it is the nervous system \
         for how distributed processing communicates.
 
-maintainers         medialize.de:rodney.rehm openmaintainer
+maintainers         medialize.de:rodney.rehm \
+                    andyfowler.com:andy \
+                    openmaintainer
+
 homepage            http://gearman.org/
 master_sites        https://launchpad.net/gearmand/trunk/${version}/+download/
 
@@ -26,12 +30,48 @@
                     sha1    11d1a3d530963861e53504582fc17c5184d249b8 \
                     rmd160  6b1c305fc830fac8d0eb6493016295bed609a9fe
 
-depends_lib         port:libevent
+depends_lib         port:libevent port:ossp-uuid port:sqlite3
 
 configure.args      --mandir=${prefix}/share/man \
                     --with-libevent-prefix=${prefix} \
-                    --enable-threads
+                    --disable-libdrizzle \
+                    --disable-libpq \
+                    --disable-libmemcached \
+                    --disable-libtokyocabinet
 
+variant dtrace description {Enable DTrace probes} {
+    configure.args-append   --enable-dtrace
+}
+
+variant no_sqlite description {Build without sqlite3 support} {
+    depends_lib-delete      port:sqlite3
+    configure.args-append   --disable-libsqlite3
+}
+
+variant drizzle description {Build with libdrizzle support} {
+    depends_lib-append      port:libdrizzle
+    configure.args-delete   --disable-libdrizzle
+    configure.args-append   --enable-libdrizzle
+}
+
+variant postgres description {Build with postgresql support} {
+    depends_lib-append      port:libpqxx
+    configure.args-delete   --disable-libpq
+    configure.args-append   --enable-libpq
+}
+
+variant memcached description {Build with memcached support} {
+    depends_lib-append      port:libmemcached
+    configure.args-delete   --disable-libmemcached
+    configure.args-append   --enable-libmemcached
+}
+
+variant tokyocabinet description {Build with tokyocabinet support} {
+    depends_lib-append      port:tokyocabinet
+    configure.args-delete   --disable-libtokyocabinet
+    configure.args-append   --enable-libtokyocabinet
+}
+
 startupitem.create  yes
 startupitem.executable  ${prefix}/sbin/gearmand -vv \
                         --port=4730 \
@@ -39,6 +79,6 @@
                         --pid-file=${prefix}/var/run/gearmand.pid \
                         --log-file=${prefix}/var/log/gearmand.log
 
-variant dtrace description (Enable DTrace probes) {
-    configure.args-append    --enable-dtrace
-}
+livecheck.type      regex
+livecheck.url       https://launchpad.net/${name}/+download
+livecheck.regex     {gearmand-(\d+(?:\.\d+)*).tar.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100920/5dc6642c/attachment.html>


More information about the macports-changes mailing list