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

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

add umem variant to memcached

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 60303 2009-11-08 21:03:31Z 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
34variant sasl description {enable SASL authentication} {
35    configure.args-append   --enable-sasl
36}
37
38variant umem description {enable libumem support} {
39    depends_lib-append     port:umem
40}
41
42livecheck.type  regex
43livecheck.url   ${homepage}download.bml
44livecheck.regex ${name}-(\\d+(?:\\.\\d+){2,})\\.
Note: See TracBrowser for help on using the repository browser.