mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
graphics/R-cran-webp: new port
Lossless webp images are 26% smaller in size compared to PNG. Lossy webp images are 25-34% smaller in size compared to JPEG. This package reads and writes webp images into a 3 (rgb) or 4 (rgba) channel bitmap array using conventions from the 'jpeg' and 'png' packages.
This commit is contained in:
parent
d66f9ab037
commit
deb4c9731f
4 changed files with 27 additions and 0 deletions
|
@ -38,6 +38,7 @@
|
||||||
SUBDIR += R-cran-viridis
|
SUBDIR += R-cran-viridis
|
||||||
SUBDIR += R-cran-viridisLite
|
SUBDIR += R-cran-viridisLite
|
||||||
SUBDIR += R-cran-visNetwork
|
SUBDIR += R-cran-visNetwork
|
||||||
|
SUBDIR += R-cran-webp
|
||||||
SUBDIR += SciPlot
|
SUBDIR += SciPlot
|
||||||
SUBDIR += a2png
|
SUBDIR += a2png
|
||||||
SUBDIR += aalib
|
SUBDIR += aalib
|
||||||
|
|
19
graphics/R-cran-webp/Makefile
Normal file
19
graphics/R-cran-webp/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
PORTNAME= webp
|
||||||
|
DISTVERSION= 1.3.0
|
||||||
|
CATEGORIES= graphics
|
||||||
|
DISTNAME= ${PORTNAME}_${DISTVERSION}
|
||||||
|
|
||||||
|
MAINTAINER= uzsolt@FreeBSD.org
|
||||||
|
COMMENT= Reads and writes webp images
|
||||||
|
WWW= https://cran.r-project.org/package=webp
|
||||||
|
|
||||||
|
LICENSE= MIT
|
||||||
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
|
LIB_DEPENDS= libwebp.so:graphics/webp
|
||||||
|
TEST_DEPENDS= R-cran-jpeg>0:graphics/R-cran-jpeg \
|
||||||
|
R-cran-png>0:graphics/R-cran-png
|
||||||
|
|
||||||
|
USES= cran:auto-plist,compiles
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
graphics/R-cran-webp/distinfo
Normal file
3
graphics/R-cran-webp/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1741071412
|
||||||
|
SHA256 (webp_1.3.0.tar.gz) = 3addb4ad61f1297372391c2d8fbb81f78d9c080f31bcecc70739145b271aa23e
|
||||||
|
SIZE (webp_1.3.0.tar.gz) = 17501
|
4
graphics/R-cran-webp/pkg-descr
Normal file
4
graphics/R-cran-webp/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
Lossless webp images are 26% smaller in size compared to PNG. Lossy webp images
|
||||||
|
are 25-34% smaller in size compared to JPEG. This package reads and writes webp
|
||||||
|
images into a 3 (rgb) or 4 (rgba) channel bitmap array using conventions from
|
||||||
|
the 'jpeg' and 'png' packages.
|
Loading…
Add table
Reference in a new issue