diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-10 13:42:36 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-10 13:42:36 +0000 |
commit | 0ae592b4ce7f38e7ceb1792752db5b8ce29215be (patch) | |
tree | 4380b42a62dd40ffe70c28ce15da974d7a1e01d0 /databases/py-cdb | |
parent | 297e7f1ccdd924713f520a938d37711ef5f3fad5 (diff) | |
download | ports-0ae592b4ce7f38e7ceb1792752db5b8ce29215be.tar.gz ports-0ae592b4ce7f38e7ceb1792752db5b8ce29215be.zip |
Notes
Diffstat (limited to 'databases/py-cdb')
-rw-r--r-- | databases/py-cdb/Makefile | 17 | ||||
-rw-r--r-- | databases/py-cdb/pkg-plist | 7 |
2 files changed, 22 insertions, 2 deletions
diff --git a/databases/py-cdb/Makefile b/databases/py-cdb/Makefile index ddf470b750d1..4ad80a96df86 100644 --- a/databases/py-cdb/Makefile +++ b/databases/py-cdb/Makefile @@ -7,15 +7,30 @@ PORTNAME= cdb PORTVERSION= 0.32 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= http://pilcrow.madison.wi.us/python-${PORTNAME}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-${PORTNAME}-${PORTVERSION} MAINTAINER= jason@mastaler.com -COMMENT= Python interface to D. J. Bernstein's CDB (constant database) library +COMMENT= Python interface to DJB's constant database library USE_PYTHON= yes USE_PYDISTUTILS= yes +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 + .include <bsd.port.mk> diff --git a/databases/py-cdb/pkg-plist b/databases/py-cdb/pkg-plist index e09e4fa991d0..50bb9151a341 100644 --- a/databases/py-cdb/pkg-plist +++ b/databases/py-cdb/pkg-plist @@ -1 +1,6 @@ -lib/%%PYTHON_VERSION%%/site-packages/cdbmodule.so +%%PYTHON_SITELIBDIR%%/cdbmodule.so +%%EXAMPLESDIR%%/Example +@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |