Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
c2b1d87
commit 3edb56a
Showing
4 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1709821553 | ||
SHA256 (systemfonts_1.0.6.tar.gz) = d1586e7b6ecdcb5af6559a30f58b806d347e570724313cb9cb655a27ad581dd7 | ||
SIZE (systemfonts_1.0.6.tar.gz) = 80844 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |