diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-22 11:56:23 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-22 11:56:23 +0000 |
commit | c09fd940eec28a933f58e3b12167ec7b043f2297 (patch) | |
tree | ab5cb2a262b8bbf147fc32efabd6dbca37665d41 | |
parent | Upgrade to 16.1.1. (diff) |
Pythonize.
Notes
Notes:
svn path=/head/; revision=33002
-rw-r--r-- | devel/idle/Makefile | 11 | ||||
-rw-r--r-- | devel/idlefork/Makefile | 11 |
2 files changed, 12 insertions, 10 deletions
diff --git a/devel/idle/Makefile b/devel/idle/Makefile index 9b9f244119ba..7f72618b4bf2 100644 --- a/devel/idle/Makefile +++ b/devel/idle/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) 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) |