Annotation of pkgsrc/devel/py-curses/Makefile, Revision 1.39
1.39 ! obache 1: # $NetBSD: Makefile,v 1.38 2012/10/31 11:19:29 asau Exp $
1.1 tsarna 2: #
3:
1.39 ! obache 4: PKGNAME= ${PYPKGPREFIX}-curses-${PY_DISTVERSION}
1.24 recht 5: CATEGORIES= devel python
1.1 tsarna 6:
1.37 wiz 7: MAINTAINER= pkgsrc-users@NetBSD.org
1.11 tsarna 8: HOMEPAGE= http://www.python.org/doc/current/lib/module-curses.html
1.13 drochner 9: COMMENT= Curses module for Python
1.1 tsarna 10:
1.36 joerg 11: PYTHON_VERSIONS_INCLUDE_3X= yes
12:
1.31 rillig 13: USE_NCURSES= yes
14: # needs: filter getsyx getwin has_key immedok mvwinsnstr mvwinsstr ...
1.16 wiz 15: # noqiflush pechochar putp putwin qiflush redrawwin setsyx syncok termattrs
16: # termname tigetflag tigetnum tigetstr tparm typeahead use_env wcursyncup
17: # wechochar winsnstr winsstr wredrawln wsyncdown wsyncup
1.13 drochner 18: EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/_cursesmodule.c
19: PYDISTUTILSPKG= yes
20: PY_PATCHPLIST= yes
21:
1.16 wiz 22: PY_SETUP_SUBST= NCURSESPREFIX=${BUILDLINK_PREFIX.ncurses}
1.35 obache 23: PYSETUPINSTALLARGS+= --install-lib ${PREFIX}/${PYLIB}/lib-dynload
1.19 recht 24:
1.13 drochner 25: # ignore errors due to missing files (EXTRACT_ELEMENTS!)
26: do-patch:
1.31 rillig 27: set -e; \
28: cd ${WRKSRC}; \
29: for f in ${PATCHDIR}/patch-*; do \
30: ${PATCH} --batch < "$$f" || ${TRUE}; \
31: done
1.1 tsarna 32:
1.15 drochner 33: .include "../../lang/python/extension.mk"
1.13 drochner 34: .include "../../lang/python/srcdist.mk"
1.23 snj 35: .include "../../devel/ncurses/buildlink3.mk"
1.1 tsarna 36: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>