2001-12-04 10:40:13 +01:00
|
|
|
# New ports collection makefile for: py-cdb
|
|
|
|
# Date created: 03 December 2001
|
|
|
|
# Whom: Jason R. Mastaler <jason@mastaler.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cdb
|
2002-01-27 16:58:07 +01:00
|
|
|
PORTVERSION= 0.32
|
2003-10-10 15:42:36 +02:00
|
|
|
PORTREVISION= 1
|
2001-12-04 10:40:13 +01:00
|
|
|
CATEGORIES= databases python
|
2002-01-27 16:58:07 +01:00
|
|
|
MASTER_SITES= http://pilcrow.madison.wi.us/python-${PORTNAME}/
|
2001-12-04 10:40:13 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2002-01-27 16:58:07 +01:00
|
|
|
DISTNAME= python-${PORTNAME}-${PORTVERSION}
|
2001-12-04 10:40:13 +01:00
|
|
|
|
|
|
|
MAINTAINER= jason@mastaler.com
|
2003-10-10 15:42:36 +02:00
|
|
|
COMMENT= Python interface to DJB's constant database library
|
2001-12-04 10:40:13 +01:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
2002-04-29 15:33:57 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
2001-12-04 10:40:13 +01:00
|
|
|
|
2003-10-10 15:42:36 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
|
|
|
|
DOCS= ChangeLog README
|
|
|
|
EXAMPLES= Example
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2001-12-04 10:40:13 +01:00
|
|
|
.include <bsd.port.mk>
|