git: eb31dcb98033 - main - textproc/quarto: Don't expect python3 in PATH
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Sep 2024 02:56:27 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=eb31dcb98033e977e66c6bb41862a91714e47113
commit eb31dcb98033e977e66c6bb41862a91714e47113
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-07 19:55:11 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-07 19:56:24 +0000
textproc/quarto: Don't expect python3 in PATH
---
textproc/quarto/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/textproc/quarto/Makefile b/textproc/quarto/Makefile
index ab0e7c999246..d96650489dc6 100644
--- a/textproc/quarto/Makefile
+++ b/textproc/quarto/Makefile
@@ -1,6 +1,6 @@
PORTNAME= quarto
DISTVERSION= 1.6.9
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= textproc
MASTER_SITES= https://github.com/quarto-dev/quarto-cli/releases/download/v${DISTVERSION}/
DISTFILES= quarto-${DISTVERSION}-linux-amd64.tar.gz # same for all architectures
@@ -48,6 +48,8 @@ post-patch:
${REINPLACE_CMD} \
-e 's|%%SCRIPT_PATH%%|${STAGEDIR}${DATADIR}/bin|; s|%%ARCH_DIR%%|${XARCH}|; s|%%REPO%%|${WRKSRC}/repo|; s|$$DENO_DIR|${LOCALBASE}/bin|' \
${WRKSRC}/repo/tests/run-tests.sh
+ # replace python3 with the real python executable path
+ ${REINPLACE_CMD} -e 's|"python3"|"${PYTHON_CMD}"|' ${WRKSRC}/bin/quarto.js
do-install:
# copy files from the tarball