diff options
author | jlam <jlam> | 2002-09-23 22:55:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-09-23 22:55:30 +0000 |
commit | 2f321c4dc94442e19d0fb58a68591b391687470d (patch) | |
tree | 848db5bb90349030c75a6322b4cfda8300e7c636 | |
parent | 774bbe5ede08f3e06c649c8ecc6f6bb9a2af9ad3 (diff) | |
download | pkgsrc-2f321c4dc94442e19d0fb58a68591b391687470d.tar.gz |
buildlink1 -> buildlink2
-rw-r--r-- | x11/py-Tk/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/x11/py-Tk/Makefile b/x11/py-Tk/Makefile index 784448f7ebb..714f32b1513 100644 --- a/x11/py-Tk/Makefile +++ b/x11/py-Tk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2002/09/21 23:47:01 jlam Exp $ +# $NetBSD: Makefile,v 1.22 2002/09/23 22:55:30 jlam Exp $ # PKGNAME= ${PYPKGPREFIX}-Tk-0 @@ -8,16 +8,19 @@ MAINTAINER= tsarna@netbsd.org HOMEPAGE= http://www.python.org/topics/tkinter/ COMMENT= Tkinter -- Python interface to Tcl/Tk +USE_BUILDLINK2= 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=${BUILDLINK_DIR} +PY_SETUP_SUBST+= BLPREFIX=${LOCALBASE} PY_SETUP_SUBST+= TCLRTPREFIX=${BUILDLINK_PREFIX.tcl} PY_SETUP_SUBST+= TKRTPREFIX=${BUILDLINK_PREFIX.tk} -PY_SETUP_SUBST+= X11PREFIX=${BUILDLINK_X11_DIR} +PY_SETUP_SUBST+= X11PREFIX=${X11BASE} PY_SETUP_SUBST+= X11RTPREFIX=${X11BASE} PLIST_SUBST+= PYLIB=${PYLIB} @@ -30,13 +33,13 @@ do-patch: # this is needed by graphics/sketch post-install: - ${SED} -e "s|@LOCALBASE@|${LOCALBASE}|g" \ + ${SED} -e "s|@LOCALBASE@|${LOCALBASE}|g" \ -e "s|@X11BASE@|${X11BASE}|g" \ <${FILESDIR}/Setup.in >${PREFIX}/${PYLIB}/config/Setup.tk .include "../../lang/python/extension.mk" .include "../../lang/python/srcdist.mk" -.include "../../lang/tcl/buildlink.mk" -.include "../../x11/tk/buildlink.mk" -.include "../../mk/x11.buildlink.mk" +.include "../../lang/tcl/buildlink2.mk" +.include "../../x11/tk/buildlink2.mk" + .include "../../mk/bsd.pkg.mk" |