git: 0e39b8305edb - main - converters/p5-Sereal-Encoder: Update to 4.023

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Apr 2022 00:03:54 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e39b8305edb04cde0096070e73fbdb140bdf0fb

commit 0e39b8305edb04cde0096070e73fbdb140bdf0fb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-17 23:47:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-17 23:58:44 +0000

    converters/p5-Sereal-Encoder: Update to 4.023
    
    - Convert to normal port
    - Sort PLIST
    
    Changes:        https://metacpan.org/dist/Sereal-Encoder/changes
---
 converters/p5-Sereal-Encoder/Makefile  | 29 +++++++++++++++++++++++++++--
 converters/p5-Sereal-Encoder/distinfo  |  6 +++---
 converters/p5-Sereal-Encoder/pkg-plist |  2 +-
 3 files changed, 31 insertions(+), 6 deletions(-)

diff --git a/converters/p5-Sereal-Encoder/Makefile b/converters/p5-Sereal-Encoder/Makefile
index 9b20ccd87d2b..774ec48dece8 100644
--- a/converters/p5-Sereal-Encoder/Makefile
+++ b/converters/p5-Sereal-Encoder/Makefile
@@ -1,5 +1,30 @@
 PORTNAME=	Sereal-Encoder
+PORTVERSION=	4.023
+CATEGORIES=	converters perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:YVES
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Perl module for fast, powerful binary serialization (encoder)
 
-SLAVE_PORT=	yes
-.include "${.CURDIR}/../p5-Sereal/Makefile"
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
+LIB_DEPENDS=	libzstd.so:archivers/zstd
+TEST_DEPENDS=	p5-Sereal-Decoder>=4.002:converters/p5-Sereal-Decoder \
+		p5-Test-Deep>=0:devel/p5-Test-Deep \
+		p5-Test-Differences>=0,1:devel/p5-Test-Differences \
+		p5-Test-LongString>=0:devel/p5-Test-LongString \
+		p5-Test-Warn>=0:devel/p5-Test-Warn
+
+USES=		perl5
+USE_PERL5=	configure
+
+MAKE_ENV=	PASTHRU_DEFINE="-I${LOCALBASE}/include"
+MAKE_JOBS_UNSAFE=	yes
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Sereal/Encoder/Encoder.so
+
+.include <bsd.port.mk>
diff --git a/converters/p5-Sereal-Encoder/distinfo b/converters/p5-Sereal-Encoder/distinfo
index dc11a4b00d94..1c6b46746a40 100644
--- a/converters/p5-Sereal-Encoder/distinfo
+++ b/converters/p5-Sereal-Encoder/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1606621071
-SHA256 (Sereal-Encoder-4.018.tar.gz) = d76c2d1fe9dd54cc627a6e0ffd10782b95a182877d461d5e5958be87f25c2d7d
-SIZE (Sereal-Encoder-4.018.tar.gz) = 700306
+TIMESTAMP = 1650228978
+SHA256 (Sereal-Encoder-4.023.tar.gz) = b8775fb2fbe94fdf5235ef3b5fef2ce452cbe6c3a8af421c7f56a8b55dda5a11
+SIZE (Sereal-Encoder-4.023.tar.gz) = 723637
diff --git a/converters/p5-Sereal-Encoder/pkg-plist b/converters/p5-Sereal-Encoder/pkg-plist
index 1a8dfe3da43b..f13d70a2d127 100644
--- a/converters/p5-Sereal-Encoder/pkg-plist
+++ b/converters/p5-Sereal-Encoder/pkg-plist
@@ -1,4 +1,4 @@
-%%SITE_ARCH%%/auto/Sereal/Encoder/Encoder.so
 %%SITE_ARCH%%/Sereal/Encoder.pm
 %%SITE_ARCH%%/Sereal/Encoder/Constants.pm
+%%SITE_ARCH%%/auto/Sereal/Encoder/Encoder.so
 %%PERL5_MAN3%%/Sereal::Encoder.3.gz