git: d8fa5b7a8bcb - main - devel/R-cran-decor: New port: Retrieve Code Decorations

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 06 Jul 2023 08:53:30 UTC
The branch main has been updated by eduardo:

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

commit d8fa5b7a8bcbbc6f1963133571b861e8bae6d084
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-07-06 06:44:54 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-07-06 08:53:17 +0000

    devel/R-cran-decor: New port: Retrieve Code Decorations
    
    Retrieves code comment decorations for C++ languages of the form
    '\\ [[xyz]]', which are used for automated wrapping of C++ functions.
    
    WWW: https://cran.r-project.org/web/packages/decor/
---
 devel/Makefile               |  1 +
 devel/R-cran-decor/Makefile  | 21 +++++++++++++++++++++
 devel/R-cran-decor/distinfo  |  3 +++
 devel/R-cran-decor/pkg-descr |  2 ++
 4 files changed, 27 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 030c48db7822..524b3efdcfc1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -38,6 +38,7 @@
     SUBDIR += R-cran-crayon
     SUBDIR += R-cran-cyclocomp
     SUBDIR += R-cran-data.table
+    SUBDIR += R-cran-decor
     SUBDIR += R-cran-desc
     SUBDIR += R-cran-devtools
     SUBDIR += R-cran-diffobj
diff --git a/devel/R-cran-decor/Makefile b/devel/R-cran-decor/Makefile
new file mode 100644
index 000000000000..06ef3b5ad9e9
--- /dev/null
+++ b/devel/R-cran-decor/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	decor
+DISTVERSION=	1.0.2
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${PORTVERSION}
+
+MAINTAINER=	eduardo@FreeBSD.org
+COMMENT=	Retrieve Code Decorations
+WWW=		https://cran.r-project.org/web/packages/decor/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+CRAN_DEPENDS=	R-cran-tibble>0:devel/R-cran-tibble \
+		R-cran-vctrs>0:devel/R-cran-vctrs
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+RUN_DEPENDS=	${CRAN_DEPENDS}
+TEST_DEPENDS=	R-cran-testthat>0:devel/R-cran-testthat
+
+USES=		cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-decor/distinfo b/devel/R-cran-decor/distinfo
new file mode 100644
index 000000000000..6c34be6ee318
--- /dev/null
+++ b/devel/R-cran-decor/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1688621906
+SHA256 (decor_1.0.2.tar.gz) = 2e6c0cf3804253298c43c7cc64e389cf0ef2bebdca18753a487b9861e54671f6
+SIZE (decor_1.0.2.tar.gz) = 9947
diff --git a/devel/R-cran-decor/pkg-descr b/devel/R-cran-decor/pkg-descr
new file mode 100644
index 000000000000..f334d0908392
--- /dev/null
+++ b/devel/R-cran-decor/pkg-descr
@@ -0,0 +1,2 @@
+Retrieves code comment decorations for C++ languages of the form
+'\\ [[xyz]]', which are used for automated wrapping of C++ functions.