2004-10-03 02:12:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2004/10/03 00:13:32 tv Exp $
|
2003-06-04 21:32:13 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-cursespanel-0
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 2
|
2004-07-22 11:15:59 +02:00
|
|
|
CATEGORIES= devel python
|
2003-06-04 21:32:13 +02:00
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= tsarna@NetBSD.org
|
2003-06-04 21:32:13 +02:00
|
|
|
HOMEPAGE= http://www.python.org/doc/current/lib/module-curses.html
|
|
|
|
COMMENT= Curses panel module for Python
|
|
|
|
|
2004-04-27 05:43:53 +02:00
|
|
|
USE_BUILDLINK3= yes
|
2003-06-04 21:32:13 +02:00
|
|
|
USE_NCURSES= # filter getsyx getwin has_key immedok mvwinsnstr mvwinsstr ...
|
|
|
|
# noqiflush pechochar putp putwin qiflush redrawwin setsyx syncok termattrs
|
|
|
|
# termname tigetflag tigetnum tigetstr tparm typeahead use_env wcursyncup
|
|
|
|
# wechochar winsnstr winsstr wredrawln wsyncdown wsyncup
|
|
|
|
EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/_curses_panel.c
|
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
PYBINMODULE= yes
|
|
|
|
PY_PATCHPLIST= yes
|
2003-09-09 13:50:12 +02:00
|
|
|
PYTHON_VERSIONS_ACCEPTED= 23 23pth 22 22pth 21 21pth
|
2003-06-04 21:32:13 +02:00
|
|
|
|
|
|
|
PY_SETUP_SUBST= NCURSESPREFIX=${BUILDLINK_PREFIX.ncurses}
|
|
|
|
|
|
|
|
# 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"
|
2004-04-27 05:43:53 +02:00
|
|
|
.include "../../devel/py-curses/buildlink3.mk"
|
2003-06-04 21:32:13 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|