From 2b72f9a1b8342c142ae41a2a37dff120a42d0243 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Wed, 9 Mar 2011 16:44:16 +0000 Subject: Emplacken is a tool for managing a set of Plack applications based on config files. It also adds support for privilege dropping and error logs to those Plack servers that don't support these features natively. It works be reading a config file and using that to generate a PSGI application file based on your config. It knows how to generate Catalyst, Mojo, and Mason app files natively. For other apps, or more complicated setups, you can supply a template to Emplacken and it will use that to generate the PSGI app. WWW: http://search.cpan.org/dist/Emplacken/ PR: ports/154812 Submitted by: Gea-Suan Lin --- www/Makefile | 1 + www/p5-Emplacken/Makefile | 37 +++++++++++++++++++++++++++++++++++++ www/p5-Emplacken/distinfo | 2 ++ www/p5-Emplacken/pkg-descr | 12 ++++++++++++ www/p5-Emplacken/pkg-plist | 21 +++++++++++++++++++++ 5 files changed, 73 insertions(+) create mode 100644 www/p5-Emplacken/Makefile create mode 100644 www/p5-Emplacken/distinfo create mode 100644 www/p5-Emplacken/pkg-descr create mode 100644 www/p5-Emplacken/pkg-plist (limited to 'www') diff --git a/www/Makefile b/www/Makefile index 351cad993b9e..4986a04d0906 100644 --- a/www/Makefile +++ b/www/Makefile @@ -912,6 +912,7 @@ SUBDIR += p5-Dancer-Plugin-Feed SUBDIR += p5-Data-TreeDumper-Renderer-DHTML SUBDIR += p5-Data-Validate-URI + SUBDIR += p5-Emplacken SUBDIR += p5-FAQ-OMatic SUBDIR += p5-FCGI-Async SUBDIR += p5-FCGI-Client diff --git a/www/p5-Emplacken/Makefile b/www/p5-Emplacken/Makefile new file mode 100644 index 000000000000..99b78cf1e9a3 --- /dev/null +++ b/www/p5-Emplacken/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: p5-Emplacken +# Date created: 2011-02-16 +# Whom: Gea-Suan Lin +# +# $FreeBSD$ +# + +PORTNAME= Emplacken +PORTVERSION= 0.01 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= ../../authors/id/D/DR/DROLSKY +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Manage multiple plack apps with a directory of config files + +RUN_DEPENDS= p5-Class-Load>=0:${PORTSDIR}/devel/p5-Class-Load \ + p5-Config-Any>=0:${PORTSDIR}/devel/p5-Config-Any \ + p5-File-Pid>=0:${PORTSDIR}/devel/p5-File-Pid \ + p5-List-AllUtils>=0:${PORTSDIR}/devel/p5-List-AllUtils \ + p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \ + p5-MooseX-Getopt>=0:${PORTSDIR}/devel/p5-MooseX-Getopt \ + p5-MooseX-Types>=0:${PORTSDIR}/devel/p5-MooseX-Types \ + p5-MooseX-Types-Path-Class>=0:${PORTSDIR}/devel/p5-MooseX-Types-Path-Class \ + p5-MooseX-Types-Perl>=0:${PORTSDIR}/devel/p5-MooseX-Types-Perl \ + p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class \ + p5-Text-Template>=0:${PORTSDIR}/textproc/p5-Text-Template \ + p5-autodie>=0:${PORTSDIR}/devel/p5-autodie \ + p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean + +PERL_CONFIGURE= yes + +MAN3= Emplacken.3 \ + Emplacken::Types.3 + +.include diff --git a/www/p5-Emplacken/distinfo b/www/p5-Emplacken/distinfo new file mode 100644 index 000000000000..6371a518ea31 --- /dev/null +++ b/www/p5-Emplacken/distinfo @@ -0,0 +1,2 @@ +SHA256 (Emplacken-0.01.tar.gz) = 70ffdf0c183771e7c7a9eefe1c505604c3c40ffd48327a86ce4dadd94c33d7cc +SIZE (Emplacken-0.01.tar.gz) = 19207 diff --git a/www/p5-Emplacken/pkg-descr b/www/p5-Emplacken/pkg-descr new file mode 100644 index 000000000000..ca2f30e370ee --- /dev/null +++ b/www/p5-Emplacken/pkg-descr @@ -0,0 +1,12 @@ +Emplacken is a tool for managing a set of Plack applications based on +config files. It also adds support for privilege dropping and error +logs to those Plack servers that don't support these features +natively. + +It works be reading a config file and using that to generate a PSGI +application file based on your config. It knows how to generate +Catalyst, Mojo, and Mason app files natively. For other apps, or more +complicated setups, you can supply a template to Emplacken and it +will use that to generate the PSGI app. + +WWW: http://search.cpan.org/dist/Emplacken/ diff --git a/www/p5-Emplacken/pkg-plist b/www/p5-Emplacken/pkg-plist new file mode 100644 index 000000000000..54ad19bbe625 --- /dev/null +++ b/www/p5-Emplacken/pkg-plist @@ -0,0 +1,21 @@ +@comment $FreeBSD$ +bin/emplacken +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Emplacken/.packlist +%%SITE_PERL%%/Emplacken.pm +%%SITE_PERL%%/Emplacken/App.pm +%%SITE_PERL%%/Emplacken/App/Starman.pm +%%SITE_PERL%%/Emplacken/CodeBuilder/Catalyst.pm +%%SITE_PERL%%/Emplacken/CodeBuilder/Dancer.pm +%%SITE_PERL%%/Emplacken/CodeBuilder/FromTemplate.pm +%%SITE_PERL%%/Emplacken/CodeBuilder/Mason.pm +%%SITE_PERL%%/Emplacken/CodeBuilder/Mojo.pm +%%SITE_PERL%%/Emplacken/Role/CodeBuilder.pm +%%SITE_PERL%%/Emplacken/Stderr.pm +%%SITE_PERL%%/Emplacken/Types.pm +%%SITE_PERL%%/Emplacken/Types/Internal.pm +@dirrmtry %%SITE_PERL%%/Emplacken/Types +@dirrmtry %%SITE_PERL%%/Emplacken/Role +@dirrmtry %%SITE_PERL%%/Emplacken/CodeBuilder +@dirrmtry %%SITE_PERL%%/Emplacken/App +@dirrmtry %%SITE_PERL%%/Emplacken +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Emplacken -- cgit v1.2.3