git: 89a9ec0598d5 - main - archivers/p5-Compress-Zstd: Add p5-Compress-Zstd 0.20

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 01 Nov 2021 13:45:16 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=89a9ec0598d599ab24ebe5eb1de5379f16f8afc7

commit 89a9ec0598d599ab24ebe5eb1de5379f16f8afc7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-11-01 13:23:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-11-01 13:41:20 +0000

    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
---
 archivers/Makefile                   |  1 +
 archivers/p5-Compress-Zstd/Makefile  | 23 +++++++++++++++++++++++
 archivers/p5-Compress-Zstd/distinfo  |  3 +++
 archivers/p5-Compress-Zstd/pkg-descr |  3 +++
 archivers/p5-Compress-Zstd/pkg-plist | 15 +++++++++++++++
 5 files changed, 45 insertions(+)

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