2002-12-10 16:08:19 +01:00
|
|
|
# $NetBSD: Makefile,v 1.15 2002/12/10 15:08:20 drochner Exp $
|
1998-08-12 03:46:38 +02:00
|
|
|
#
|
|
|
|
|
2002-01-28 10:30:08 +01:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-curses-0
|
1998-08-12 03:46:38 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
MAINTAINER= tsarna@netbsd.org
|
2000-10-22 22:01:48 +02:00
|
|
|
HOMEPAGE= http://www.python.org/doc/current/lib/module-curses.html
|
2002-01-28 10:30:08 +01:00
|
|
|
COMMENT= Curses module for Python
|
1998-08-12 03:46:38 +02:00
|
|
|
|
2000-10-22 22:01:48 +02:00
|
|
|
DEPENDS+= ncurses>=4.2:../../devel/ncurses
|
2002-01-28 10:30:08 +01:00
|
|
|
EVAL_PREFIX+= NCURSESDIR=ncurses
|
1998-08-12 03:46:38 +02:00
|
|
|
|
2002-01-28 10:30:08 +01:00
|
|
|
EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/_cursesmodule.c
|
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
PYBINMODULE= yes
|
|
|
|
PY_PATCHPLIST= yes
|
1998-08-12 03:46:38 +02:00
|
|
|
|
2002-01-28 10:30:08 +01:00
|
|
|
PY_SETUP_SUBST= NCURSESPREFIX=${NCURSESDIR}
|
1998-08-12 03:46:38 +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-08-12 03:46:38 +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-08-12 03:46:38 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|