2014-01-25 11:29:56 +01:00
|
|
|
# $NetBSD: Makefile,v 1.40 2014/01/25 10:30:03 wiz Exp $
|
1998-08-12 03:46:38 +02:00
|
|
|
|
2013-04-20 11:38:04 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-curses-${PY_DISTVERSION}
|
2004-07-22 11:15:59 +02:00
|
|
|
CATEGORIES= devel python
|
1998-08-12 03:46:38 +02:00
|
|
|
|
2012-04-16 00:00:58 +02:00
|
|
|
MAINTAINER= pkgsrc-users@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
|
|
|
|
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}
|
2011-05-04 13:38:05 +02:00
|
|
|
PYSETUPINSTALLARGS+= --install-lib ${PREFIX}/${PYLIB}/lib-dynload
|
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:
|
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"
|