openbsd-ports/databases/py-cdb/Makefile

35 lines
766 B
Makefile

# $OpenBSD: Makefile,v 1.2 2006/06/03 09:29:42 alek Exp $
COMMENT= "Python extension module for accessing cdb databases"
DISTNAME= python-cdb-0.32
PKGNAME= ${DISTNAME:S/python/py/}p0
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>