summaryrefslogtreecommitdiff
path: root/devel/py-curses
diff options
context:
space:
mode:
authorwiz <wiz>2003-01-29 12:31:12 +0000
committerwiz <wiz>2003-01-29 12:31:12 +0000
commit417da0e809ee114a26ddadce571935b6c06e5cc8 (patch)
tree9c2962a584e88a20ccc861dc3dfac9615701a754 /devel/py-curses
parentbf0ae11136356655737d6a2bb30fa1ff33276985 (diff)
downloadpkgsrc-417da0e809ee114a26ddadce571935b6c06e5cc8.tar.gz
Convert to buildlink2. Set USE_NCURSES.
Diffstat (limited to 'devel/py-curses')
-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"