2005-05-22 22:07:36 +02:00
|
|
|
# $NetBSD: Makefile,v 1.22 2005/05/22 20:07:46 jlam 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
|
2004-07-22 11:15:59 +02:00
|
|
|
CATEGORIES= databases python
|
1998-05-23 23:46:05 +02:00
|
|
|
|
|
|
|
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-01-28 10:30:08 +01:00
|
|
|
EVAL_PREFIX+= GDBMDIR=gdbm
|
1998-05-23 23:46:05 +02:00
|
|
|
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= patch
|
2004-06-12 04:35:29 +02:00
|
|
|
|
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
|
|
|
|
2005-03-30 21:11:29 +02:00
|
|
|
.include "../../databases/gdbm/buildlink3.mk"
|
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"
|