From c09fd940eec28a933f58e3b12167ec7b043f2297 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Fri, 22 Sep 2000 11:56:23 +0000 Subject: Pythonize. --- devel/idlefork/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'devel/idlefork') diff --git a/devel/idlefork/Makefile b/devel/idlefork/Makefile index 9b9f244119ba..7f72618b4bf2 100644 --- a/devel/idlefork/Makefile +++ b/devel/idlefork/Makefile @@ -13,19 +13,20 @@ EXTRACT_SUFX= .tgz MAINTAINER= sobomax@FreeBSD.org -BUILD_DEPENDS= ${LOCALBASE}/bin/python:${PORTSDIR}/lang/python -RUN_DEPENDS= ${LOCALBASE}/lib/python1.5/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter +RUN_DEPENDS= ${PYTHON_LIBDIR}/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter + +USE_PYTHON= yes +PYTHON_VERSION= python1.5 do-build: - ${LOCALBASE}/bin/python \ - ${LOCALBASE}/lib/python1.5/compileall.py ${WRKSRC} + ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} do-install: @${MKDIR} ${PREFIX}/share/idle/Icons @cd ${WRKSRC} && \ ${INSTALL_DATA} *.py? help.txt ${PREFIX}/share/idle @${INSTALL_DATA} ${WRKSRC}/Icons/* ${PREFIX}/share/idle/Icons - @printf "#!/bin/sh\n${LOCALBASE}/bin/python ${PREFIX}/share/idle/idle.pyc\n" \ + @printf "#!/bin/sh\n${PYTHON_CMD} ${PREFIX}/share/idle/idle.pyc\n" \ > ${WRKDIR}/idle.sh @${INSTALL_SCRIPT} ${WRKDIR}/idle.sh ${PREFIX}/bin/idle .if !defined(NOPORTDOCS) -- cgit v1.2.3