git: 5bc5fd298922 - main - www/R-cran-pixture: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Oct 2025 14:02:27 UTC
The branch main has been updated by uzsolt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5bc5fd298922f727d55c239fea1bcb618ceb7222
commit 5bc5fd298922f727d55c239fea1bcb618ceb7222
Author: Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2025-10-06 14:01:04 +0000
Commit: Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-10-06 14:01:44 +0000
www/R-cran-pixture: New port
Pixture is an R package designed to create HTML image galleries. The galleries
can be standalone, included in an Rmarkdown/Quarto document or incorporated into
a Shiny app.
---
www/Makefile | 1 +
www/R-cran-pixture/Makefile | 37 +++++++++++++++++++++++++++++++++++++
www/R-cran-pixture/distinfo | 3 +++
www/R-cran-pixture/pkg-descr | 3 +++
4 files changed, 44 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index d2a30ac7c3e6..264c9b999472 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -13,6 +13,7 @@
SUBDIR += R-cran-jose
SUBDIR += R-cran-jquerylib
SUBDIR += R-cran-miniUI
+ SUBDIR += R-cran-pixture
SUBDIR += R-cran-pkgdown
SUBDIR += R-cran-rvest
SUBDIR += R-cran-scrapeR
diff --git a/www/R-cran-pixture/Makefile b/www/R-cran-pixture/Makefile
new file mode 100644
index 000000000000..1eb83984519a
--- /dev/null
+++ b/www/R-cran-pixture/Makefile
@@ -0,0 +1,37 @@
+PORTNAME= pixture
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.1.0
+CATEGORIES= www
+
+MAINTAINER= uzsolt@FreeBSD.org
+COMMENT= Responsive HTML Image Gallery
+WWW= https://www.royfrancis.com/pixture/
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS= R-cran-htmlwidgets>0:www/R-cran-htmlwidgets \
+ R-cran-shiny>0:www/R-cran-shiny
+TEST_DEPENDS= R-cran-testthat>0:devel/R-cran-testthat
+
+USES= cran:auto-plist
+USE_GITHUB= yes
+GH_ACCOUNT= royfrancis
+# The cran.mk overrides it.
+WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
+
+# The cran.mk's do-install and do-test want use directory ${PORTNAME}
+# instead of ${PORTNAME}-${DISTVERSION}.
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${R_LIB_DIR}
+ @cd ${WRKDIR} ; ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${R_COMMAND} \
+ ${R_PRECMD_INSTALL_OPTIONS} CMD INSTALL \
+ -l ${STAGEDIR}${PREFIX}/${R_LIB_DIR} ${PORTNAME}-${DISTVERSION}
+
+do-test:
+ @${FIND} ${WRKSRC} \( -name '*.o' -o -name '*.so' \) -delete
+ @cd ${WRKDIR} ; ${SETENVI} ${WRK_ENV} ${MAKE_ENV} _R_CHECK_FORCE_SUGGESTS_=FALSE \
+ ${R_COMMAND} ${R_PRECMD_CHECK_OPTIONS} CMD check \
+ --no-manual --no-build-vignettes ${PORTNAME}-${DISTVERSION}
+
+.include <bsd.port.mk>
diff --git a/www/R-cran-pixture/distinfo b/www/R-cran-pixture/distinfo
new file mode 100644
index 000000000000..0598bba9e686
--- /dev/null
+++ b/www/R-cran-pixture/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1759756467
+SHA256 (royfrancis-pixture-v0.1.0_GH0.tar.gz) = 5025a273f2b25604aa8bdc2c81690707e5e0ee18d8bd9ca39a0a6583eb5ca658
+SIZE (royfrancis-pixture-v0.1.0_GH0.tar.gz) = 6287253
diff --git a/www/R-cran-pixture/pkg-descr b/www/R-cran-pixture/pkg-descr
new file mode 100644
index 000000000000..4027454d1492
--- /dev/null
+++ b/www/R-cran-pixture/pkg-descr
@@ -0,0 +1,3 @@
+Pixture is an R package designed to create HTML image galleries. The galleries
+can be standalone, included in an Rmarkdown/Quarto document or incorporated into
+a Shiny app.