git: 5442d53072c2 - main - converters/p5-JSON-PP: Update to 4.16

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:06:54 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5442d53072c2fef1d48e3f42c098f0fc72c9e83d

commit 5442d53072c2fef1d48e3f42c098f0fc72c9e83d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:29:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:59:18 +0000

    converters/p5-JSON-PP: Update to 4.16
    
    Changes:        https://metacpan.org/dist/JSON-PP/changes
---
 converters/p5-JSON-PP/Makefile                |  2 +-
 converters/p5-JSON-PP/distinfo                |  6 +++---
 converters/p5-JSON-PP/files/patch-Makefile.PL | 12 ++++++------
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/converters/p5-JSON-PP/Makefile b/converters/p5-JSON-PP/Makefile
index 3e98882149dd..e1550a578b25 100644
--- a/converters/p5-JSON-PP/Makefile
+++ b/converters/p5-JSON-PP/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	JSON-PP
-PORTVERSION=	4.12
+PORTVERSION=	4.16
 CATEGORIES=	converters perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:ISHIGAKI
diff --git a/converters/p5-JSON-PP/distinfo b/converters/p5-JSON-PP/distinfo
index f5e81ab2981f..3a5a214ff553 100644
--- a/converters/p5-JSON-PP/distinfo
+++ b/converters/p5-JSON-PP/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1665646761
-SHA256 (JSON-PP-4.12.tar.gz) = fb76b443f65820452732ba74647a459d61fb61ecce920b19d6f9b881948439de
-SIZE (JSON-PP-4.12.tar.gz) = 55176
+TIMESTAMP = 1674589600
+SHA256 (JSON-PP-4.16.tar.gz) = 8bc2f162bafc42645c489905ad72540f0d3c284b360c96299095183c30cc9789
+SIZE (JSON-PP-4.16.tar.gz) = 55556
diff --git a/converters/p5-JSON-PP/files/patch-Makefile.PL b/converters/p5-JSON-PP/files/patch-Makefile.PL
index 82a8d945e74e..7260e33de101 100644
--- a/converters/p5-JSON-PP/files/patch-Makefile.PL
+++ b/converters/p5-JSON-PP/files/patch-Makefile.PL
@@ -1,11 +1,11 @@
---- Makefile.PL.orig	2019-02-18 16:03:19 UTC
+--- Makefile.PL.orig	2022-12-30 04:30:47 UTC
 +++ Makefile.PL
-@@ -24,7 +24,7 @@ WriteMakefile(
+@@ -19,7 +19,7 @@ WriteMakefile(
                'Test::More'  => 0,
-               %prereq,
+               'Scalar::Util' => '1.08'
      },
 -    'EXE_FILES' => [ 'bin/json_pp' ],
 +    'EXE_FILES' => [ 'bin/p5json_pp' ],
-     ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
-       (ABSTRACT_FROM => 'lib/JSON/PP.pm', # retrieve abstract from module
-        AUTHOR     => 'Makamaka Hannyaharamitu, E<lt>makamaka[at]cpan.orgE<gt>') : ()),
+     'ABSTRACT_FROM' => 'lib/JSON/PP.pm', # retrieve abstract from module
+     'AUTHOR'        => 'Makamaka Hannyaharamitu, E<lt>makamaka[at]cpan.orgE<gt>',
+     ( $ExtUtils::MakeMaker::VERSION >= 6.3002 ? ('LICENSE' => 'perl', ) : () ),