summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-01-29 12:31:12 +0000
committerwiz <wiz@pkgsrc.org>2003-01-29 12:31:12 +0000
commit6818be1a725b4e9cdf28e960a5a4d2b9f3381e9f (patch)
tree9c2962a584e88a20ccc861dc3dfac9615701a754 /devel
parent9a2b9fac5783582d5fae4c65a739799665f2e852 (diff)
downloadpkgsrc-6818be1a725b4e9cdf28e960a5a4d2b9f3381e9f.tar.gz
Convert to buildlink2. Set USE_NCURSES.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-curses/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/devel/py-curses/Makefile b/devel/py-curses/Makefile
index 466960f01b4..4f6599f287b 100644
--- a/devel/py-curses/Makefile
+++ b/devel/py-curses/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2002/12/10 15:08:20 drochner Exp $
+# $NetBSD: Makefile,v 1.16 2003/01/29 12:31:12 wiz Exp $
#
PKGNAME= ${PYPKGPREFIX}-curses-0
@@ -8,15 +8,17 @@ MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://www.python.org/doc/current/lib/module-curses.html
COMMENT= Curses module for Python
-DEPENDS+= ncurses>=4.2:../../devel/ncurses
-EVAL_PREFIX+= NCURSESDIR=ncurses
-
+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
EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/_cursesmodule.c
PYDISTUTILSPKG= yes
PYBINMODULE= yes
PY_PATCHPLIST= yes
-PY_SETUP_SUBST= NCURSESPREFIX=${NCURSESDIR}
+PY_SETUP_SUBST= NCURSESPREFIX=${BUILDLINK_PREFIX.ncurses}
# ignore errors due to missing files (EXTRACT_ELEMENTS!)
do-patch:
@@ -27,4 +29,5 @@ do-patch:
.include "../../lang/python/extension.mk"
.include "../../lang/python/srcdist.mk"
+.include "../../devel/ncurses/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"