2006-06-17 19:31:08 +02:00
|
|
|
# $NetBSD: Makefile,v 1.31 2006/06/17 17:31:08 rillig Exp $
|
1998-08-12 03:46:38 +02:00
|
|
|
#
|
|
|
|
|
2002-01-28 10:30:08 +01:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-curses-0
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 4
|
2004-07-22 11:15:59 +02:00
|
|
|
CATEGORIES= devel python
|
1998-08-12 03:46:38 +02:00
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
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
|
|
|
|
2006-06-17 19:31:08 +02:00
|
|
|
USE_NCURSES= yes
|
|
|
|
# needs: filter getsyx getwin has_key immedok mvwinsnstr mvwinsstr ...
|
2003-01-29 13:31:12 +01:00
|
|
|
# noqiflush pechochar putp putwin qiflush redrawwin setsyx syncok termattrs
|
|
|
|
# termname tigetflag tigetnum tigetstr tparm typeahead use_env wcursyncup
|
|
|
|
# wechochar winsnstr winsstr wredrawln wsyncdown wsyncup
|
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
|
|
|
|
2003-01-29 13:31:12 +01:00
|
|
|
PY_SETUP_SUBST= NCURSESPREFIX=${BUILDLINK_PREFIX.ncurses}
|
1998-08-12 03:46:38 +02:00
|
|
|
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.python23+= python23>=2.3nb2
|
2003-09-14 16:16:53 +02:00
|
|
|
|
2002-01-28 10:30:08 +01:00
|
|
|
# ignore errors due to missing files (EXTRACT_ELEMENTS!)
|
|
|
|
do-patch:
|
2006-06-17 19:31:08 +02:00
|
|
|
set -e; \
|
|
|
|
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"
|
2004-04-27 05:43:53 +02:00
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
1998-08-12 03:46:38 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|