# $NetBSD: Makefile,v 1.29 2004/06/22 14:43:12 recht Exp $ # PKGNAME= ${PYPKGPREFIX}-Tk-0 PKGREVISION= 2 CATEGORIES= x11 MAINTAINER= tsarna@NetBSD.org HOMEPAGE= http://www.python.org/topics/tkinter/ COMMENT= Tkinter -- Python interface to Tcl/Tk USE_BUILDLINK3= yes USE_X11= yes EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/_tkinter.c \ ${PYSUBDIR}/Modules/tkappinit.c PYDISTUTILSPKG= yes PYBINMODULE= yes PY_PATCHPLIST= yes PY_SETUP_SUBST+= BLPREFIX=${LOCALBASE} PY_SETUP_SUBST+= TCLRTPREFIX=${BUILDLINK_PREFIX.tcl} PY_SETUP_SUBST+= TKRTPREFIX=${BUILDLINK_PREFIX.tk} PY_SETUP_SUBST+= X11PREFIX=${X11BASE} PY_SETUP_SUBST+= X11RTPREFIX=${X11BASE} PYTHON_VERSIONS_ACCEPTED= 23pth 22pth 21pth # 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 "../../lang/tcl/buildlink3.mk" .include "../../x11/tk/buildlink3.mk" .include "../../mk/bsd.pkg.mk"