ports/devel/p5-IPC-System-Options/Makefile
Po-Chuan Hsieh b5580f211c
devel/p5-IPC-System-Options: Add p5-IPC-System-Options 0.341
IPC::System::Options provides replacement (wrapper) for Perl's system(),
readpipe() (qx//, a.k.a. the backtick operator), as well as IPC::Run's start()
and run(). The wrappers give you options like forcing/avoiding use of shell
(like what IPC::System::Simple offers you), logging the arguments and/or output
(using Log::ger), temporarily setting environment variables, temporarily setting
working directory, dying on non-zero exit code, capturing (or tee-ing) output
(stdout/stderr) (using Capture::Tiny), and a few others. They are meant as a
convenience so you can just call system() (or the other wrapper target) instead
of doing some additional setup and cleanup yourself.
2024-09-05 14:11:16 +08:00

28 lines
753 B
Makefile

PORTNAME= IPC-System-Options
PORTVERSION= 0.341
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Perl system(), readpipe()/qx, IPC::Run's run(), start() (with more options)
WWW= https://metacpan.org/dist/IPC-System-Options
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Capture-Tiny>=0:devel/p5-Capture-Tiny \
p5-IPC-Run>=0:devel/p5-IPC-Run \
p5-Log-ger>=0.018:devel/p5-Log-ger \
p5-Proc-ChildError>=0:devel/p5-Proc-ChildError \
p5-String-ShellQuote>=0:textproc/p5-String-ShellQuote
TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>