summaryrefslogtreecommitdiff
path: root/devel/py-idle/Makefile
diff options
context:
space:
mode:
authortsarna <tsarna@pkgsrc.org>2000-12-18 23:52:39 +0000
committertsarna <tsarna@pkgsrc.org>2000-12-18 23:52:39 +0000
commit65c1c21b339769512e6c95b0aba84c094e513d28 (patch)
tree88c088873567f87f5382598e2559a4b262500df1 /devel/py-idle/Makefile
parent00cf849bf9deaf78e032dae3635e49663e3a6e55 (diff)
downloadpkgsrc-65c1c21b339769512e6c95b0aba84c094e513d28.tar.gz
added py-idle from Jeff Rizzo in PR#11686
IDLE is the Integrated Development Environment for Python.
Diffstat (limited to 'devel/py-idle/Makefile')
-rw-r--r--devel/py-idle/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/devel/py-idle/Makefile b/devel/py-idle/Makefile
new file mode 100644
index 00000000000..3a4427c39f9
--- /dev/null
+++ b/devel/py-idle/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/18 23:52:39 tsarna Exp $
+#
+
+DISTNAME= ${PY_DISTNAME}
+PKGNAME= py-idle-0.6
+CATEGORIES= devel
+MASTER_SITES= ${PY_MASTER_SITES}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.python.org/idle/
+
+DEPENDS+= py-Tk>=${PY_VERSION}:../../x11/py-Tk
+
+USE_X11= yes
+WRKSRC= ${WRKDIR}/Python-${PY_VERSION}/Tools
+
+EXTRACT_ELEMENTS= Python-${PY_VERSION}/Tools/idle/*
+
+do-build:
+ ${PY_COMPILEDIR} ${WRKSRC}/idle
+
+do-install:
+ ${INSTALL_SCRIPT_DIR} ${PY_LIBDIR}/idle
+ ${INSTALL_SCRIPT_DIR} ${PY_LIBDIR}/idle/Icons
+ ${INSTALL_DATA} ${WRKSRC}/idle/*.py ${PY_LIBDIR}/idle
+ ${INSTALL_DATA} ${WRKSRC}/idle/*.pyc ${PY_LIBDIR}/idle
+ ${INSTALL_DATA} ${WRKSRC}/idle/*.txt ${PY_LIBDIR}/idle
+ ${INSTALL_DATA} ${WRKSRC}/idle/ChangeLog ${PY_LIBDIR}/idle
+ ${INSTALL_DATA} ${WRKSRC}/idle/Icons/* ${PY_LIBDIR}/idle/Icons
+ ${INSTALL_SCRIPT} ${WRKSRC}/idle/BrowserControl.py ${PY_LIBDIR}/idle
+ ${INSTALL_SCRIPT} ${WRKSRC}/idle/idle.py ${PY_LIBDIR}/idle
+
+post-install:
+ ${LN} -s ${PY_LIBDIR}/idle/idle.py \
+ ${LOCALBASE}/bin/idle
+
+.include "../../lang/python/Makefile.inc"
+.include "../../mk/bsd.pkg.mk"