git: f755e9cc8c39 - main - devel/R-cran-clock: Add new port

From: TAKATSU Tomonari <tota_at_FreeBSD.org>
Date: Wed, 10 May 2023 02:59:07 UTC
The branch main has been updated by tota:

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

commit f755e9cc8c39928b666170815b19943e34dd9fb3
Author:     TAKATSU Tomonari <tota@FreeBSD.org>
AuthorDate: 2023-05-08 22:45:33 +0000
Commit:     TAKATSU Tomonari <tota@FreeBSD.org>
CommitDate: 2023-05-10 02:37:09 +0000

    devel/R-cran-clock: Add new port
    
    Provides a comprehensive library for date-time manipulations using
    a new family of orthogonal date-time classes (durations, time points,
    zoned-times, and calendars) that partition responsibilities so that
    the complexities of time zones are only considered when they are
    really needed. Capabilities include: date-time parsing, formatting,
    arithmetic, extraction and updating of components, and rounding.
---
 devel/Makefile               |  1 +
 devel/R-cran-clock/Makefile  | 21 +++++++++++++++++++++
 devel/R-cran-clock/distinfo  |  3 +++
 devel/R-cran-clock/pkg-descr |  6 ++++++
 4 files changed, 31 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 6061384dc095..3c943afce144 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -31,6 +31,7 @@
     SUBDIR += R-cran-cliapp
     SUBDIR += R-cran-clipr
     SUBDIR += R-cran-clisymbols
+    SUBDIR += R-cran-clock
     SUBDIR += R-cran-collapse
     SUBDIR += R-cran-covr
     SUBDIR += R-cran-cpp11
diff --git a/devel/R-cran-clock/Makefile b/devel/R-cran-clock/Makefile
new file mode 100644
index 000000000000..8cfda060e4e6
--- /dev/null
+++ b/devel/R-cran-clock/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	clock
+PORTVERSION=	0.6.1
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${PORTVERSION}
+
+MAINTAINER=	tota@FreeBSD.org
+COMMENT=	Date-Time Types and Tools
+WWW=		https://cran.r-project.org/web/packages/clock/
+
+LICENSE=	MIT
+
+CRAN_DEPENDS=	R-cran-cpp11>=0.4.2:devel/R-cran-cpp11 \
+		R-cran-rlang>=1.0.4:devel/R-cran-rlang \
+		R-cran-tzdb>=0.3.0:devel/R-cran-tzdb \
+		R-cran-vctrs>=0.4.1:devel/R-cran-vctrs
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+RUN_DEPENDS=	${CRAN_DEPENDS}
+
+USES=		cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-clock/distinfo b/devel/R-cran-clock/distinfo
new file mode 100644
index 000000000000..f7683f8c35d1
--- /dev/null
+++ b/devel/R-cran-clock/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1683585438
+SHA256 (clock_0.6.1.tar.gz) = f80c385fd8229538968ffb71d7de53ddc82bfcec6641f8e76f299546c43c1702
+SIZE (clock_0.6.1.tar.gz) = 501028
diff --git a/devel/R-cran-clock/pkg-descr b/devel/R-cran-clock/pkg-descr
new file mode 100644
index 000000000000..a91b00f479d1
--- /dev/null
+++ b/devel/R-cran-clock/pkg-descr
@@ -0,0 +1,6 @@
+Provides a comprehensive library for date-time manipulations using
+a new family of orthogonal date-time classes (durations, time points,
+zoned-times, and calendars) that partition responsibilities so that
+the complexities of time zones are only considered when they are
+really needed. Capabilities include: date-time parsing, formatting,
+arithmetic, extraction and updating of components, and rounding.