# $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-cdb
version			0.32
revision		1
categories		python
platforms		darwin freebsd
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 0e303095f8c0ea9f09d7f11faf89805f

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
}
