diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-06-16 01:21:10 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-06-16 01:21:10 +0000 |
commit | 45a2af01104e4b32512a4890e6f76234526209fc (patch) | |
tree | 8d92ac97987efd6ee757b49416b49bed4a0ad011 | |
parent | 0b14ee2fd2d15a103ddf2d14b0748de853edec25 (diff) | |
download | ports-45a2af01104e4b32512a4890e6f76234526209fc.tar.gz ports-45a2af01104e4b32512a4890e6f76234526209fc.zip |
MFH: r389169
- Fix wrapper script
Approved by: ports-secteam (shebang fix blanket)
Notes
Notes:
svn path=/branches/2015Q2/; revision=389805
-rw-r--r-- | devel/drpython/Makefile | 3 | ||||
-rw-r--r-- | devel/drpython/files/patch-drpython.lin | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/devel/drpython/Makefile b/devel/drpython/Makefile index bb99eaeb60fd..56bbdbcf3ec4 100644 --- a/devel/drpython/Makefile +++ b/devel/drpython/Makefile @@ -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) diff --git a/devel/drpython/files/patch-drpython.lin b/devel/drpython/files/patch-drpython.lin new file mode 100644 index 000000000000..e6b029cb26e7 --- /dev/null +++ b/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 |