1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name gearmand |
---|
6 | version 0.12 |
---|
7 | description Gearman provides a generic application framework \ |
---|
8 | to farm out work to other machines or processes \ |
---|
9 | that are better suited to do the work. It allows \ |
---|
10 | you to do work in parallel, to load balance \ |
---|
11 | processing, and to call functions between languages. \ |
---|
12 | It can be used in a variety of applications, from \ |
---|
13 | high-availability web sites to the transport of \ |
---|
14 | database replication events. In other words, it \ |
---|
15 | is the nervous system for how distributed \ |
---|
16 | processing communicates. |
---|
17 | maintainers rodney.rehm@medialize.de openmaintainer |
---|
18 | categories sysutils |
---|
19 | platforms darwin |
---|
20 | homepage http://gearman.org/ |
---|
21 | master_sites https://launchpad.net/gearmand/trunk/${version}/+download/ |
---|
22 | |
---|
23 | checksums md5 6e88a6bfb26e50d5aed37d143184e7f2 |
---|
24 | |
---|
25 | distname gearmand-${version} |
---|
26 | extract.suffix .tar.gz |
---|
27 | |
---|
28 | configure.args --mandir=${prefix}/share/man \ |
---|
29 | --with-libevent-prefix=${prefix} \ |
---|
30 | --enable-threads |
---|
31 | depends_lib port:libevent |
---|
32 | |
---|
33 | startupitem.create yes |
---|
34 | startupitem.name gearmand |
---|
35 | startupitem.start "${prefix}/sbin/gearmand -vv --port=4730 -u root --pid-file=${prefix}/var/run/gearmand.pid --log-file=${prefix}/var/log/gearmand.log" |
---|
36 | startupitem.stop "/usr/bin/killall gearmand" |
---|
37 | |
---|
38 | variant dtrace description (Enable DTrace probes) { |
---|
39 | configure.args-append --enable-dtrace |
---|
40 | } |
---|
41 | |
---|
42 | variant threads description (support multithreaded execution) { |
---|
43 | configure.args-append --enable-threads |
---|
44 | } |
---|