From owner-svn-ports-all@FreeBSD.ORG Sat Dec 14 12:56:38 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DBC08C74; Sat, 14 Dec 2013 12:56:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C781F10A2; Sat, 14 Dec 2013 12:56:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBECucKQ075835; Sat, 14 Dec 2013 12:56:38 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBECucqR075834; Sat, 14 Dec 2013 12:56:38 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201312141256.rBECucqR075834@svn.freebsd.org> From: William Grzybowski Date: Sat, 14 Dec 2013 12:56:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336442 - head/devel/drpython X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Dec 2013 12:56:38 -0000 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