git: f31e2caaf84b - main - textproc/quarto: Add R option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Sep 2024 02:13:09 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f31e2caaf84ba80a293939cfe26a62664c80465e
commit f31e2caaf84ba80a293939cfe26a62664c80465e
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-07 19:12:25 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-07 19:12:25 +0000
textproc/quarto: Add R option
---
textproc/quarto/Makefile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/textproc/quarto/Makefile b/textproc/quarto/Makefile
index b115a0383df2..ab0e7c999246 100644
--- a/textproc/quarto/Makefile
+++ b/textproc/quarto/Makefile
@@ -1,6 +1,6 @@
PORTNAME= quarto
DISTVERSION= 1.6.9
-PORTREVISION= 3
+PORTREVISION= 4
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
@@ -33,6 +33,13 @@ PLIST_SUB+= XARCH=${XARCH}
NO_BUILD= yes
+OPTIONS_DEFINE= R
+
+R_DESC= Install R dependency
+R_RUN_DEPENDS= R:math/R \
+ R-cran-knitr>0:print/R-cran-knitr
+ #R-cran-rmarkdown>0:textproc/R-cran-rmarkdown # conflicts with hs-pandoc32
+
post-patch:
# replace tokens in the quarto executable and in run-tests.sh
${REINPLACE_CMD} -i '' \