freebsd-ports/devel/p5-AnyEvent-Fork/Makefile
Po-Chuan Hsieh d35afbe77d
devel/p5-AnyEvent-Fork: Add p5-AnyEvent-Fork 1.31
AnyEvent::Fork allows you to create new processes, without actually forking them
from your current process (avoiding the problems of forking), but preserving
most of the advantages of fork.

It can be used to create new worker processes or new independent subprocesses
for short- and long-running jobs, process pools (e.g. for use in pre-forked
servers) but also to spawn new external processes (such as CGI scripts from a
web server), which can be faster (and more well behaved) than using fork+exec in
big processes.

WWW: https://metacpan.org/dist/AnyEvent-Fork
2021-09-22 06:11:09 +08:00

26 lines
571 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= AnyEvent-Fork
PORTVERSION= 1.31
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Create new worker processes like fork()
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-AnyEvent>=6,1:devel/p5-AnyEvent \
p5-IO-FDPass>=0.2:devel/p5-IO-FDPass \
p5-Proc-FastSpawn>=0.1:devel/p5-Proc-FastSpawn \
p5-common-sense>=3.6:devel/p5-common-sense
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>