From eb4a2b0b9f09a530dceca2379c2a012df2058956 Mon Sep 17 00:00:00 2001 From: Zsolt Udvari Date: Mon, 2 Jan 2023 12:43:33 +0100 Subject: [PATCH 2/2] New port: deskutils/R-cran-exams --- deskutils/Makefile | 1 + deskutils/R-cran-exams/Makefile | 23 +++++++++++++++++++++++ deskutils/R-cran-exams/distinfo | 3 +++ deskutils/R-cran-exams/pkg-descr | 11 +++++++++++ 4 files changed, 38 insertions(+) create mode 100644 deskutils/R-cran-exams/Makefile create mode 100644 deskutils/R-cran-exams/distinfo create mode 100644 deskutils/R-cran-exams/pkg-descr diff --git a/deskutils/Makefile b/deskutils/Makefile index cf569434c..662a822a9 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -1,5 +1,6 @@ COMMENT = Things that used to be on the desktop before computers were invented + SUBDIR += R-cran-exams SUBDIR += affiche SUBDIR += akonadi-calendar-tools SUBDIR += akonadi-import-wizard diff --git a/deskutils/R-cran-exams/Makefile b/deskutils/R-cran-exams/Makefile new file mode 100644 index 000000000..61b26959e --- /dev/null +++ b/deskutils/R-cran-exams/Makefile @@ -0,0 +1,23 @@ +PORTNAME= exams +DISTVERSION= 2.4-0 +CATEGORIES= deskutils education +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= uzsolt@uzsolt.hu +COMMENT= Automatic Generation of Exams in R +WWW= https://cran.r-project.org/web/packages/exams/ + +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= multi + +CRAN_DEPENDS= R-cran-knitr>0:print/R-cran-knitr \ + R-cran-magick>0:graphics/R-cran-magick \ + R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \ + R-cran-tinytex>0:print/R-cran-tinytex +BUILD_DEPENDS+= ${CRAN_DEPENDS} +RUN_DEPENDS+= hs-pandoc>0:textproc/hs-pandoc \ + ${CRAN_DEPENDS} + +USES= cran:auto-plist,compiles + +.include diff --git a/deskutils/R-cran-exams/distinfo b/deskutils/R-cran-exams/distinfo new file mode 100644 index 000000000..4acadd78e --- /dev/null +++ b/deskutils/R-cran-exams/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672605910 +SHA256 (exams_2.4-0.tar.gz) = fb1038a1bcc81e1e49fa0f9ac8dd3103cab1d7a143dbb48987c2387a6228553c +SIZE (exams_2.4-0.tar.gz) = 1753396 diff --git a/deskutils/R-cran-exams/pkg-descr b/deskutils/R-cran-exams/pkg-descr new file mode 100644 index 000000000..a41572737 --- /dev/null +++ b/deskutils/R-cran-exams/pkg-descr @@ -0,0 +1,11 @@ +Automatic generation of exams based on exercises in Markdown or LaTeX format, +possibly including R code for dynamic generation of exercise elements. + +Exercise types include single-choice and multiple-choice questions, +arithmetic problems, string questions, and combinations thereof (cloze). + +Output formats include standalone files (PDF, HTML, Docx, ODT, ...), Moodle XML, +QTI 1.2, QTI 2.1, Blackboard, Canvas, OpenOlat, ILIAS, TestVision, Particify, +ARSnova, Kahoot!, Grasple, and TCExam. +In addition to fully customizable PDF exams, a standardized PDF format (NOPS) +is provided that can be printed, scanned, and automatically evaluated. -- 2.38.1