aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-04-17 23:46:59 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-04-17 23:58:44 +0000
commit326e089a89030170182ae7484293348b3ef0f0f7 (patch)
tree426c39ade058783816df00d92985b51096ae0663
parent2dea06c4ebd0a46edff370c7766163512e28a413 (diff)
downloadports-326e089a89030170182ae7484293348b3ef0f0f7.tar.gz
ports-326e089a89030170182ae7484293348b3ef0f0f7.zip
converters/p5-Sereal-Decoder: Update to 4.023
- Convert to normal port - Sort PLIST Changes: https://metacpan.org/dist/Sereal-Decoder/changes
-rw-r--r--converters/p5-Sereal-Decoder/Makefile28
-rw-r--r--converters/p5-Sereal-Decoder/distinfo6
-rw-r--r--converters/p5-Sereal-Decoder/pkg-plist2
3 files changed, 30 insertions, 6 deletions
diff --git a/converters/p5-Sereal-Decoder/Makefile b/converters/p5-Sereal-Decoder/Makefile
index 3c79d4d6740e..b65b9bec56b0 100644
--- a/converters/p5-Sereal-Decoder/Makefile
+++ b/converters/p5-Sereal-Decoder/Makefile
@@ -1,5 +1,29 @@
PORTNAME= Sereal-Decoder
+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 deserialization (decoder)
-SLAVE_PORT= yes
-.include "${.CURDIR}/../p5-Sereal/Makefile"
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+
+LIB_DEPENDS= libzstd.so:archivers/zstd
+TEST_DEPENDS= 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/Decoder/Decoder.so
+
+.include <bsd.port.mk>
diff --git a/converters/p5-Sereal-Decoder/distinfo b/converters/p5-Sereal-Decoder/distinfo
index b2ca74d8af8a..2d6976a04a17 100644
--- a/converters/p5-Sereal-Decoder/distinfo
+++ b/converters/p5-Sereal-Decoder/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1606621078
-SHA256 (Sereal-Decoder-4.018.tar.gz) = 2ea4fc5585c2f24d9c1270e50511463eca9aa005941cf2acad24dd516f8fcd71
-SIZE (Sereal-Decoder-4.018.tar.gz) = 692820
+TIMESTAMP = 1650228976
+SHA256 (Sereal-Decoder-4.023.tar.gz) = 3c0e5d938e147e3edebd7181e74471b078bc73d8c126a975e38da0d994593767
+SIZE (Sereal-Decoder-4.023.tar.gz) = 716188
diff --git a/converters/p5-Sereal-Decoder/pkg-plist b/converters/p5-Sereal-Decoder/pkg-plist
index 5c32b6dc8adf..f54cc44d8bcc 100644
--- a/converters/p5-Sereal-Decoder/pkg-plist
+++ b/converters/p5-Sereal-Decoder/pkg-plist
@@ -1,6 +1,6 @@
-%%SITE_ARCH%%/auto/Sereal/Decoder/Decoder.so
%%SITE_ARCH%%/Sereal/Decoder.pm
%%SITE_ARCH%%/Sereal/Decoder/Constants.pm
%%SITE_ARCH%%/Sereal/Performance.pm
+%%SITE_ARCH%%/auto/Sereal/Decoder/Decoder.so
%%PERL5_MAN3%%/Sereal::Decoder.3.gz
%%PERL5_MAN3%%/Sereal::Performance.3.gz