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

Last change on this file since 94572 was 94572, checked in by ryandesign@…, 7 years ago

remove brett as maintainer (#34718)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 94572 2012-06-22 23:50:47Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup               muniversal 1.0
6
7name                    memcached
8version                 1.4.13
9description             A high performance, distributed memory object caching system.
10long_description        Memcached is a high-performance, distributed memory object \
11    caching system, generic in nature, but intended for use in \
12    speeding up dynamic web applications by alleviating database load.
13maintainers             nomaintainer
14license                 BSD
15categories              sysutils
16platforms               darwin
17installs_libs           no
18
19homepage                http://memcached.org/
20master_sites            googlecode
21
22checksums               rmd160  eb2dc6c034594024522c4880c76f8ea90d3b6bc8 \
23                        sha256  cb0b8b87aa57890d2327906a11f2f1b61b8d870c0885b54c61ca46f954f27e29
24
25if {${configure.compiler} == "clang"} {
26    configure.compiler llvm-gcc-4.2
27}
28
29configure.args          --with-libevent=${prefix} \
30                        ac_cv_search_umem_cache_create=no \
31                        ac_cv_header_umem_h=no
32
33depends_lib             port:libevent
34
35startupitem.create      yes
36startupitem.executable  ${prefix}/bin/memcached -u nobody -m 64 -c 10240 -p 11211
37
38if {[variant_isset universal]} {
39    set merger_configure_args(x86_64) --enable-64bit
40    set merger_configure_args(ppc64)  --enable-64bit
41} else {
42    if {[info exists build_arch] && (${build_arch} == "x86_64" || $build_arch == "ppc64")} {
43                configure.args-append --enable-64bit
44    }
45}
46
47variant sasl description {enable SASL authentication} {
48    configure.args-append   --enable-sasl
49}
50
51variant umem description {enable libumem support} {
52    depends_lib-append     port:umem
53    configure.args-delete  ac_cv_search_umem_cache_create=no
54    configure.args-delete  ac_cv_header_umem_h=no
55}
56
57livecheck.type  regex
58livecheck.regex ${name}-(\\d+(?:\\.\\d+){2,})\\.
Note: See TracBrowser for help on using the repository browser.