summaryrefslogtreecommitdiff
path: root/x11/py-Tk/Makefile
diff options
context:
space:
mode:
authortsarna <tsarna@pkgsrc.org>2000-10-22 20:01:48 +0000
committertsarna <tsarna@pkgsrc.org>2000-10-22 20:01:48 +0000
commit08a0ddac1a804b04d88a6d23fdbf87a9188c631e (patch)
treec352925946bcfeca99d8d2fdf70b124c2b2a773d /x11/py-Tk/Makefile
parentb923dbec15e3ffe405fa211c957396c51735628b (diff)
downloadpkgsrc-08a0ddac1a804b04d88a6d23fdbf87a9188c631e.tar.gz
First batch of upgrades for Python 2.0:
lang/python upgraded to 2.0 lang/py-html-docs upgraded to 2.0 misc/py-readline upgraded to 2.0 databases/py-gdbm upgraded to 2.0 x11/py-Tk upgraded to 2.0 devel/py-curses upgraded to 2.0 lang/py-extclass upgraded to 2.2.2 and for Python 2.0 textproc/py-dtml upgraded to 2.2.2 and for Python 2.0 www/py-zpublisher upgraded to 2.2.2 and for Python 2.0 print/py-reportlab upgraded to 1.01 and for Python 2.0 More coming...
Diffstat (limited to 'x11/py-Tk/Makefile')
-rw-r--r--x11/py-Tk/Makefile37
1 files changed, 11 insertions, 26 deletions
diff --git a/x11/py-Tk/Makefile b/x11/py-Tk/Makefile
index 0f258e8d187..258ba47b855 100644
--- a/x11/py-Tk/Makefile
+++ b/x11/py-Tk/Makefile
@@ -1,43 +1,28 @@
-# $NetBSD: Makefile,v 1.14 2000/08/31 02:35:17 tsarna Exp $
+# $NetBSD: Makefile,v 1.15 2000/10/22 20:01:51 tsarna Exp $
#
-DISTNAME= py152
-PKGNAME= py-Tk-1.5.2
+DISTNAME= ${PY_DISTNAME}
+PKGNAME= py-Tk-${PY_VERSION}
CATEGORIES= x11
-MASTER_SITES= ftp://ftp.python.org/pub/python/src/
-EXTRACT_SUFX= .tgz
+MASTER_SITES= ${PY_MASTER_SITES}
MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://www.python.org/topics/tkinter/
-DEPENDS+= python-1.5.2:../../lang/python
DEPENDS+= tk-*:../../x11/tk
DEPENDS+= tcl-*:../../lang/tcl
-DIST_SUBDIR= python
-
USE_X11= yes
-WRKSRC= ${WRKDIR}/Python-1.5.2/Modules
-ALL_TARGET= default
-EXTRACT_ELEMENTS= Python-1.5.2/Modules/_tkinter.c \
- Python-1.5.2/Modules/tkappinit.c
-
-PYTHON_CONFIGDIR= ${LOCALBASE}/lib/python1.5/config
+WRKSRC= ${PY_WRKSRC}
-.if ${MACHINE_ARCH} == "sparc64"
-IGNORE="${PKGNAME} needs dynamic loading"
-.endif
+EXTRACT_ELEMENTS= ${PY_MODULES}/_tkinter.c \
+ ${PY_MODULES}/tkappinit.c
-do-configure:
- ${SED} -e 's%@LOCALBASE@%${LOCALBASE}%g' \
- -e 's%@X11BASE@%${X11BASE}%g' ${FILESDIR}/Setup.in \
- >${WRKSRC}/Setup.in
- ( cd ${WRKSRC} ;\
- ${LN} -s ${PYTHON_CONFIGDIR}/Makefile.pre.in ;\
- ${MAKE} -f Makefile.pre.in boot)
+do-configure: python-std-do-configure
do-install:
- ${INSTALL_DATA} ${WRKSRC}/_tkinter.so ${LOCALBASE}/lib/python1.5/lib-dynload
- ${INSTALL_DATA} ${WRKSRC}/Setup.in ${PYTHON_CONFIGDIR}/Setup.tk
+ ${INSTALL_DATA} ${WRKSRC}/_tkinter.so ${PY_LIBDIR}/lib-dynload
+ ${INSTALL_DATA} ${WRKSRC}/Setup.in ${PY_CONFIGDIR}/Setup.tk
+.include "../../lang/python/Makefile.inc"
.include "../../mk/bsd.pkg.mk"