git: 1ce5b6d326db - main - math/R-cran-gbutils: New port: Utilities for Simulation, Plots, Quantile Functions and Programming

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Tue, 06 Dec 2022 23:37:52 UTC
The branch main has been updated by ygy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1ce5b6d326dbff76111968c29f27611c480967c3

commit 1ce5b6d326dbff76111968c29f27611c480967c3
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2022-12-06 23:37:44 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2022-12-06 23:37:44 +0000

    math/R-cran-gbutils: New port: Utilities for Simulation, Plots, Quantile Functions and Programming
---
 math/Makefile                 |  1 +
 math/R-cran-gbutils/Makefile  | 17 +++++++++++++++++
 math/R-cran-gbutils/distinfo  |  3 +++
 math/R-cran-gbutils/pkg-descr |  8 ++++++++
 4 files changed, 29 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index b18c28517c66..954c1edbc1cc 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -62,6 +62,7 @@
     SUBDIR += R-cran-forcats
     SUBDIR += R-cran-forecast
     SUBDIR += R-cran-fracdiff
+    SUBDIR += R-cran-gbutils
     SUBDIR += R-cran-geepack
     SUBDIR += R-cran-geometry
     SUBDIR += R-cran-gmp
diff --git a/math/R-cran-gbutils/Makefile b/math/R-cran-gbutils/Makefile
new file mode 100644
index 000000000000..6ce5669dfd6b
--- /dev/null
+++ b/math/R-cran-gbutils/Makefile
@@ -0,0 +1,17 @@
+PORTNAME=	gbutils
+DISTVERSION=	0.5
+CATEGORIES=	math
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	ygy@FreeBSD.org
+COMMENT=	Utilities for Simulation, Plots, Quantile Functions and Programming
+WWW=		https://github.com/GeoBosh/gbutils
+
+LICENSE=	GPLv2+
+
+RUN_DEPENDS=	R-cran-Rdpack>=0.9:devel/R-cran-Rdpack
+TEST_DEPENDS=	R-cran-testthat>=3.0.0:devel/R-cran-testthat
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-gbutils/distinfo b/math/R-cran-gbutils/distinfo
new file mode 100644
index 000000000000..7cd0c8957000
--- /dev/null
+++ b/math/R-cran-gbutils/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1670305562
+SHA256 (gbutils_0.5.tar.gz) = ae53356b4e039d937bdd66ec5dd1f061d651b574fa2671997cb0c7e26265c6be
+SIZE (gbutils_0.5.tar.gz) = 110921
diff --git a/math/R-cran-gbutils/pkg-descr b/math/R-cran-gbutils/pkg-descr
new file mode 100644
index 000000000000..8182290d8372
--- /dev/null
+++ b/math/R-cran-gbutils/pkg-descr
@@ -0,0 +1,8 @@
+Plot density and distribution functions with automatic selection of suitable
+regions. Numerically invert (compute quantiles) distribution functions.
+Simulate real and complex numbers from distributions of their magnitude and
+arguments. Optionally, the magnitudes and/or arguments may be fixed in almost
+arbitrary ways. Create polynomials from roots given in Cartesian or polar form.
+Small programming utilities: check if an object is identical to NA, count
+positional arguments in a call, set intersection of more than two sets, check
+if an argument is unnamed, compute the graph of S4 classes in packages.