diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-09-07 19:12:25 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-09-07 19:12:25 +0000 |
commit | f31e2caaf84ba80a293939cfe26a62664c80465e (patch) | |
tree | c7b84034d63a566f693f6d209b8fef08fe64a2cd | |
parent | 9234242213a238adf97bfaf176bc64f6be40f9cd (diff) | |
download | ports-f31e2caaf84ba80a293939cfe26a62664c80465e.tar.gz ports-f31e2caaf84ba80a293939cfe26a62664c80465e.zip |
textproc/quarto: Add R option
-rw-r--r-- | textproc/quarto/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
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 '' \ |