# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup gearman gearmand 1.1.18
categories sysutils net devel
description Framework for distributed computation
Gearman provides a generic application framework to farm out work \
to other machines or processes that are better suited to do the work. \
It allows you to do work in parallel, to load balance processing, \
and to call functions between languages. It can be used in a variety \
of applications, from high-availability web sites to the transport of \
database replication events. In other words, it is the nervous system \
for how distributed processing communicates.
homepage http://gearman.org/
github.tarball_from releases
checksums rmd160 2bbe1042932dd763fcc68f4c8e6227d6a53be7e0 \
sha256 d789fa24996075a64c5af5fd2adef10b13f77d71f7d44edd68db482b349c962c
depends_build port:pkgconfig
path:lib/libssl.dylib:openssl
if {${configure.cxx_stdlib} eq "libstdc++"} {
patchfiles-append patch-libgearman-1.0-gearman.h.diff
configure.args --disable-silent-rules \
--disable-libtokyocabinet \
--enable-jobserver=${build.jobs} \
# gearmand handles parallel building using the --enable-jobserver arg above.
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} \
configure.cxxflags-append -DHAVE_HTONLL
variant dtrace description {Enable DTrace probes} {
configure.args-append --enable-dtrace
variant sqlite description {Build with sqlite3 support} {
depends_lib-append port:sqlite3
configure.args-delete --without-sqlite3
variant drizzle description {Build with libdrizzle support} {
depends_lib-append port:libdrizzle
configure.args-replace --disable-libdrizzle --enable-libdrizzle
variant postgres description {Build with postgresql support} {
depends_lib-append port:libpqxx
configure.args-replace --disable-libpq --enable-libpq