diff options
Diffstat (limited to 'www/R-cran-pixture')
-rw-r--r-- | www/R-cran-pixture/Makefile | 37 | ||||
-rw-r--r-- | www/R-cran-pixture/distinfo | 3 | ||||
-rw-r--r-- | www/R-cran-pixture/pkg-descr | 3 |
3 files changed, 43 insertions, 0 deletions
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. |