Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2024 14:52:40 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 250d0bb575f8 - main - print/R-cran-textshaping: New port: Bindings to the 'HarfBuzz' and 'Fribidi' Libraries for Text Shaping
Message-ID:  <202404061452.436Eqe2u086601@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

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

commit 250d0bb575f84226f721f7ea454b04985cc416b4
Author:     Einar Bjarni Halldórsson <einar@isnic.is>
AuthorDate: 2024-04-05 14:11:10 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-04-06 14:42:39 +0000

    print/R-cran-textshaping: New port: Bindings to the 'HarfBuzz' and 'Fribidi' Libraries for Text Shaping
    
    - Submitter becomes maintainer
    
    Provides access to the text shaping functionality in the 'HarfBuzz' library and
    the bidirectional algorithm in the 'Fribidi' library.
    
    'textshaping' is a low-level utility package mainly for graphic devices that
    expands upon the font tool-set provided by the 'systemfonts' package.
    
    WWW: https://github.com/r-lib/textshaping
    
    Differential Revision:  https://reviews.freebsd.org/D43735
---
 print/Makefile                     |  1 +
 print/R-cran-textshaping/Makefile  | 21 +++++++++++++++++++++
 print/R-cran-textshaping/distinfo  |  3 +++
 print/R-cran-textshaping/pkg-descr |  5 +++++
 4 files changed, 30 insertions(+)

diff --git a/print/Makefile b/print/Makefile
index 40ca17d160a7..81e5613c69cb 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -1,6 +1,7 @@
     COMMENT = Desktop publishing
 
     SUBDIR += R-cran-knitr
+    SUBDIR += R-cran-textshaping
     SUBDIR += R-cran-tinytex
     SUBDIR += a2pdf
     SUBDIR += a2ps
diff --git a/print/R-cran-textshaping/Makefile b/print/R-cran-textshaping/Makefile
new file mode 100644
index 000000000000..54cbbb35e5c0
--- /dev/null
+++ b/print/R-cran-textshaping/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	textshaping
+DISTVERSION=	0.3.7
+CATEGORIES=	print
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	einar@isnic.is
+COMMENT=	Bindings to the 'HarfBuzz' and 'Fribidi' Libraries for Text Shaping
+WWW=		https://github.com/r-lib/textshaping
+
+LICENSE=	MIT
+
+CRAN_DEPENDS=	R-cran-systemfonts>=1.0.0:devel/R-cran-systemfonts
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+LIB_DEPENDS=	libfreetype.so:print/freetype2 \
+		libfribidi.so:converters/fribidi \
+		libharfbuzz.so:print/harfbuzz
+RUN_DEPENDS=	${CRAN_DEPENDS}
+
+USES=		cran:auto-plist,compiles pkgconfig
+
+.include <bsd.port.mk>
diff --git a/print/R-cran-textshaping/distinfo b/print/R-cran-textshaping/distinfo
new file mode 100644
index 000000000000..74d773c814dd
--- /dev/null
+++ b/print/R-cran-textshaping/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1706878261
+SHA256 (textshaping_0.3.7.tar.gz) = fa924dbe1fb4138b80d6c26ee42f4203843f1d34f77e2a5e42514e6fcc97ec42
+SIZE (textshaping_0.3.7.tar.gz) = 35100
diff --git a/print/R-cran-textshaping/pkg-descr b/print/R-cran-textshaping/pkg-descr
new file mode 100644
index 000000000000..bdee0f5b7d87
--- /dev/null
+++ b/print/R-cran-textshaping/pkg-descr
@@ -0,0 +1,5 @@
+Provides access to the text shaping functionality in the 'HarfBuzz' library and
+the bidirectional algorithm in the 'Fribidi' library.
+
+'textshaping' is a low-level utility package mainly for graphic devices that
+expands upon the font tool-set provided by the 'systemfonts' package.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404061452.436Eqe2u086601>