Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2015 01:21:10 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r389805 - in branches/2015Q2/devel/drpython: . files
Message-ID:  <201506160121.t5G1LAkO008475@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jun 16 01:21:10 2015
New Revision: 389805
URL: https://svnweb.freebsd.org/changeset/ports/389805

Log:
  MFH: r389169
  
  - Fix wrapper script
  
  Approved by:	ports-secteam (shebang fix blanket)

Added:
  branches/2015Q2/devel/drpython/files/patch-drpython.lin
     - copied unchanged from r389169, head/devel/drpython/files/patch-drpython.lin
Modified:
  branches/2015Q2/devel/drpython/Makefile
Directory Properties:
  branches/2015Q2/   (props changed)

Modified: branches/2015Q2/devel/drpython/Makefile
==============================================================================
--- branches/2015Q2/devel/drpython/Makefile	Tue Jun 16 01:16:17 2015	(r389804)
+++ branches/2015Q2/devel/drpython/Makefile	Tue Jun 16 01:21:10 2015	(r389805)
@@ -3,7 +3,7 @@
 
 PORTNAME=	drpython
 PORTVERSION=	3.11.4
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel python
 MASTER_SITES=	SF/${PORTNAME}/DrPython%20%283.x%29/${PORTVERSION}
 PKGNAMESUFFIX=	${PYTHON_PKGNAMESUFFIX}
@@ -37,6 +37,7 @@ post-patch:
 	@${RM} ${WRKSRC}/setup.cfg
 	@${REINPLACE_CMD} -e \
 		's|firefox|xdg-open|' ${WRKSRC}/drPreferences.py
+	@${REINPLACE_CMD} -e 's|%%PYTHON%%|${PYTHON_CMD}|' ${WRKSRC}/drpython.lin
 
 pre-build:
 	@(cd ${WRKSRC}/docsrc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} html)

Copied: branches/2015Q2/devel/drpython/files/patch-drpython.lin (from r389169, head/devel/drpython/files/patch-drpython.lin)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2015Q2/devel/drpython/files/patch-drpython.lin	Tue Jun 16 01:21:10 2015	(r389805, copy of r389169, head/devel/drpython/files/patch-drpython.lin)
@@ -0,0 +1,7 @@
+--- drpython.lin.orig	2014-04-20 17:50:40 UTC
++++ drpython.lin
+@@ -1,2 +1,2 @@
+-#!/bin/bash
+-python ${0%/*}/drpython.pyw
++#!/bin/sh
++%%PYTHON%% ${0%/*}/drpython.pyw



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506160121.t5G1LAkO008475>