# $Id: Portfile,v 1.4 2004/12/31 18:02:52 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-cdb
version			0.32
revision		1
categories		python
platforms		darwin freebsd
maintainers		mww@opendarwin.org
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
}
