git: 4980abd9e176 - main - deskutils/R-cran-exams2forms: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Sep 2025 13:24:18 UTC
The branch main has been updated by uzsolt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4980abd9e17666c292a13f0457ca3bcb600b2f74
commit 4980abd9e17666c292a13f0457ca3bcb600b2f74
Author: Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2025-09-25 13:21:24 +0000
Commit: Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-09-25 13:22:17 +0000
deskutils/R-cran-exams2forms: New port
The exams2forms provides several building blocks for embedding exercises
written with the R package exams (also known as R/exams) in interactive
documents or quizzes written with rmarkdown or quarto.
All R/exams exercise types are supported:
* Single-choice (schoice).
* Multiple-choice (mchoice).
* Numeric (num).
* Text (string).
* Cloze combining all of the previous elements (cloze).
---
deskutils/Makefile | 1 +
deskutils/R-cran-exams2forms/Makefile | 21 +++++++++++++++++++++
deskutils/R-cran-exams2forms/distinfo | 3 +++
deskutils/R-cran-exams2forms/pkg-descr | 10 ++++++++++
4 files changed, 35 insertions(+)
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 59b81e27083b..e9d18b6726b5 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -1,6 +1,7 @@
COMMENT = Things that used to be on the desktop before computers were invented
SUBDIR += R-cran-exams
+ SUBDIR += R-cran-exams2forms
SUBDIR += affiche
SUBDIR += akonadi-calendar-tools
SUBDIR += akonadi-import-wizard
diff --git a/deskutils/R-cran-exams2forms/Makefile b/deskutils/R-cran-exams2forms/Makefile
new file mode 100644
index 000000000000..e04c758e2240
--- /dev/null
+++ b/deskutils/R-cran-exams2forms/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= exams2forms
+DISTVERSION= 0.2-0
+CATEGORIES= deskutils education
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= uzsolt@FreeBSD.org
+COMMENT= Embedding exams exercises in rmarkdown or quarto documents
+WWW= https://cran.r-project.org/package=exams2forms
+
+LICENSE= GPLv3
+
+RUN_DEPENDS= R-cran-base64enc>0:converters/R-cran-base64enc \
+ R-cran-digest>0:security/R-cran-digest \
+ R-cran-exams>=2.4-2:deskutils/R-cran-exams \
+ R-cran-knitr>0:print/R-cran-knitr \
+ R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \
+ R-cran-xfun>0:misc/R-cran-xfun
+
+USES= cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/deskutils/R-cran-exams2forms/distinfo b/deskutils/R-cran-exams2forms/distinfo
new file mode 100644
index 000000000000..daf14abf8b1f
--- /dev/null
+++ b/deskutils/R-cran-exams2forms/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1758768136
+SHA256 (exams2forms_0.2-0.tar.gz) = 077f25cd1d0494405043c2bba5f2027eca8d78d5289bc1f4e045516584ab77f7
+SIZE (exams2forms_0.2-0.tar.gz) = 1330098
diff --git a/deskutils/R-cran-exams2forms/pkg-descr b/deskutils/R-cran-exams2forms/pkg-descr
new file mode 100644
index 000000000000..8c8890db0835
--- /dev/null
+++ b/deskutils/R-cran-exams2forms/pkg-descr
@@ -0,0 +1,10 @@
+The exams2forms provides several building blocks for embedding exercises
+written with the R package exams (also known as R/exams) in interactive
+documents or quizzes written with rmarkdown or quarto.
+
+All R/exams exercise types are supported:
+* Single-choice (schoice).
+* Multiple-choice (mchoice).
+* Numeric (num).
+* Text (string).
+* Cloze combining all of the previous elements (cloze).