aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-11-01 13:23:14 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-11-01 13:41:20 +0000
commit89a9ec0598d599ab24ebe5eb1de5379f16f8afc7 (patch)
tree02e68e04452f00f4525958048cbaab6a738620f1 /archivers
parentf366d96316722f0acfe0183f844e6fd3d6a5d80a (diff)
downloadports-89a9ec0598d599ab24ebe5eb1de5379f16f8afc7.tar.gz
ports-89a9ec0598d599ab24ebe5eb1de5379f16f8afc7.zip
archivers/p5-Compress-Zstd: Add p5-Compress-Zstd 0.20
The Compress::Zstd module provides an interface to the Zstd (de)compressor. WWW: https://metacpan.org/dist/Compress-Zstd
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/p5-Compress-Zstd/Makefile23
-rw-r--r--archivers/p5-Compress-Zstd/distinfo3
-rw-r--r--archivers/p5-Compress-Zstd/pkg-descr3
-rw-r--r--archivers/p5-Compress-Zstd/pkg-plist15
5 files changed, 45 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index dbe2ea177dd4..2cf1501e299f 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -115,6 +115,7 @@
SUBDIR += p5-Compress-Raw-Lzma
SUBDIR += p5-Compress-Raw-Zlib
SUBDIR += p5-Compress-Snappy
+ SUBDIR += p5-Compress-Zstd
SUBDIR += p5-Gzip-Faster
SUBDIR += p5-IO-Compress
SUBDIR += p5-IO-Compress-Brotli
diff --git a/archivers/p5-Compress-Zstd/Makefile b/archivers/p5-Compress-Zstd/Makefile
new file mode 100644
index 000000000000..50afa9c93738
--- /dev/null
+++ b/archivers/p5-Compress-Zstd/Makefile
@@ -0,0 +1,23 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= Compress-Zstd
+PORTVERSION= 0.20
+CATEGORIES= archivers perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Perl interface to the Zstd (Zstandard) (de)compressor
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= gmake:devel/gmake
+
+USES= perl5
+USE_PERL5= modbuild
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Compress/Zstd/Zstd.so
+
+.include <bsd.port.mk>
diff --git a/archivers/p5-Compress-Zstd/distinfo b/archivers/p5-Compress-Zstd/distinfo
new file mode 100644
index 000000000000..2ba185d02564
--- /dev/null
+++ b/archivers/p5-Compress-Zstd/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1635730871
+SHA256 (Compress-Zstd-0.20.tar.gz) = 149f1ebecfe05462a1dfbbcb7154ba2e404708b6ed886b03a601e75fd113eaf7
+SIZE (Compress-Zstd-0.20.tar.gz) = 2016888
diff --git a/archivers/p5-Compress-Zstd/pkg-descr b/archivers/p5-Compress-Zstd/pkg-descr
new file mode 100644
index 000000000000..ae8ea41cd4c3
--- /dev/null
+++ b/archivers/p5-Compress-Zstd/pkg-descr
@@ -0,0 +1,3 @@
+The Compress::Zstd module provides an interface to the Zstd (de)compressor.
+
+WWW: https://metacpan.org/dist/Compress-Zstd
diff --git a/archivers/p5-Compress-Zstd/pkg-plist b/archivers/p5-Compress-Zstd/pkg-plist
new file mode 100644
index 000000000000..ad4006ca168e
--- /dev/null
+++ b/archivers/p5-Compress-Zstd/pkg-plist
@@ -0,0 +1,15 @@
+%%SITE_ARCH%%/Compress/Zstd.pm
+%%SITE_ARCH%%/Compress/Zstd/CompressionContext.pm
+%%SITE_ARCH%%/Compress/Zstd/CompressionDictionary.pm
+%%SITE_ARCH%%/Compress/Zstd/Compressor.pm
+%%SITE_ARCH%%/Compress/Zstd/DecompressionContext.pm
+%%SITE_ARCH%%/Compress/Zstd/DecompressionDictionary.pm
+%%SITE_ARCH%%/Compress/Zstd/Decompressor.pm
+%%SITE_ARCH%%/auto/Compress/Zstd/Zstd.so
+%%PERL5_MAN3%%/Compress::Zstd.3.gz
+%%PERL5_MAN3%%/Compress::Zstd::CompressionContext.3.gz
+%%PERL5_MAN3%%/Compress::Zstd::CompressionDictionary.3.gz
+%%PERL5_MAN3%%/Compress::Zstd::Compressor.3.gz
+%%PERL5_MAN3%%/Compress::Zstd::DecompressionContext.3.gz
+%%PERL5_MAN3%%/Compress::Zstd::DecompressionDictionary.3.gz
+%%PERL5_MAN3%%/Compress::Zstd::Decompressor.3.gz