diff --git a/graphics/Makefile b/graphics/Makefile --- a/graphics/Makefile +++ b/graphics/Makefile @@ -7,6 +7,7 @@ SUBDIR += ImageMagick6 SUBDIR += ImageMagick7 SUBDIR += O2-tools + SUBDIR += R-cran-Cairo SUBDIR += R-cran-DiagrammeR SUBDIR += R-cran-GDD SUBDIR += R-cran-R.devices diff --git a/graphics/R-cran-Cairo/Makefile b/graphics/R-cran-Cairo/Makefile new file mode 100644 --- /dev/null +++ b/graphics/R-cran-Cairo/Makefile @@ -0,0 +1,24 @@ +PORTNAME= Cairo +DISTVERSION= 1.7-0 +CATEGORIES= graphics +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= dteske@FreeBSD.org +COMMENT= R Graphics Device using Cairo Graphics Library +WWW= https://www.rforge.net/Cairo/ + +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= dual + +LIB_DEPENDS= libcairo.so:graphics/cairo \ + libfreetype.so:print/freetype2 \ + libharfbuzz.so:print/harfbuzz \ + libharfbuzz-icu.so:print/harfbuzz-icu \ + libicuuc.so:devel/icu \ + libpng16.so:graphics/png \ + libtiff.so:graphics/tiff + +USES= cran:auto-plist,compiles jpeg pkgconfig xorg +USE_XORG= x11 xext xrender + +.include diff --git a/graphics/R-cran-Cairo/distinfo b/graphics/R-cran-Cairo/distinfo new file mode 100644 --- /dev/null +++ b/graphics/R-cran-Cairo/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1785285581 +SHA256 (Cairo_1.7-0.tar.gz) = fcb84a614bbb85b976dd4fd1c17e2f7fd2f4fa21c3ac9e930819d88099a61d52 +SIZE (Cairo_1.7-0.tar.gz) = 110573 diff --git a/graphics/R-cran-Cairo/pkg-descr b/graphics/R-cran-Cairo/pkg-descr new file mode 100644 --- /dev/null +++ b/graphics/R-cran-Cairo/pkg-descr @@ -0,0 +1,11 @@ +R graphics device using cairographics library that can be used to create +high-quality vector (PDF, PostScript and SVG) and bitmap output +(PNG,JPEG,TIFF), and high-quality rendering in displays (X11 and Win32). +Since it uses the same back-end for all output, copying across formats is +WYSIWYG. Files are created without the dependence on X11 or other external +programs. This device supports alpha channel (semi-transparent drawing) +and resulting images can contain transparent and semi-transparent regions. +It is ideal for use in server environments (file output) and as a +replacement for other devices that don't have Cairo's capabilities such as +alpha support or anti-aliasing. Backends are modular such that any subset +of backends is supported.