source: trunk/dports/sysutils/memcached/Portfile

Last change on this file was 134761, checked in by sean@…, 2 years ago

memcached: update to 1.4.22

  • 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 134761 2015-04-07 05:24:42Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup               muniversal 1.0
6
7name                    memcached
8version                 1.4.22
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            ${homepage}files/
21
22checksums               rmd160  2cde1cec77d312a118fbb74514021e95a3a84395 \
23                        sha256  cfcc470c57079914aca6e565b2daeed1d13356ad492909d9aafd6eefac538c2a
24
25configure.args          --with-libevent=${prefix} \
26                        ac_cv_search_umem_cache_create=no \
27                        ac_cv_header_umem_h=no
28
29depends_lib             port:libevent
30
31patchfiles-append       patch-configure.diff
32
33startupitem.create      yes
34startupitem.executable  ${prefix}/bin/memcached -u nobody -m 64 -c 10240 -p 11211
35
36if {[variant_isset universal]} {
37    set merger_configure_args(x86_64) --enable-64bit
38    set merger_configure_args(ppc64)  --enable-64bit
39} else {
40    if {[info exists build_arch] && (${build_arch} eq "x86_64" || ${build_arch} eq "ppc64")} {
41                configure.args-append --enable-64bit
42    }
43}
44
45variant sasl description {enable SASL authentication} {
46    configure.args-append   --enable-sasl
47}
48
49variant umem description {enable libumem support} {
50    depends_lib-append     port:umem
51    configure.args-delete  ac_cv_search_umem_cache_create=no
52    configure.args-delete  ac_cv_header_umem_h=no
53}
54
55livecheck.type  regex
56livecheck.regex ${name}-(\\d+(?:\\.\\d+){2,})\\.
Note: See TracBrowser for help on using the repository browser.