git: b4ec23b97c58 - main - devel/p5-Module-Build-Prereqs-FromCPANfile: Add p5-Module-Build-Prereqs-FromCPANfile 0.02

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 16 Aug 2023 18:30:20 UTC
The branch main has been updated by sunpoet:

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

commit b4ec23b97c581e899be514a2d637e7e42394a022
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-16 18:02:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-16 18:25:05 +0000

    devel/p5-Module-Build-Prereqs-FromCPANfile: Add p5-Module-Build-Prereqs-FromCPANfile 0.02
    
    Module::Build::Prereqs::FromCPANfile reads cpanfile and converts its content
    into valid prereq parameters for new() method of Module::Build.
---
 devel/Makefile                                     |  1 +
 .../p5-Module-Build-Prereqs-FromCPANfile/Makefile  | 22 ++++++++++++++++++++++
 .../p5-Module-Build-Prereqs-FromCPANfile/distinfo  |  3 +++
 .../p5-Module-Build-Prereqs-FromCPANfile/pkg-descr |  2 ++
 .../p5-Module-Build-Prereqs-FromCPANfile/pkg-plist |  2 ++
 5 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index acd65212780a..fff5d1d64457 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2849,6 +2849,7 @@
     SUBDIR += p5-Module-Build-Pluggable
     SUBDIR += p5-Module-Build-Pluggable-CPANfile
     SUBDIR += p5-Module-Build-Pluggable-ReadmeMarkdownFromPod
+    SUBDIR += p5-Module-Build-Prereqs-FromCPANfile
     SUBDIR += p5-Module-Build-Tiny
     SUBDIR += p5-Module-Build-Using-PkgConfig
     SUBDIR += p5-Module-Build-WithXSpp
diff --git a/devel/p5-Module-Build-Prereqs-FromCPANfile/Makefile b/devel/p5-Module-Build-Prereqs-FromCPANfile/Makefile
new file mode 100644
index 000000000000..e2b9648c54c7
--- /dev/null
+++ b/devel/p5-Module-Build-Prereqs-FromCPANfile/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	Module-Build-Prereqs-FromCPANfile
+PORTVERSION=	0.02
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Construct prereq parameters of Module::Build from cpanfile
+WWW=		https://metacpan.org/dist/Module-Build-Prereqs-FromCPANfile
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-Module-CPANfile>=1.0000:devel/p5-Module-CPANfile
+
+USES=		perl5
+USE_PERL5=	modbuild
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Module-Build-Prereqs-FromCPANfile/distinfo b/devel/p5-Module-Build-Prereqs-FromCPANfile/distinfo
new file mode 100644
index 000000000000..92837d4e6c9e
--- /dev/null
+++ b/devel/p5-Module-Build-Prereqs-FromCPANfile/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1691069890
+SHA256 (Module-Build-Prereqs-FromCPANfile-0.02.tar.gz) = 94d17867bea8e04bf8a636bcbfb78c5d432cb8fbc0e046b88445c3983e089e29
+SIZE (Module-Build-Prereqs-FromCPANfile-0.02.tar.gz) = 6382
diff --git a/devel/p5-Module-Build-Prereqs-FromCPANfile/pkg-descr b/devel/p5-Module-Build-Prereqs-FromCPANfile/pkg-descr
new file mode 100644
index 000000000000..1250c239c317
--- /dev/null
+++ b/devel/p5-Module-Build-Prereqs-FromCPANfile/pkg-descr
@@ -0,0 +1,2 @@
+Module::Build::Prereqs::FromCPANfile reads cpanfile and converts its content
+into valid prereq parameters for new() method of Module::Build.
diff --git a/devel/p5-Module-Build-Prereqs-FromCPANfile/pkg-plist b/devel/p5-Module-Build-Prereqs-FromCPANfile/pkg-plist
new file mode 100644
index 000000000000..57050700944a
--- /dev/null
+++ b/devel/p5-Module-Build-Prereqs-FromCPANfile/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Module/Build/Prereqs/FromCPANfile.pm
+%%PERL5_MAN3%%/Module::Build::Prereqs::FromCPANfile.3.gz