2004-06-12 04:35:29 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2004/06/12 02:35:29 grant Exp $
|
1998-05-23 23:46:05 +02:00
|
|
|
#
|
|
|
|
|
2002-01-28 10:30:08 +01:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-gdbm-0
|
2002-11-01 17:34:34 +01:00
|
|
|
PKGREVISION= 1
|
1998-05-23 23:46:05 +02:00
|
|
|
CATEGORIES= databases
|
|
|
|
|
|
|
|
MAINTAINER= dolecek@ics.muni.cz
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://www.python.org/doc/lib/module-gdbm.html
|
2001-02-16 15:17:22 +01:00
|
|
|
COMMENT= Python interface to gdbm - GNU database manager
|
1998-05-23 23:46:05 +02:00
|
|
|
|
2002-11-01 17:34:34 +01:00
|
|
|
DEPENDS+= gdbm>=1.8.3:../../databases/gdbm
|
2002-01-28 10:30:08 +01:00
|
|
|
EVAL_PREFIX+= GDBMDIR=gdbm
|
1998-05-23 23:46:05 +02:00
|
|
|
|
2004-06-12 04:35:29 +02:00
|
|
|
USE_GNU_TOOLS+= patch
|
|
|
|
|
2002-01-28 10:30:08 +01:00
|
|
|
EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/gdbmmodule.c
|
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
PYBINMODULE= yes
|
|
|
|
PY_PATCHPLIST= yes
|
1998-11-13 01:47:51 +01:00
|
|
|
|
2002-01-28 10:30:08 +01:00
|
|
|
PY_SETUP_SUBST+= GDBMPREFIX=${GDBMDIR}
|
1998-05-23 23:46:05 +02:00
|
|
|
|
2002-01-28 10:30:08 +01:00
|
|
|
# ignore errors due to missing files (EXTRACT_ELEMENTS!)
|
|
|
|
do-patch:
|
|
|
|
(cd ${WRKSRC}; \
|
|
|
|
for f in ${PATCHDIR}/patch-*;do \
|
|
|
|
${PATCH} --batch <$$f || true; \
|
|
|
|
done)
|
1998-05-23 23:46:05 +02:00
|
|
|
|
2002-09-22 01:46:45 +02:00
|
|
|
.include "../../lang/python/extension.mk"
|
2002-12-10 16:08:19 +01:00
|
|
|
.include "../../lang/python/srcdist.mk"
|
1998-05-23 23:46:05 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|