pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/Makefile
wiedi febaa35694 Import p5-Mojo-IOLoop-ForkCall-0.14 as devel/p5-Mojo-IOLoop-ForkCall
Asynchronous programming can be benefitial for performance, however
not all functions are written for nonblocking interaction and
external processes almost never are.

By forking the blocking call into a new process, the main thread may
continue to run non-blocking, while the blocking call evaluates.
Mojo::IOLoop::ForkCall manages the forking and will emit an
event (or execute a callback) when the forked process completes.
Return values are serialized and sent from the child to the parent
via an appropriate pipe for your platform.
2014-08-30 10:53:51 +00:00

23 lines
742 B
Makefile

# $NetBSD: Makefile,v 1.1 2014/08/30 10:53:51 wiedi Exp $
VERSION= 0.14
DISTNAME= ${VERSION}
PKGNAME= p5-Mojo-IOLoop-ForkCall-${VERSION}
CATEGORIES= devel
MASTER_SITES= https://github.com/jberger/Mojo-IOLoop-ForkCall/archive/
MAINTAINER= wiedi@frubar.net
HOMEPAGE= https://github.com/jberger/Mojo-IOLoop-ForkCall/
COMMENT= Execute a code block asynchronously by forking
LICENSE= ${PERL5_LICENSE}
WRKSRC= ${WRKDIR}/Mojo-IOLoop-ForkCall-${VERSION}
PERL5_MODULE_TYPE= Module::Build
PERL5_PACKLIST= auto/Mojo/IOLoop/ForkCall/.packlist
USE_LANGUAGES= # none
DEPENDS+= p5-IO-Pipely-[0-9]*:../../devel/p5-IO-Pipely
DEPENDS+= p5-Mojolicious>=5.08:../../www/p5-Mojolicious
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"