blob: 6ed36e94b6d8f022694bfaf0d1b52f9796bea903 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.12 2005/01/16 19:52:29 markd Exp $
#
DISTNAME= bsddb3-4.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pybsddb/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://pybsddb.sourceforge.net/
COMMENT= Python extension module for Berkeley DB 4
PYSETUPBUILDARGS= --berkeley-db=${BUILDLINK_PREFIX.db4}
PYSETUPINSTALLARGS= --berkeley-db=${BUILDLINK_PREFIX.db4}
USE_BUILDLINK3= yes
PYDISTUTILSPKG= yes
PYBINMODULE= yes
BUILDLINK_DEPENDS.db4+= db4>=4.2.52
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
PYTHON_VERSIONS_ACCEPTED= 24pth 23pth 22pth
.endif
do-test:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} test.py
.include "../../databases/db4/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
|