git: 1430dabdb37f - main - sysutils/p5-POSIX-Run-Capture: new port had been added (+)

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Fri, 13 May 2022 01:49:02 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1430dabdb37f6c6aea8c089b78f8282a2c7b0ca5

commit 1430dabdb37f6c6aea8c089b78f8282a2c7b0ca5
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-05-13 01:48:06 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-05-13 01:48:06 +0000

    sysutils/p5-POSIX-Run-Capture: new port had been added (+)
    
    This module runs external command and captures its output.
    Both standard error and output are captured.  Upon exit,
    their contents can be accessed line by line or in one chunk.
    
    WWW: https://metacpan.org/dist/POSIX-Run-Capture
---
 sysutils/Makefile                       |  1 +
 sysutils/p5-POSIX-Run-Capture/Makefile  | 19 +++++++++++++++++++
 sysutils/p5-POSIX-Run-Capture/distinfo  |  3 +++
 sysutils/p5-POSIX-Run-Capture/pkg-descr | 11 +++++++++++
 sysutils/p5-POSIX-Run-Capture/pkg-plist |  3 +++
 5 files changed, 37 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 26ee0452a5a6..e01e43960e2d 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -873,6 +873,7 @@
     SUBDIR += p5-MogileFS-Server
     SUBDIR += p5-MogileFS-Utils
     SUBDIR += p5-Monitor-Simple
+    SUBDIR += p5-POSIX-Run-Capture
     SUBDIR += p5-Plugtools
     SUBDIR += p5-Plugtools-Plugins-HomeOU
     SUBDIR += p5-Probe-Perl
diff --git a/sysutils/p5-POSIX-Run-Capture/Makefile b/sysutils/p5-POSIX-Run-Capture/Makefile
new file mode 100644
index 000000000000..8a8fbd502c96
--- /dev/null
+++ b/sysutils/p5-POSIX-Run-Capture/Makefile
@@ -0,0 +1,19 @@
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
+
+PORTNAME=	POSIX-Run-Capture
+PORTVERSION=	1.03
+CATEGORIES=	sysutils perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	perl@FreeBSD.org
+COMMENT=	Run command and capture its output
+
+LICENSE=	GPLv3+
+
+TEST_DEPENDS=	p5-File-Cmp>=1.06:sysutils/p5-File-Cmp
+
+USES=		perl5
+USE_PERL5=	configure
+
+.include <bsd.port.mk>
diff --git a/sysutils/p5-POSIX-Run-Capture/distinfo b/sysutils/p5-POSIX-Run-Capture/distinfo
new file mode 100644
index 000000000000..0d5a3ce05f9a
--- /dev/null
+++ b/sysutils/p5-POSIX-Run-Capture/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1614076233
+SHA256 (POSIX-Run-Capture-1.03.tar.gz) = 9ead96699cc44bcc25c3ed13442b393b3dab29728e41635bde2b7d8ce170411b
+SIZE (POSIX-Run-Capture-1.03.tar.gz) = 176257
diff --git a/sysutils/p5-POSIX-Run-Capture/pkg-descr b/sysutils/p5-POSIX-Run-Capture/pkg-descr
new file mode 100644
index 000000000000..bf5cfe9d9cfc
--- /dev/null
+++ b/sysutils/p5-POSIX-Run-Capture/pkg-descr
@@ -0,0 +1,11 @@
+POSIX::Run::Capture runs an external command and captures its output.
+Both standard error and output are captured.  Upon exit, their contents
+can be accessed line by line or in one chunk.  Callback routines can be
+supplied that will be called for each complete line of output read,
+providing a way for synchronous processing.  Standard input can be
+supplied as either a file handle or a text.
+
+This module is for those who value performance and effectiveness over
+portability.  As its name suggests, it can be used only on POSIX systems.
+
+WWW: https://metacpan.org/dist/POSIX-Run-Capture
diff --git a/sysutils/p5-POSIX-Run-Capture/pkg-plist b/sysutils/p5-POSIX-Run-Capture/pkg-plist
new file mode 100644
index 000000000000..2ef99590311a
--- /dev/null
+++ b/sysutils/p5-POSIX-Run-Capture/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/POSIX/Run/Capture.pm
+%%SITE_ARCH%%/auto/POSIX/Run/Capture/Capture.so
+%%PERL5_MAN3%%/POSIX::Run::Capture.3.gz