1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Fix wrapper script

MFH:		2015Q2
This commit is contained in:
Dmitry Marakasov 2015-06-11 09:26:03 +00:00
parent 3b28acf3c5
commit ff367a0d47
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=389169
2 changed files with 10 additions and 1 deletions

View File

@ -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)

View File

@ -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