# -*- 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: Portfile 73580 2010-11-19 03:59:17Z ryandesign@macports.org $

PortSystem                  1.0

name                        memcachedb
version                     1.2.0
categories                  sysutils
platforms                   darwin
maintainers                 gmail.com:cofyc.jackson

description                 A distributed key-value storage system designed \
                            for persistent.

long_description            MemcacheDB is a distributed key-value storage \
                            system designed for persistent. It is NOT a cache \
                            solution, but a persistent storage engine for \
                            fast and reliable key-value based object storage \
                            and retrieval. It conforms to memcache protocol \
                            (not completed, see below), so any memcached \
                            client can have connectivity with it. MemcacheDB \
                            uses Berkeley DB as a storing backend, so lots \
                            of features including transaction and replication \
                            are supported.

homepage                    http://memcachedb.org/
master_sites                googlecode

checksums                   sha1    fe817ed3a340a65dd6998f35d87a0d9555830d04 \
                            rmd160  023e26d09b4ceae751bd7717c769a3b5c1e214d6

configure.args              --with-libevent=${prefix}

depends_lib                 port:libevent \
                            port:db47

configure.cflags-append     -I${prefix}/include/db47
configure.ldflags-append    -L${prefix}/lib/db47

livecheck.type              regex
livecheck.regex             ${name}-(\\d+(?:\\.\\d+){2,})\\.
