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.
This commit is contained in:
Zsolt Udvari
2025-10-06 16:01:04 +02:00
parent 1f36ced64d
commit 5bc5fd2989
4 changed files with 44 additions and 0 deletions

View File

@@ -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

View File

@@ -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>

View File

@@ -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

View File

@@ -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.