aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-05 05:13:49 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-05 06:11:17 +0000
commit0cbab0e6bc667ec97d722b9f414f641fba0b9ce3 (patch)
treedca2c4593e81d87737f6b54257cf23f7bf3a25c5
parent2762e0bd1b2f582e8029f335032f622c701d0920 (diff)
devel/p5-Proc-ChildError: Add p5-Proc-ChildError 0.04
Proc::ChildError produces a string description of an error number. $child_error defaults to $? if not specified. $os_error defaults to $! if not specified. The algorithm is taken from perldoc -f system.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Proc-ChildError/Makefile20
-rw-r--r--devel/p5-Proc-ChildError/distinfo3
-rw-r--r--devel/p5-Proc-ChildError/pkg-descr4
-rw-r--r--devel/p5-Proc-ChildError/pkg-plist2
5 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 6334d89cea2c..bc24c3dcdc6b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3319,6 +3319,7 @@
SUBDIR += p5-Pragmatic
SUBDIR += p5-Proc-BackOff
SUBDIR += p5-Proc-Background
+ SUBDIR += p5-Proc-ChildError
SUBDIR += p5-Proc-Daemon
SUBDIR += p5-Proc-FastSpawn
SUBDIR += p5-Proc-Find-Parents
diff --git a/devel/p5-Proc-ChildError/Makefile b/devel/p5-Proc-ChildError/Makefile
new file mode 100644
index 000000000000..256cd915c4f9
--- /dev/null
+++ b/devel/p5-Proc-ChildError/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= Proc-ChildError
+PORTVERSION= 0.04
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Explain process child error
+WWW= https://metacpan.org/dist/Proc-ChildError
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Proc-ChildError/distinfo b/devel/p5-Proc-ChildError/distinfo
new file mode 100644
index 000000000000..b669aeb31e80
--- /dev/null
+++ b/devel/p5-Proc-ChildError/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1724084464
+SHA256 (Proc-ChildError-0.04.tar.gz) = f6d55d35a1a3be08b04e1e0f9f3bc5133c9011716cbfee5b45c57d828707ce30
+SIZE (Proc-ChildError-0.04.tar.gz) = 13723
diff --git a/devel/p5-Proc-ChildError/pkg-descr b/devel/p5-Proc-ChildError/pkg-descr
new file mode 100644
index 000000000000..23082f4ba328
--- /dev/null
+++ b/devel/p5-Proc-ChildError/pkg-descr
@@ -0,0 +1,4 @@
+Proc::ChildError produces a string description of an error number. $child_error
+defaults to $? if not specified. $os_error defaults to $! if not specified.
+
+The algorithm is taken from perldoc -f system.
diff --git a/devel/p5-Proc-ChildError/pkg-plist b/devel/p5-Proc-ChildError/pkg-plist
new file mode 100644
index 000000000000..91736d13d5ab
--- /dev/null
+++ b/devel/p5-Proc-ChildError/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Proc/ChildError.pm
+%%PERL5_MAN3%%/Proc::ChildError.3.gz