blob: e3144f201d7fc44f7f53de5400f3995005df0abd (
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.25 2008/01/12 11:36:29 adam Exp $
#
DISTNAME= bsddb3-4.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pybsddb/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pybsddb.sourceforge.net/
COMMENT= Python extension module for Berkeley DB 4
PKG_DESTDIR_SUPPORT= user-destdir
PYSETUPBUILDARGS= --berkeley-db=${BUILDLINK_PREFIX.db4}
PYSETUPINSTALLARGS= --berkeley-db=${BUILDLINK_PREFIX.db4}
PYDISTUTILSPKG= yes
PYBINMODULE= yes
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
PYTHON_VERSIONS_ACCEPTED= 24 23 22
.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"
|