blob: f74c08218087e9ccb8a78e3357135614a4142f2b (
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
|
# $NetBSD: Makefile,v 1.18 2002/12/10 15:08:19 drochner Exp $
#
PKGNAME= ${PYPKGPREFIX}-gdbm-0
PKGREVISION= 1
CATEGORIES= databases
MAINTAINER= dolecek@ics.muni.cz
HOMEPAGE= http://www.python.org/doc/lib/module-gdbm.html
COMMENT= Python interface to gdbm - GNU database manager
DEPENDS+= gdbm>=1.8.3:../../databases/gdbm
EVAL_PREFIX+= GDBMDIR=gdbm
EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/gdbmmodule.c
PYDISTUTILSPKG= yes
PYBINMODULE= yes
PY_PATCHPLIST= yes
PY_SETUP_SUBST+= GDBMPREFIX=${GDBMDIR}
# ignore errors due to missing files (EXTRACT_ELEMENTS!)
do-patch:
(cd ${WRKSRC}; \
for f in ${PATCHDIR}/patch-*;do \
${PATCH} --batch <$$f || true; \
done)
.include "../../lang/python/extension.mk"
.include "../../lang/python/srcdist.mk"
.include "../../mk/bsd.pkg.mk"
|