source: trunk/dports/sysutils/memcached/Portfile @ 60353

Last change on this file since 60353 was 60353, checked in by brett@…, 10 years ago

fix memcached port dependencies

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 60353 2009-11-09 22:53:19Z brett@macports.org $
3
4PortSystem 1.0
5
6name                    memcached
7version                 1.4.3
8description             A high performance, distributed memory object caching system.
9long_description        Memcached is a high-performance, distributed memory object \
10    caching system, generic in nature, but intended for use in \
11    speeding up dynamic web applications by alleviating database load.
12maintainers             brett
13categories              sysutils
14platforms               darwin
15homepage                http://www.danga.com/memcached/
16master_sites            googlecode:memcached
17checksums               md5 83c6cc6bad9612536b5acbbbddab3eb3 \
18    sha1 d442ed2429b655cb639fec2cfb3e0461bdeecddf
19configure.args          --mandir=${prefix}/share/man \
20    --with-libevent=${prefix}
21depends_lib             port:libevent
22
23startupitem.create      yes
24startupitem.name        memcached
25startupitem.start       "${prefix}/bin/memcached -u nobody -m 64 -c 10240 -p 11211 -d"
26startupitem.stop        "/usr/bin/killall memcached"
27
28pre-configure {
29    if {[info exists build_arch] && (${build_arch} == "x86_64" || $build_arch == "ppc64")} {
30                configure.args-append --enable-64bit
31    }
32}
33
34configure.args          ac_cv_search_umem_cache_create=no \
35                        ac_cv_header_umem_h=no
36
37variant sasl description {enable SASL authentication} {
38    configure.args-append   --enable-sasl
39}
40
41variant umem description {enable libumem support} {
42    depends_lib-append     port:umem
43    configure.args-delete  ac_cv_search_umem_cache_create=no
44    configure.args-delete  ac_cv_header_umem_h=no
45}
46
47livecheck.type  regex
48livecheck.url   ${homepage}download.bml
49livecheck.regex ${name}-(\\d+(?:\\.\\d+){2,})\\.
Note: See TracBrowser for help on using the repository browser.