pkgsrc/databases/py-gdbm/Makefile

34 lines
800 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.22 2005/05/22 20:07:46 jlam Exp $
#
PKGNAME= ${PYPKGPREFIX}-gdbm-0
PKGREVISION= 1
CATEGORIES= databases python
MAINTAINER= dolecek@ics.muni.cz
HOMEPAGE= http://www.python.org/doc/lib/module-gdbm.html
COMMENT= Python interface to gdbm - GNU database manager
EVAL_PREFIX+= GDBMDIR=gdbm
USE_TOOLS+= patch
EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/gdbmmodule.c
PYDISTUTILSPKG= yes
PYBINMODULE= yes
PY_PATCHPLIST= yes
1998-11-13 01:47:51 +01:00
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)
2005-03-30 21:11:29 +02:00
.include "../../databases/gdbm/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../lang/python/srcdist.mk"
.include "../../mk/bsd.pkg.mk"