Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2024 14:52:36 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: 3edb56adc8ef - main - devel/R-cran-systemfonts: New port: System Native Font Finding
Message-ID:  <202404061452.436EqasU086367@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=3edb56adc8efecfc838e42ec8ebf704b662adc03

commit 3edb56adc8efecfc838e42ec8ebf704b662adc03
Author:     Einar Bjarni Halldórsson <einar@isnic.is>
AuthorDate: 2024-04-05 12:09:23 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-04-06 14:42:38 +0000

    devel/R-cran-systemfonts: New port: System Native Font Finding
    
    - Submitter becomes maintainer
    
    Provides system native access to the font catalogue.
    
    As font handling varies between systems it is difficult to correctly locate
    installed fonts across different operating systems.
    
    The 'systemfonts' package provides bindings to the native libraries on Windows,
    macOS and Linux for finding font files that can then be used further by e.g.
    graphic devices.
    
    The main use is intended to be from compiled code but 'systemfonts' also
    provides access from R.
    
    WWW: https://systemfonts.r-lib.org/
    
    Differential Revision:  https://reviews.freebsd.org/D43735
---
 devel/Makefile                     |  1 +
 devel/R-cran-systemfonts/Makefile  | 21 +++++++++++++++++++++
 devel/R-cran-systemfonts/distinfo  |  3 +++
 devel/R-cran-systemfonts/pkg-descr | 11 +++++++++++
 4 files changed, 36 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 9ae086e1bb6a..3bb99262aef7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -131,6 +131,7 @@
     SUBDIR += R-cran-sessioninfo
     SUBDIR += R-cran-sfsmisc
     SUBDIR += R-cran-sourcetools
+    SUBDIR += R-cran-systemfonts
     SUBDIR += R-cran-sys
     SUBDIR += R-cran-testit
     SUBDIR += R-cran-testthat
diff --git a/devel/R-cran-systemfonts/Makefile b/devel/R-cran-systemfonts/Makefile
new file mode 100644
index 000000000000..cca0e548480f
--- /dev/null
+++ b/devel/R-cran-systemfonts/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	systemfonts
+DISTVERSION=	1.0.6
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	einar@isnic.is
+COMMENT=	System Native Font Finding
+WWW=		https://systemfonts.r-lib.org/
+
+LICENSE=	MIT
+
+CRAN_DEPENDS=	R-cran-cpp11>=0.2.1:devel/R-cran-cpp11
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2
+RUN_DEPENDS=	${CRAN_DEPENDS}
+TEST_DEPENDS=	R-cran-testthat>0:devel/R-cran-testthat
+
+USES=		cran:auto-plist,compiles pkgconfig
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-systemfonts/distinfo b/devel/R-cran-systemfonts/distinfo
new file mode 100644
index 000000000000..02db4b229fb1
--- /dev/null
+++ b/devel/R-cran-systemfonts/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1709821553
+SHA256 (systemfonts_1.0.6.tar.gz) = d1586e7b6ecdcb5af6559a30f58b806d347e570724313cb9cb655a27ad581dd7
+SIZE (systemfonts_1.0.6.tar.gz) = 80844
diff --git a/devel/R-cran-systemfonts/pkg-descr b/devel/R-cran-systemfonts/pkg-descr
new file mode 100644
index 000000000000..822d174726ec
--- /dev/null
+++ b/devel/R-cran-systemfonts/pkg-descr
@@ -0,0 +1,11 @@
+Provides system native access to the font catalogue.
+
+As font handling varies between systems it is difficult to correctly locate
+installed fonts across different operating systems.
+
+The 'systemfonts' package provides bindings to the native libraries on Windows,
+macOS and Linux for finding font files that can then be used further by e.g.
+graphic devices.
+
+The main use is intended to be from compiled code but 'systemfonts' also
+provides access from R.



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