569d11dd1e
The python-cdb extension module is an adaptation of D. J. Bernstein's constant database package (see http://cr.yp.to/cdb.html). 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. Submitted and maintained by Lars Hansson <lars at unet.net.ph>.
35 lines
767 B
Makefile
35 lines
767 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2004/10/11 19:03:10 xsa Exp $
|
|
|
|
COMMENT= "Python extension module for accessing cdb databases"
|
|
|
|
DISTNAME= python-cdb-0.32
|
|
PKGNAME= ${DISTNAME:S/python/py/}
|
|
CATEGORIES= databases
|
|
|
|
HOMEPAGE= http://pilcrow.madison.wi.us/
|
|
|
|
MAINTAINER= Lars Hansson <lars@unet.net.ph>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/python-cdb/
|
|
|
|
MODULES= lang/python
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-cdb
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-cdb
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/Example ${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|