Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2026 13:09:50 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 82591758a8d1 - main - devel/p5-App-Yath-Script: Add p5-App-Yath-Script 2.000011
Message-ID:  <69ef601e.3182c.35728d41@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

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

commit 82591758a8d1e5eb492bf6b37101fdd7144f8b33
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-04-27 13:01:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-04-27 13:06:46 +0000

    devel/p5-App-Yath-Script: Add p5-App-Yath-Script 2.000011
    
    App::Yath::Script provides the initial entry point for the yath script. It
    handles script discovery, configuration loading, version detection, and
    delegation to version-specific script modules (App::Yath::Script::V{X}).
    
    During the BEGIN phase, do_begin() locates .yath.rc and .yath.user.rc
    configuration files, determines the harness version to use, and delegates to the
    appropriate App::Yath::Script::V{X} module. At runtime, do_runtime() hands off
    execution to that module.
---
 devel/Makefile                     |  1 +
 devel/p5-App-Yath-Script/Makefile  | 26 ++++++++++++++++++++++++++
 devel/p5-App-Yath-Script/distinfo  |  3 +++
 devel/p5-App-Yath-Script/pkg-descr |  8 ++++++++
 devel/p5-App-Yath-Script/pkg-plist |  8 ++++++++
 5 files changed, 46 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 7e12b905e4d1..ef78b30b5569 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1956,6 +1956,7 @@
     SUBDIR += p5-App-SD
     SUBDIR += p5-App-SVN-Bisect
     SUBDIR += p5-App-Trace
+    SUBDIR += p5-App-Yath-Script
     SUBDIR += p5-App-cpanminus
     SUBDIR += p5-App-cpanminus-reporter
     SUBDIR += p5-App-cpanoutdated
diff --git a/devel/p5-App-Yath-Script/Makefile b/devel/p5-App-Yath-Script/Makefile
new file mode 100644
index 000000000000..c1f2e2b09c89
--- /dev/null
+++ b/devel/p5-App-Yath-Script/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	App-Yath-Script
+PORTVERSION=	2.000011
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:EXODIST
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Script initialization and utility functions for Test2::Harness
+WWW=		https://metacpan.org/dist/App-Yath-Script
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE_GPLv1+ =	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-Getopt-Yath>=2.000008:devel/p5-Getopt-Yath \
+		p5-Importer>=0.025:devel/p5-Importer
+TEST_DEPENDS=	p5-Test-Simple>=1.302200:devel/p5-Test-Simple
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-App-Yath-Script/distinfo b/devel/p5-App-Yath-Script/distinfo
new file mode 100644
index 000000000000..b4eb6fb6617d
--- /dev/null
+++ b/devel/p5-App-Yath-Script/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1777252468
+SHA256 (App-Yath-Script-2.000011.tar.gz) = 224b4bcd468545d21c8a3b77e56d1b1b9de1f04dc40779d6de27b6a7a8f84c33
+SIZE (App-Yath-Script-2.000011.tar.gz) = 38189
diff --git a/devel/p5-App-Yath-Script/pkg-descr b/devel/p5-App-Yath-Script/pkg-descr
new file mode 100644
index 000000000000..62d55ffaeba2
--- /dev/null
+++ b/devel/p5-App-Yath-Script/pkg-descr
@@ -0,0 +1,8 @@
+App::Yath::Script provides the initial entry point for the yath script. It
+handles script discovery, configuration loading, version detection, and
+delegation to version-specific script modules (App::Yath::Script::V{X}).
+
+During the BEGIN phase, do_begin() locates .yath.rc and .yath.user.rc
+configuration files, determines the harness version to use, and delegates to the
+appropriate App::Yath::Script::V{X} module. At runtime, do_runtime() hands off
+execution to that module.
diff --git a/devel/p5-App-Yath-Script/pkg-plist b/devel/p5-App-Yath-Script/pkg-plist
new file mode 100644
index 000000000000..c7296d33ca7c
--- /dev/null
+++ b/devel/p5-App-Yath-Script/pkg-plist
@@ -0,0 +1,8 @@
+bin/yath
+%%SITE_PERL%%/App/Yath/Script.pm
+%%SITE_PERL%%/App/Yath/Script/V0.pm
+%%SITE_PERL%%/App/Yath/template.pod
+%%PERL5_MAN1%%/yath.1.gz
+%%PERL5_MAN3%%/App::Yath::Script.3.gz
+%%PERL5_MAN3%%/App::Yath::Script::V0.3.gz
+%%PERL5_MAN3%%/App::Yath::template.3.gz


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ef601e.3182c.35728d41>