archivers/R-cran-brotli: new port

A lossless compressed data format that uses a combination of the LZ77
algorithm and Huffman coding.
Brotli is similar in speed to deflate (gzip) but offers more dense
compression.
This commit is contained in:
Zsolt Udvari 2025-02-03 16:10:22 +01:00
parent 46131a8240
commit bcf83e1c67
4 changed files with 32 additions and 0 deletions

View file

@ -2,6 +2,7 @@
SUBDIR += 7-zip
SUBDIR += 9e
SUBDIR += R-cran-brotli
SUBDIR += R-cran-zip
SUBDIR += advancecomp
SUBDIR += amigadepacker

View file

@ -0,0 +1,25 @@
PORTNAME= brotli
DISTVERSION= 1.3.1
CATEGORIES= archivers
DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= uzsolt@FreeBSD.org
COMMENT= Compression Format Optimized for the Web
WWW= https://CRAN.R-project.org/package=brotli
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= R-cran-ggplot2>0:graphics/R-cran-ggplot2 \
R-cran-knitr>0:print/R-cran-knitr \
R-cran-microbenchmark>0:devel/R-cran-microbenchmark \
R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \
R-cran-spelling>0:textproc/R-cran-spelling
TESTING_UNSAFE= R-cran-R.rsp is required
USES= cran:auto-plist,compiles
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/R/library/brotli/bin/bro
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1737746476
SHA256 (brotli_1.3.1.tar.gz) = 8776c3fce9fdd72ead4ea166135d699b0f348eb44c0c30895f515a2f0e711946
SIZE (brotli_1.3.1.tar.gz) = 1055599

View file

@ -0,0 +1,3 @@
A lossless compressed data format that uses a combination of the LZ77 algorithm
and Huffman coding. Brotli is similar in speed to deflate (gzip) but offers more
dense compression.