git: 0cbab0e6bc66 - main - devel/p5-Proc-ChildError: Add p5-Proc-ChildError 0.04
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Sep 2024 06:19:22 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0cbab0e6bc667ec97d722b9f414f641fba0b9ce3
commit 0cbab0e6bc667ec97d722b9f414f641fba0b9ce3
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-05 05:13:49 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-05 06:11:17 +0000
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.
---
devel/Makefile | 1 +
devel/p5-Proc-ChildError/Makefile | 20 ++++++++++++++++++++
devel/p5-Proc-ChildError/distinfo | 3 +++
devel/p5-Proc-ChildError/pkg-descr | 4 ++++
devel/p5-Proc-ChildError/pkg-plist | 2 ++
5 files changed, 30 insertions(+)
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