DESCR

SpeedyCGI is a way to run perl scripts persistently, which can make them run
much more quickly. A script can be made to to run persistently by changing
the interpreter line at the top of the script from:

#!${PREFIX}/bin/perl

to

#!${PREFIX}/lib/perl5/vendor_perl/bin/speedy

After the script is initially run, instead of exiting, the perl interpreter
is kept running. During subsequent runs, this interpreter is used to handle
new executions instead of starting a new perl interpreter each time. A very
fast frontend program, written in C, is executed for each request. This fast
frontend then contacts the persistent Perl process, which is usually already
running, to do the work and return the results.

Makefile

# $NetBSD: Makefile,v 1.13 2009/07/17 18:00:25 adrianp Exp $

DISTNAME= CGI-SpeedyCGI-2.22
PKGNAME= SpeedyCGI-2.22
PKGREVISION= 4
CATEGORIES= www
MASTER_SITES= http://daemoninc.com/SpeedyCGI/

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://daemoninc.com/SpeedyCGI/
COMMENT= Speed up perl scripts by running them persistently

PKG_DESTDIR_SUPPORT= user-destdir

MAKE_JOBS_SAFE= no

BUILDLINK_API_DEPENDS.perl+= perl>=5.10
PERL5_PACKLIST= auto/CGI/SpeedyCGI/.packlist

SUBST_CLASSES+= run
SUBST_STAGE.run= post-patch
SUBST_FILES.run= src/optdefs
SUBST_SED.run+= -e "s|@@PREFIX@@|${PREFIX}|g"
SUBST_MESSAGE.run= Fixing hardcoded paths.

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

distinfo

$NetBSD: distinfo,v 1.4 2008/10/20 20:41:47 adrianp Exp $

SHA1 (CGI-SpeedyCGI-2.22.tar.gz) = 155437a83eedc2cb1ae2b9f93a731a0cfb7ce7f2
RMD160 (CGI-SpeedyCGI-2.22.tar.gz) = 90bc10281f4380d6d9e3b376ce385567fb3d165d
Size (CGI-SpeedyCGI-2.22.tar.gz) = 151946 bytes
SHA1 (patch-aa) = 099bf2fa764488a70cf1b70ef9b7cfb44dc70853
SHA1 (patch-ab) = dc6c90c52a855280824738e98301560640932cfa
SHA1 (patch-ac) = ada49b40a665f28656a238b2b7566980d1736f24
SHA1 (patch-ad) = 099ebd36ffb48da38e0af21416f427afb0ed9012