summaryrefslogtreecommitdiff
path: root/databases/py-bsddb3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-bsddb3/Makefile')
-rw-r--r--databases/py-bsddb3/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile
index 2fa6349f176..8ed1be96d9b 100644
--- a/databases/py-bsddb3/Makefile
+++ b/databases/py-bsddb3/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2004/10/03 00:13:23 tv Exp $
+# $NetBSD: Makefile,v 1.11 2005/01/02 12:43:12 seb Exp $
#
-DISTNAME= bsddb3-4.2.4
+DISTNAME= bsddb3-4.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pybsddb/}
@@ -11,8 +10,8 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://pybsddb.sourceforge.net/
COMMENT= Python extension module for Berkeley DB 4
-PYSETUPBUILDARGS= --berkeley-db=${LOCALBASE}
-PYSETUPINSTALLARGS= --berkeley-db=${LOCALBASE}
+PYSETUPBUILDARGS= --berkeley-db=${BUILDLINK_PREFIX.db4}
+PYSETUPINSTALLARGS= --berkeley-db=${BUILDLINK_PREFIX.db4}
USE_BUILDLINK3= yes
PYDISTUTILSPKG= yes
@@ -25,6 +24,9 @@ BUILDLINK_DEPENDS.db4+= db4>=4.2.52
PYTHON_VERSIONS_ACCEPTED= 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"