summaryrefslogtreecommitdiff
path: root/x11/py-Tk/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-05-14 22:12:37 +0000
committertron <tron@pkgsrc.org>1998-05-14 22:12:37 +0000
commit938118e8ac18acfb1e1ed1be2f1c02635b95d7f6 (patch)
tree6d56a4c9cdbe4f08d8a53c317820260443ac5c45 /x11/py-Tk/Makefile
parent036fa2e9f531096f107fc5a43c13ba30ed8cb9a2 (diff)
downloadpkgsrc-938118e8ac18acfb1e1ed1be2f1c02635b95d7f6.tar.gz
Add "py-Tk" package made by Jaromir Dolecek.
Diffstat (limited to 'x11/py-Tk/Makefile')
-rw-r--r--x11/py-Tk/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/x11/py-Tk/Makefile b/x11/py-Tk/Makefile
new file mode 100644
index 00000000000..e5d4be3459d
--- /dev/null
+++ b/x11/py-Tk/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1 1998/05/14 22:12:37 tron Exp $
+#
+
+DISTNAME= pyth151
+PKGNAME= py-Tk-1.5.1
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.python.org/pub/python/src/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= dolecek@ics.muni.cz
+
+DEPENDS+= python-1.5.1:../../lang/python
+DEPENDS+= tk-8.0p2:../../x11/tk80
+DEPENDS+= tcl-8.0p2:../../lang/tcl80
+
+WRKSRC= ${WRKDIR}/Python-1.5.1/Modules
+ALL_TARGET= default
+EXTRACT_AFTER_ARGS= Python-1.5.1/Modules/_tkinter.c \
+ Python-1.5.1/Modules/tkappinit.c
+
+PYTHON_CONFIGDIR= ${LOCALBASE}/lib/python1.5/config/
+
+.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "alpha"
+IGNORE="Needs dynamic loading"
+.endif
+
+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-install:
+ ${INSTALL_DATA} ${WRKSRC}/_tkinter.so ${LOCALBASE}/lib/python1.5/lib-dynload
+
+.include "../../mk/bsd.pkg.mk"