pkgsrc/devel/py-curses/Makefile
2002-12-10 15:08:19 +00:00

30 lines
757 B
Makefile

# $NetBSD: Makefile,v 1.15 2002/12/10 15:08:20 drochner Exp $
#
PKGNAME= ${PYPKGPREFIX}-curses-0
CATEGORIES= devel
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
EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/_cursesmodule.c
PYDISTUTILSPKG= yes
PYBINMODULE= yes
PY_PATCHPLIST= yes
PY_SETUP_SUBST= NCURSESPREFIX=${NCURSESDIR}
# ignore errors due to missing files (EXTRACT_ELEMENTS!)
do-patch:
(cd ${WRKSRC}; \
for f in ${PATCHDIR}/patch-*;do \
${PATCH} --batch <$$f || true; \
done)
.include "../../lang/python/extension.mk"
.include "../../lang/python/srcdist.mk"
.include "../../mk/bsd.pkg.mk"