Ticket #23502: Portfile

File Portfile, 1.4 KB (added by andy@…, 15 years ago)

gearmand Portfile

Line 
1# $Id$
2
3PortSystem          1.0
4
5name                gearmand
6version             0.11
7categories          devel
8maintainers         andyfowler.com:andy
9description         A gearman server in C
10long_description \
11   Gearman is a job server, worker and client architecture. This \
12   port contains the C server, gearmand, and the gearman CLI tool.\
13
14platforms           darwin
15
16homepage            http://gearman.org/
17master_sites        https://launchpad.net/gearmand/trunk/${version}/+download/
18
19checksums           md5     62da8118c76d29d07bf5e54099e11dbb \
20                    sha1    6b3d7fdb3d2d19a1cafa82efa0a443df190fb5db \
21                    rmd160  d5d79c9153fa496f690875b8572c825c826ba7cd
22
23depends_lib         port:libevent port:sqlite3 port:libmemcached
24
25configure.args      --disable-libdrizzle --disable-libpq
26
27variant no_sqlite description {Build without sqlite3 support} {
28    depends_lib-delete      port:sqlite3
29        configure.args-append   --disable-libsqlite3
30}
31
32variant no_memcached description {Build without memcached support} {
33    depends_lib-delete      port:libmemcached
34        configure.args-append   --disable-libmemcached
35}
36
37variant postgres description {Build without postgresql support} {
38    depends_lib-append      port:libpqxx
39        configure.args-delete   --disable-libpq
40        configure.args-append   --enable-libpq
41}
42
43livecheck.type    regex
44livecheck.url     https://launchpad.net/gearmand/+download
45livecheck.regex   {gearmand-(\d+(?:\.\d+)*).tar.gz}