1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00

Add www/p5-Toadfarm, a tool for managing one or more Mojolicious

apps.

https://metacpan.org/pod/Toadfarm
This commit is contained in:
Adam Weinberger 2015-05-01 15:48:48 +00:00
parent 333a0dfd83
commit d36140d8f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385124
5 changed files with 69 additions and 0 deletions

View File

@ -1211,6 +1211,7 @@
SUBDIR += p5-Text-MultiMarkdown-ApacheHandler
SUBDIR += p5-Tie-TinyURL
SUBDIR += p5-Toader
SUBDIR += p5-Toadfarm
SUBDIR += p5-Twiggy
SUBDIR += p5-Twiggy-TLS
SUBDIR += p5-URI-Encode

23
www/p5-Toadfarm/Makefile Normal file
View File

@ -0,0 +1,23 @@
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= Toadfarm
PORTVERSION= 0.58
CATEGORIES= www perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:JHTHORSEN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= One Mojolicious app to rule them all
LICENSE= ART20
BUILD_DEPENDS= p5-File-Which>=1.00:${PORTSDIR}/sysutils/p5-File-Which \
p5-Mojolicious>=5.00:${PORTSDIR}/www/p5-Mojolicious
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
.include <bsd.port.mk>

2
www/p5-Toadfarm/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (Toadfarm-0.58.tar.gz) = 2154eb1f65972f74f21262fedf1ce17c795c7af0a0978ecce9bb048904f44d1e
SIZE (Toadfarm-0.58.tar.gz) = 27406

18
www/p5-Toadfarm/pkg-descr Normal file
View File

@ -0,0 +1,18 @@
Toadfarm is a module for configuring and starting your Mojolicious
applications. You can either combine multiple applications in one
script, or just use it as a init script.
Core features:
* Wrapper around hypnotoad that provides an init script.
* Advanced routing and virtual host configuration. Also support
routing from behind another web server, such as nginx. This
feature is very much like Mojolicious::Plugin::Mount on steroids.
* Hijacking log messages to a common log file. There's also plugin,
Toadfarm::Plugin::AccessLog, that allows you to log the requests
sent to your server.
WWW: https://metacpan.org/pod/Toadfarm

25
www/p5-Toadfarm/pkg-plist Normal file
View File

@ -0,0 +1,25 @@
bin/toadfarm
%%SITE_PERL%%/Toadfarm.pm
%%SITE_PERL%%/Toadfarm/Command/reload.pm
%%SITE_PERL%%/Toadfarm/Command/start.pm
%%SITE_PERL%%/Toadfarm/Command/stop.pm
%%SITE_PERL%%/Toadfarm/Manual/BehindReverseProxy.pod
%%SITE_PERL%%/Toadfarm/Manual/Config.pod
%%SITE_PERL%%/Toadfarm/Manual/DSL.pod
%%SITE_PERL%%/Toadfarm/Manual/Intro.pod
%%SITE_PERL%%/Toadfarm/Manual/RunningToadfarm.pod
%%SITE_PERL%%/Toadfarm/Manual/VirtualHost.pod
%%SITE_PERL%%/Toadfarm/Plugin/AccessLog.pm
%%SITE_PERL%%/Toadfarm/Plugin/Reload.pm
%%PERL5_MAN3%%/Toadfarm.3.gz
%%PERL5_MAN3%%/Toadfarm::Command::reload.3.gz
%%PERL5_MAN3%%/Toadfarm::Command::start.3.gz
%%PERL5_MAN3%%/Toadfarm::Command::stop.3.gz
%%PERL5_MAN3%%/Toadfarm::Manual::BehindReverseProxy.3.gz
%%PERL5_MAN3%%/Toadfarm::Manual::Config.3.gz
%%PERL5_MAN3%%/Toadfarm::Manual::DSL.3.gz
%%PERL5_MAN3%%/Toadfarm::Manual::Intro.3.gz
%%PERL5_MAN3%%/Toadfarm::Manual::RunningToadfarm.3.gz
%%PERL5_MAN3%%/Toadfarm::Manual::VirtualHost.3.gz
%%PERL5_MAN3%%/Toadfarm::Plugin::AccessLog.3.gz
%%PERL5_MAN3%%/Toadfarm::Plugin::Reload.3.gz