summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangyuan Yang <ygy@FreeBSD.org>2022-01-16 21:24:51 -0500
committerGuangyuan Yang <ygy@FreeBSD.org>2022-01-16 21:24:51 -0500
commite96534ec1ad9b41bf12c9dcb6a18e622f9c1958f (patch)
tree2efe3870c8c9f87ddd44776b68107688ccac2869
parentwww/gohugo: Update to 0.92.0 (diff)
devel/R-cran-pak: New port: Another Approach to Package Installation
-rw-r--r--devel/Makefile1
-rw-r--r--devel/R-cran-pak/Makefile37
-rw-r--r--devel/R-cran-pak/distinfo3
-rw-r--r--devel/R-cran-pak/pkg-descr8
4 files changed, 49 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 08c457cd1296..506da8438ee7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -75,6 +75,7 @@
SUBDIR += R-cran-microbenchmark
SUBDIR += R-cran-mockery
SUBDIR += R-cran-optparse
+ SUBDIR += R-cran-pak
SUBDIR += R-cran-parallelly
SUBDIR += R-cran-pillar
SUBDIR += R-cran-pkgbuild
diff --git a/devel/R-cran-pak/Makefile b/devel/R-cran-pak/Makefile
new file mode 100644
index 000000000000..bea747bc3902
--- /dev/null
+++ b/devel/R-cran-pak/Makefile
@@ -0,0 +1,37 @@
+# Created by: Guangyuan Yang <ygy@FreeBSD.org>
+
+PORTNAME= pak
+DISTVERSION= 0.2.1
+CATEGORIES= devel
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= ygy@FreeBSD.org
+COMMENT= Another Approach to Package Installation
+
+LICENSE= GPLv3
+
+TEST_DEPENDS= R-cran-jsonlite>0:converters/R-cran-jsonlite \
+ R-cran-callr>=3.5.0:devel/R-cran-callr \
+ R-cran-cli>=3.0.0:devel/R-cran-cli \
+ R-cran-covr>0:devel/R-cran-covr \
+ R-cran-filelock>=1.0.2:devel/R-cran-filelock \
+ R-cran-glue>=1.3.0:devel/R-cran-glue \
+ R-cran-mockery>0:devel/R-cran-mockery \
+ R-cran-pkgcache>=1.2.0:devel/R-cran-pkgcache \
+ R-cran-prettyunits>0:devel/R-cran-prettyunits \
+ R-cran-rprojroot>=1.3.2:devel/R-cran-rprojroot \
+ R-cran-rstudioapi>0:devel/R-cran-rstudioapi \
+ R-cran-testthat>0:devel/R-cran-testthat \
+ R-cran-tibble>0:devel/R-cran-tibble \
+ R-cran-withr>0:devel/R-cran-withr \
+ R-cran-curl>0:ftp/R-cran-curl \
+ R-cran-pingr>0:net/R-cran-pingr \
+ R-cran-processx>=3.5.1:sysutils/R-cran-processx \
+ R-cran-ps>=1.6.0:sysutils/R-cran-ps
+
+USES= cran:auto-plist
+
+post-install:
+ @${ECHO_CMD} "@dir ${R_MOD_DIR}/library" >> ${TMPPLIST}
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-pak/distinfo b/devel/R-cran-pak/distinfo
new file mode 100644
index 000000000000..5b9b8f88b8a1
--- /dev/null
+++ b/devel/R-cran-pak/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1642237872
+SHA256 (pak_0.2.1.tar.gz) = ecc78f71fa95a81bb24cc9ba65340923f0579e91e9caa4a2f0ecef8c55f7d46c
+SIZE (pak_0.2.1.tar.gz) = 68695
diff --git a/devel/R-cran-pak/pkg-descr b/devel/R-cran-pak/pkg-descr
new file mode 100644
index 000000000000..d3fb27a0104b
--- /dev/null
+++ b/devel/R-cran-pak/pkg-descr
@@ -0,0 +1,8 @@
+The goal of 'pak' is to make package installation faster and more reliable. In
+particular, it performs all HTTP operations in parallel, so metadata resolution
+and package downloads are fast. Metadata and package files are cached on the
+local disk as well. 'pak' has a dependency solver, so it finds version
+conflicts before performing the installation. This version of 'pak' supports
+CRAN, 'Bioconductor' and 'GitHub' packages as well.
+
+WWW: https://pak.r-lib.org/