1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/devel/p5-IPC-ShellCmd/Makefile
Sunpoet Po-Chuan Hsieh 001814561d - Add p5-IPC-ShellCmd 0.005
IPC::ShellCmd comes from the nth time I've had to implement a select loop and
wanted appropriate sudo/su privilege magic, environment variables that are set
in the child, working directories set etc.

It aims to provide a reasonable interface for setting up command execution
environment (working directory, environment variables, stdin, stdout and stderr
redirection if necessary), but allowing for ssh and sudo and magicking in the
appropriate shell quoting.

It tries to be flexible about how you might want to capture output, exit status
and other such, but in such a way as it's hopefully easy to understand and make
it work.

Setup method calls are chain-able in a File::Find::Rule kind of a way.

WWW: http://search.cpan.org/dist/IPC-ShellCmd/
2013-11-03 05:00:53 +00:00

25 lines
574 B
Makefile

# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= IPC-ShellCmd
PORTVERSION= 0.005
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:ANDREWF
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Run a command with a given environment and capture output
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= ${LOCALBASE}/bin/sudo:${PORTSDIR}/security/sudo \
p5-String-ShellQuote>=0:${PORTSDIR}/textproc/p5-String-ShellQuote
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_PERL5= configure
USES= perl5
.include <bsd.port.mk>