git: b9c0a6452a8d - main - devel/p5-Module-Build: Update to 0.4232

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

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

commit b9c0a6452a8dd369660e8b879d3d2c0b850f4d5e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:43:08 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 13:02:01 +0000

    devel/p5-Module-Build: Update to 0.4232
    
    - Convert REINPLACE_CMD to patch files
    
    Changes:        https://metacpan.org/dist/Module-Build/changes
---
 devel/p5-Module-Build/Makefile             |  4 +---
 devel/p5-Module-Build/distinfo             |  6 +++---
 devel/p5-Module-Build/files/patch-Build.PL | 10 ++++++++++
 devel/p5-Module-Build/files/patch-MANIFEST |  7 +++++++
 4 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/devel/p5-Module-Build/Makefile b/devel/p5-Module-Build/Makefile
index 1913ea7bd6fa..c466150c60eb 100644
--- a/devel/p5-Module-Build/Makefile
+++ b/devel/p5-Module-Build/Makefile
@@ -4,7 +4,7 @@
 # Mk/Uses/perl5.mk.
 
 PORTNAME=	Module-Build
-PORTVERSION=	0.4231
+PORTVERSION=	0.4232
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -29,7 +29,5 @@ PORTSCOUT=	skipv:0.31011,0.31012
 
 post-patch:
 	@${RM} ${WRKSRC}/bin/config_data
-	@${REINPLACE_CMD} -e '/script_files/d' ${WRKSRC}/Build.PL
-	@${REINPLACE_CMD} -e '/^bin\/config_data/d' ${WRKSRC}/MANIFEST
 
 .include <bsd.port.mk>
diff --git a/devel/p5-Module-Build/distinfo b/devel/p5-Module-Build/distinfo
index 11521929c017..c1ad6dc3ad15 100644
--- a/devel/p5-Module-Build/distinfo
+++ b/devel/p5-Module-Build/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1580562371
-SHA256 (Module-Build-0.4231.tar.gz) = 7e0f4c692c1740c1ac84ea14d7ea3d8bc798b2fb26c09877229e04f430b2b717
-SIZE (Module-Build-0.4231.tar.gz) = 303466
+TIMESTAMP = 1674590718
+SHA256 (Module-Build-0.4232.tar.gz) = 67c82ee245d94ba06decfa25572ab75fdcd26a9009094289d8f45bc54041771b
+SIZE (Module-Build-0.4232.tar.gz) = 303820
diff --git a/devel/p5-Module-Build/files/patch-Build.PL b/devel/p5-Module-Build/files/patch-Build.PL
new file mode 100644
index 000000000000..4ca2436c3bdc
--- /dev/null
+++ b/devel/p5-Module-Build/files/patch-Build.PL
@@ -0,0 +1,10 @@
+--- Build.PL.orig	2022-12-08 23:24:31 UTC
++++ Build.PL
+@@ -127,7 +127,6 @@ my $build = Module::Build->new(
+   },
+ 
+   add_to_cleanup => ['t/Sample/pod2htm*'],
+-  script_files   => ['bin/config_data'],
+   meta_merge     => {
+     resources => {
+       MailingList => 'mailto:module-build@perl.org',
diff --git a/devel/p5-Module-Build/files/patch-MANIFEST b/devel/p5-Module-Build/files/patch-MANIFEST
new file mode 100644
index 000000000000..df4b87d720e4
--- /dev/null
+++ b/devel/p5-Module-Build/files/patch-MANIFEST
@@ -0,0 +1,7 @@
+--- MANIFEST.orig	2022-12-08 23:24:31 UTC
++++ MANIFEST
+@@ -1,4 +1,3 @@
+-bin/config_data
+ Build.PL
+ Changes
+ contrib/bash_completion.module-build