View | Details | Raw Unified | Return to bug 57814
Collapse All | Expand All

(-)Makefile (-1 / +16 lines)
Lines 7-21 Link Here
7
7
8
PORTNAME=	cdb
8
PORTNAME=	cdb
9
PORTVERSION=	0.32
9
PORTVERSION=	0.32
10
PORTREVISION=	1
10
CATEGORIES=	databases python
11
CATEGORIES=	databases python
11
MASTER_SITES=	http://pilcrow.madison.wi.us/python-${PORTNAME}/
12
MASTER_SITES=	http://pilcrow.madison.wi.us/python-${PORTNAME}/
12
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
13
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
13
DISTNAME=	python-${PORTNAME}-${PORTVERSION}
14
DISTNAME=	python-${PORTNAME}-${PORTVERSION}
14
15
15
MAINTAINER=	jason@mastaler.com
16
MAINTAINER=	jason@mastaler.com
16
COMMENT=	Python interface to D. J. Bernstein's CDB (constant database) library
17
COMMENT=	Python interface to DJB's constant database library
17
18
18
USE_PYTHON=	yes
19
USE_PYTHON=	yes
19
USE_PYDISTUTILS=	yes
20
USE_PYDISTUTILS=	yes
21
22
DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
23
EXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
24
25
DOCS=		ChangeLog README
26
EXAMPLES=	Example
27
28
post-install:
29
	@${MKDIR} ${EXAMPLESDIR}
30
	cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
31
.if !defined(NOPORTDOCS)
32
	@${MKDIR} ${DOCSDIR}
33
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
34
.endif
20
35
21
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)pkg-plist (-1 / +6 lines)
Line 1 Link Here
1
lib/%%PYTHON_VERSION%%/site-packages/cdbmodule.so
1
%%PYTHON_SITELIBDIR%%/cdbmodule.so
2
%%EXAMPLESDIR%%/Example
3
@dirrm %%EXAMPLESDIR%%
4
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
5
%%PORTDOCS%%%%DOCSDIR%%/README
6
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 57814