svn commit: r389169 - in head/devel/drpython: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Jun 11 09:26:05 UTC 2015


Author: amdmi3
Date: Thu Jun 11 09:26:03 2015
New Revision: 389169
URL: https://svnweb.freebsd.org/changeset/ports/389169

Log:
  - Fix wrapper script
  
  MFH:		2015Q2

Added:
  head/devel/drpython/files/patch-drpython.lin   (contents, props changed)
Modified:
  head/devel/drpython/Makefile

Modified: head/devel/drpython/Makefile
==============================================================================
--- head/devel/drpython/Makefile	Thu Jun 11 09:25:59 2015	(r389168)
+++ head/devel/drpython/Makefile	Thu Jun 11 09:26:03 2015	(r389169)
@@ -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,8 @@ 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
+	cat ${WRKSRC}/drpython.lin
 
 pre-build:
 	@(cd ${WRKSRC}/docsrc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} html)

Added: head/devel/drpython/files/patch-drpython.lin
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/drpython/files/patch-drpython.lin	Thu Jun 11 09:26:03 2015	(r389169)
@@ -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


More information about the svn-ports-all mailing list