aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-04-27 13:01:16 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-04-27 13:06:46 +0000
commit82591758a8d1e5eb492bf6b37101fdd7144f8b33 (patch)
tree4386a995c17fe7110d49f50c36a2c5831074098a
parent663aa0643341ec7ad896505f2804a96ea3f20b19 (diff)
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.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-App-Yath-Script/Makefile26
-rw-r--r--devel/p5-App-Yath-Script/distinfo3
-rw-r--r--devel/p5-App-Yath-Script/pkg-descr8
-rw-r--r--devel/p5-App-Yath-Script/pkg-plist8
5 files changed, 46 insertions, 0 deletions
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