8b87ab8cba
The purpose of this small (in scope and footprint) module is simple: spawn a subprocess asynchronously as efficiently and/or fast as possible. Basically the same as calling fork+exec (on POSIX), but hopefully faster than those two syscalls. Apart from fork overhead, this module also allows you to fork+exec programs when otherwise you couldn't - for example, when you use POSIX threads in your perl process then it generally isn't safe to call fork from perl, but it is safe to use this module to execute external processes. WWW: https://metacpan.org/dist/Proc-FastSpawn
21 lines
456 B
Makefile
21 lines
456 B
Makefile
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
|
|
PORTNAME= Proc-FastSpawn
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= fork+exec, or spawn, a subprocess as quickly as possible
|
|
|
|
LICENSE= ART10 GPLv1+
|
|
LICENSE_COMB= dual
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Proc/FastSpawn/FastSpawn.so
|
|
|
|
.include <bsd.port.mk>
|