2003-07-13 15:50:19 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2003/07/13 13:51:26 wiz Exp $
|
1998-08-12 03:46:38 +02:00
|
|
|
#
|
|
|
|
|
2002-01-28 10:30:08 +01:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-curses-0
|
2003-07-13 15:50:19 +02:00
|
|
|
PKGREVISION= 1
|
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
|
|
|
|
2003-01-29 13:31:12 +01:00
|
|
|
USE_BUILDLINK2= yes
|
|
|
|
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
|
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
|
|
|
|
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"
|
2003-01-29 13:31:12 +01:00
|
|
|
.include "../../devel/ncurses/buildlink2.mk"
|
1998-08-12 03:46:38 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|