# $Id: Portfile 62115 2009-12-29 05:01:37Z akitada@macports.org $

PortSystem 1.0
PortGroup python26 1.0

name                py26-cdb
version             0.34
categories          python
platforms           darwin
maintainers         nomaintainer
description         python module for using the constant database package
long_description    The python-cdb extension module is an adaptation of \
                    D. J. Bernstein's constant database package (see \
                    http://cr.yp.to/cdb.html). The cdb files are mappings \
                    of keys to values, designed for wickedly fast lookups \
                    and atomic updates.  This module mimics the normal cdb \
                    utilities, cdb(get|dump|make), via convenient, \
                    high-level Python objects.

homepage            http://pilcrow.madison.wi.us/
master_sites        ${homepage}/python-cdb/
distname            python-cdb-${version}
checksums           md5 bda23cd135c9d71bede98929bc18b36f \
                    sha1 6c5ef1f27fe0e5c2e9a4a032435ebf58c82639f2 \
                    rmd160 02519e7c03aae5798823ab4cd0388b6afaf1908a

post-destroot {
    xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog README \
        ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 ${worksrcpath}/Example \
        ${destroot}${prefix}/share/doc/${name}/examples/example.py
}

# Local Variables:
# mode:tcl
# tab-width: 4
# indent-tabs-mode: nil
# c-basic-offset:4
# indent-tabs-mode:nil
# End:
