aboutsummaryrefslogtreecommitdiff
path: root/french
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-04-09 21:34:25 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-04-09 21:34:25 +0000
commit048f7df2bc6cd72f60742ea9a30e149a51599e0b (patch)
treec3061d18827cc95fe7ae39a49ad4a08f269f0cee /french
parentfd3a9ebe623da2557f7a6f6f748bacc739bd9859 (diff)
downloadports-048f7df2bc6cd72f60742ea9a30e149a51599e0b.tar.gz
ports-048f7df2bc6cd72f60742ea9a30e149a51599e0b.zip
Restore the previous sed to fix python.
Reported by: swills
Notes
Notes: svn path=/head/; revision=350743
Diffstat (limited to 'french')
-rw-r--r--french/tvdownloader/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/french/tvdownloader/Makefile b/french/tvdownloader/Makefile
index 3d407ce9e8a3..99075163643d 100644
--- a/french/tvdownloader/Makefile
+++ b/french/tvdownloader/Makefile
@@ -24,10 +24,12 @@ MECHA_EGG= mechanize-${MECHA_VER}-${PYTHON_VERSION:S/thon//}${PYEASYINSTALL_OSAR
USE_PYTHON= yes
USES= shebangfix
-SHEBANG_FILES= Makefile src/Makefile doc/installdox
+SHEBANG_FILES= doc/installdox
ALL_TARGET= build
pre-configure:
+ ${REINPLACE_CMD} -e 's|@python|${PYTHON_CMD}|' \
+ ${WRKSRC}/Makefile ${WRKSRC}/src/Makefile
${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
${WRKSRC}/tvdownloader.sh
${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \