Date: Sat, 14 Dec 2013 12:56:38 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336442 - head/devel/drpython Message-ID: <201312141256.rBECucqR075834@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wg Date: Sat Dec 14 12:56:38 2013 New Revision: 336442 URL: http://svnweb.freebsd.org/changeset/ports/336442 Log: devel/drpython: use easy_install and python auto plist - This is in preparation for setuptools only python ports Deleted: head/devel/drpython/pkg-plist Modified: head/devel/drpython/Makefile Modified: head/devel/drpython/Makefile ============================================================================== --- head/devel/drpython/Makefile Sat Dec 14 12:46:13 2013 (r336441) +++ head/devel/drpython/Makefile Sat Dec 14 12:56:38 2013 (r336442) @@ -18,7 +18,8 @@ WRKSRC= ${WRKDIR}/DrPython USE_ZIP= yes USE_PYTHON= yes -USE_PYDISTUTILS= yes +USE_PYDISTUTILS= easy_install +PYDISTUTILS_AUTOPLIST= yes PYDISTUTILS_PKGNAME= DrPython USE_WX= 2.6+ WX_COMPS= python:lib @@ -27,10 +28,12 @@ DESKTOP_ENTRIES= "DrPython" "Python edit "${PYTHONPREFIX_SITELIBDIR}/drpython/bitmaps/drpython.png" \ "drpython" "Development;IDE;" "false" +PLIST_FILES= bin/drpython + NO_STAGE= yes post-install: @${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/drpython.sh - @${ECHO_CMD} '(cd ${PYTHONPREFIX_SITELIBDIR}/drpython && ${PYTHON_CMD} drpython.py)' >> ${WRKDIR}/drpython.sh - @${INSTALL_SCRIPT} ${WRKDIR}/drpython.sh ${PREFIX}/bin/drpython + @${ECHO_CMD} 'exec ${PYTHON_CMD} -m drpython.drpython' >> ${WRKDIR}/drpython.sh + ${INSTALL_SCRIPT} ${WRKDIR}/drpython.sh ${PREFIX}/bin/drpython .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312141256.rBECucqR075834>