3d552b0215
on patch.
33 lines
795 B
Makefile
33 lines
795 B
Makefile
# $NetBSD: Makefile,v 1.19 2004/06/12 02:35:29 grant 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
|
|
|
|
USE_GNU_TOOLS+= patch
|
|
|
|
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"
|