git: 07372780ac64 - main - devel/p5-Dist-Build: Modern perl module builder

From: Mathieu Arnold <mat_at_FreeBSD.org>
Date: Sat, 07 Mar 2026 08:08:38 UTC
The branch main has been updated by mat:

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

commit 07372780ac649e9853ef8916e6e7e8fd12c1663f
Author:     Sergei Vyshenski <svysh.fbsd@gmail.com>
AuthorDate: 2026-03-04 22:50:24 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2026-03-07 08:07:43 +0000

    devel/p5-Dist-Build: Modern perl module builder
    
    Dist::Build is a new perl module builder - with Build.PL as a starting point.
    Dist::Build comes from the author of Module::Build and of Module::Build::Tiny.
    This new port is needed as a dependency for ver.0.030 of the existing port security/p5-Crypt-Argon2.
    
    PR:             293592
---
 devel/p5-Dist-Build/Makefile  | 28 ++++++++++++++++++++++++++++
 devel/p5-Dist-Build/distinfo  |  3 +++
 devel/p5-Dist-Build/pkg-descr |  4 ++++
 devel/p5-Dist-Build/pkg-plist | 22 ++++++++++++++++++++++
 4 files changed, 57 insertions(+)

diff --git a/devel/p5-Dist-Build/Makefile b/devel/p5-Dist-Build/Makefile
new file mode 100644
index 000000000000..717280dc65c8
--- /dev/null
+++ b/devel/p5-Dist-Build/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	Dist-Build
+DISTVERSION=	0.026
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:LEONT
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	svysh.fbsd@gmail.com
+COMMENT=	Modern module builder, author tools not included
+WWW=		https://metacpan.org/dist/Dist-Build
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+MY_DEPENDS=	p5-ExtUtils-Builder>=0.020:devel/p5-ExtUtils-Builder \
+		p5-ExtUtils-Builder-Compiler>=0.034:devel/p5-ExtUtils-Builder-Compiler \
+		p5-ExtUtils-Config>=0:devel/p5-ExtUtils-Config \
+		p5-ExtUtils-Helpers>=0.028:devel/p5-ExtUtils-Helpers \
+		p5-ExtUtils-InstallPaths>=0:devel/p5-ExtUtils-InstallPaths
+BUILD_DEPENDS=	${MY_DEPENDS}
+RUN_DEPENDS=	${MY_DEPENDS}
+
+USES=		perl5
+USE_PERL5=	distbuild
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Dist-Build/distinfo b/devel/p5-Dist-Build/distinfo
new file mode 100644
index 000000000000..822b72fca4be
--- /dev/null
+++ b/devel/p5-Dist-Build/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1772316342
+SHA256 (Dist-Build-0.026.tar.gz) = 831bc7239e453ebcd21676f47f4ff88fcfea9554c3044b2dc1319e74107c486c
+SIZE (Dist-Build-0.026.tar.gz) = 31801
diff --git a/devel/p5-Dist-Build/pkg-descr b/devel/p5-Dist-Build/pkg-descr
new file mode 100644
index 000000000000..a40f8eb517de
--- /dev/null
+++ b/devel/p5-Dist-Build/pkg-descr
@@ -0,0 +1,4 @@
+Dist::Build is a Build.PL implementation. Unlike Module::Build::Tiny
+it is extensible, unlike Module::Build it uses a build graph internally
+which makes it easy to combine different customizations. It's typically
+extended by adding a .pl script in planner/.
diff --git a/devel/p5-Dist-Build/pkg-plist b/devel/p5-Dist-Build/pkg-plist
new file mode 100644
index 000000000000..e26c181e8315
--- /dev/null
+++ b/devel/p5-Dist-Build/pkg-plist
@@ -0,0 +1,22 @@
+%%SITE_PERL%%/Dist/Build.pm
+%%SITE_PERL%%/Dist/Build/Core.pm
+%%SITE_PERL%%/Dist/Build/Serializer.pm
+%%SITE_PERL%%/Dist/Build/ShareDir.pm
+%%SITE_PERL%%/Dist/Build/Util.pm
+%%SITE_PERL%%/Dist/Build/XS.pm
+%%SITE_PERL%%/Dist/Build/XS/Alien.pm
+%%SITE_PERL%%/Dist/Build/XS/Conf.pm
+%%SITE_PERL%%/Dist/Build/XS/Export.pm
+%%SITE_PERL%%/Dist/Build/XS/Import.pm
+%%SITE_PERL%%/Dist/Build/XS/WriteConstants.pm
+%%PERL5_MAN3%%/Dist::Build.3.gz
+%%PERL5_MAN3%%/Dist::Build::Core.3.gz
+%%PERL5_MAN3%%/Dist::Build::Serializer.3.gz
+%%PERL5_MAN3%%/Dist::Build::ShareDir.3.gz
+%%PERL5_MAN3%%/Dist::Build::Util.3.gz
+%%PERL5_MAN3%%/Dist::Build::XS.3.gz
+%%PERL5_MAN3%%/Dist::Build::XS::Alien.3.gz
+%%PERL5_MAN3%%/Dist::Build::XS::Conf.3.gz
+%%PERL5_MAN3%%/Dist::Build::XS::Export.3.gz
+%%PERL5_MAN3%%/Dist::Build::XS::Import.3.gz
+%%PERL5_MAN3%%/Dist::Build::XS::WriteConstants.3.gz