# -*- 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 # $Id$ PortSystem 1.0 PortGroup conflicts_build 1.0 name libmemcached if {[file exists ${prefix}/bin/MemParse]} { conflicts-append xercesc3 } version 1.0.10 set branch [join [lrange [split ${version} .] 0 1] .] revision 0 categories devel platforms darwin maintainers nomaintainer license BSD description libmemcached is a C and C++ client library to the memcached server long_description libmemcached is a C and C++ client library for memcached. \ It has been designed to be light on memory usage, thread safe, \ and provide full access to server side methods. homepage http://libmemcached.org/ master_sites http://launchpad.net/${name}/${branch}/${version}/+download/ checksums rmd160 483402a449762ce68633582696d32c1e2ef0aea5 \ sha256 0bbb5e310b3d175dfbde99a463ba4474aa22b4ad88ffea2afe76c868d6e1290b patchfiles patch-Makefile.in.diff depends_build bin:pod2man:perl5 \ port:cyrus-sasl2 depends_lib port:memcached # Although "./configure --help" says umem support is off by default, and although we # specify "--disable-umem", configure nevertheless looks for and finds umem if installed, # and then fails to build. conflicts_build umem configure.args --disable-silent-rules \ --disable-umem \ --disable-dtrace \ --disable-hsieh_hash variant dtrace description {enable dtrace probes } { configure.args-append --enable-dtrace } variant hsieh description {include support for hsieh hashing } { configure.args-append --enable-hsieh_hash } platform darwin 8 { patchfiles-append no_memslap.diff configure.compiler macports-gcc-4.6 universal_variant no } platform darwin 9 { configure.compiler macports-gcc-4.6 universal_variant no } platform darwin { if {${os.major} >= 13} { post-patch { reinplace "s:tr1/::" ${worksrcpath}/libmemcached-1.0/memcached.h } } } livecheck.type regex livecheck.url https://launchpad.net/libmemcached/+download livecheck.regex {libmemcached-(\d+(?:\.\d+)*)\.[tz]}