git: 4332290c0606 - main - devel/R-cran-whisker: Update pkg-descr
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 Dec 2024 05:43:29 UTC
The branch main has been updated by uzsolt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4332290c0606b95109539965e4fa8b33c40cfab1
commit 4332290c0606b95109539965e4fa8b33c40cfab1
Author: Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2024-12-06 05:42:15 +0000
Commit: Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-12-06 05:43:19 +0000
devel/R-cran-whisker: Update pkg-descr
---
devel/R-cran-whisker/Makefile | 2 +-
devel/R-cran-whisker/pkg-descr | 18 +++++++++++++++++-
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/devel/R-cran-whisker/Makefile b/devel/R-cran-whisker/Makefile
index 547c9b29e9bc..dcd34f875afb 100644
--- a/devel/R-cran-whisker/Makefile
+++ b/devel/R-cran-whisker/Makefile
@@ -1,6 +1,6 @@
PORTNAME= whisker
DISTVERSION= 0.4.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
DISTNAME= ${PORTNAME}_${DISTVERSION}
diff --git a/devel/R-cran-whisker/pkg-descr b/devel/R-cran-whisker/pkg-descr
index 5e291fc77926..57f01a44d9cb 100644
--- a/devel/R-cran-whisker/pkg-descr
+++ b/devel/R-cran-whisker/pkg-descr
@@ -1 +1,17 @@
-Implements 'Mustache' logicless templating.
+Whisker is a {{Mustache}} implementation in R confirming to the Mustache
+specification. Mustache is a logicless templating language, meaning that no
+programming source code can be used in your templates. This may seem very
+limited, but Mustache is nonetheless powerful and has the advantage of being
+able to be used unaltered in many programming languages. It makes it very easy
+to write a web application in R using Mustache templates which could also be
+re-used for client-side rendering with "Mustache.js".
+
+Mustache (and therefore whisker) takes a simple, but different, approach to
+templating compared to most templating engines. Most templating libraries, such
+as Sweave, knitr and brew, allow the user to mix programming code and text
+throughout the template. This is powerful, but ties your template directly to a
+programming language and makes it difficult to seperate programming code from
+templating code.
+
+Whisker, on the other hand, takes a Mustache template and uses the variables of
+the current environment (or the supplied list) to fill in the variables.