# -*- 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

PortSystem                  1.0
PortGroup                   github 1.0

github.setup                stvchu memcachedb 1.2.0 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from         tarball
revision                    3
checksums                   rmd160  023e26d09b4ceae751bd7717c769a3b5c1e214d6 \
                            sha256  6eba6e5adda1bc23db6bbcf4930537ccdc33fa00402ed91157faadeb86996e0f \
                            size    149236

categories                  sysutils
platforms                   darwin
maintainers                 {gmail.com:cofyc.jackson @cofyc}
license                     BSD

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.

master_sites                googlecode

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

depends_lib                 port:libevent \
                            port:db47

patchfiles                  64-bit.patch

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