Date: 19 Jul 2005 13:22:01 +0200 From: Nicola Vitale <nivit@email.it> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/83717: [MAINTAINER] graphics/py-visual: fix idle path in vpython script Message-ID: <20050719112201.37007.qmail@stellina> Resent-Message-ID: <200507191150.j6JBoHAH003664@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83717 >Category: ports >Synopsis: [MAINTAINER] graphics/py-visual: fix idle path in vpython script >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jul 19 11:50:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Nicola Vitale >Release: FreeBSD 5.4-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD stellina.domo.sva 5.4-RELEASE-p4 FreeBSD 5.4-RELEASE-p4 #1: Sat Jul 16 15:18:36 CEST 2005 >Description: Fix the path of idle in vpython script. Added file(s): - files/patch-bin-vpython.in Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- py-visual-3.2.1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/graphics/py-visual/Makefile /mnt/ufs-ad1s1e/ports/graphics/py-visual.patch/Makefile --- /usr/ports/graphics/py-visual/Makefile Sun Jul 17 18:36:41 2005 +++ /mnt/ufs-ad1s1e/ports/graphics/py-visual.patch/Makefile Tue Jul 19 10:50:04 2005 @@ -24,19 +24,29 @@ USE_GNOME= gtk12 USE_LIBTOOL_VER= 15 USE_PYTHON= 2.3+ +USE_REINPLACE= yes USE_XLIB= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-html-dir=${DOCSDIR} \ --with-example-dir=${EXAMPLESDIR} +CONFIGURE_ENV= PYTHONPATH=${PYTHON_LIBDIR} .if defined(NOPORTDOCS) CONFIGURE_ARGS+= --disable-docs .endif +VPYTHON_SCRIPT= bin/vpython.in + .include <bsd.port.pre.mk> .if ${OSVERSION} < 500000 BROKEN= "does not compile" .endif + +post-patch: + @cd ${WRKSRC}; \ + ${REINPLACE_CMD} -e 's|%%PYTHONBASE%%|${PYTHONBASE}|g' \ + -e 's|%%PYTHON_VERSION%%|${PYTHON_VERSION:S/python//g}|g' \ + ${VPYTHON_SCRIPT} .include <bsd.port.post.mk> diff -ruN --exclude=CVS /usr/ports/graphics/py-visual/files/patch-bin-vpython.in /mnt/ufs-ad1s1e/ports/graphics/py-visual.patch/files/patch-bin-vpython.in --- /usr/ports/graphics/py-visual/files/patch-bin-vpython.in Thu Jan 1 01:00:00 1970 +++ /mnt/ufs-ad1s1e/ports/graphics/py-visual.patch/files/patch-bin-vpython.in Tue Jul 19 10:40:52 2005 @@ -0,0 +1,12 @@ +$FreeBSD$ +--- bin/vpython.in Fri Feb 25 21:39:38 2005 ++++ bin/vpython.in.port Tue Jul 19 10:35:23 2005 +@@ -2,7 +2,7 @@ + # Variables determined by configure. + PYTHON=@PYTHON@ + visualexampledir=@visualexampledir@ +-IDLE=idle ++IDLE=%%PYTHONBASE%%/bin/idle%%PYTHON_VERSION%% + PYTHONPATH=@PYTHONPATH@ + export PYTHONPATH + --- py-visual-3.2.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050719112201.37007.qmail>