Ticket #24158: Portfile

File Portfile, 1.8 KB (added by rodney.rehm@…, 14 years ago)

sysutils/gearmand/Portfile

Line 
1# $Id$
2
3PortSystem 1.0
4
5name                    gearmand
6version                 0.12
7description             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.
17maintainers             rodney.rehm@medialize.de openmaintainer
18categories              sysutils
19platforms               darwin
20homepage                http://gearman.org/
21master_sites            https://launchpad.net/gearmand/trunk/${version}/+download/
22
23checksums               md5  6e88a6bfb26e50d5aed37d143184e7f2
24
25distname                gearmand-${version}
26extract.suffix          .tar.gz
27
28configure.args          --mandir=${prefix}/share/man \
29    --with-libevent-prefix=${prefix} \
30    --enable-threads
31depends_lib             port:libevent
32
33startupitem.create      yes
34startupitem.name        gearmand
35startupitem.start       "${prefix}/sbin/gearmand -vv --port=4730 -u root --pid-file=${prefix}/var/run/gearmand.pid --log-file=${prefix}/var/log/gearmand.log"
36startupitem.stop        "/usr/bin/killall gearmand"
37
38variant dtrace description (Enable DTrace probes) {
39    configure.args-append    --enable-dtrace
40}
41
42variant threads description (support multithreaded execution) {
43    configure.args-append    --enable-threads
44}