www/p5-Mojolicious-Plugin-RenderFile: New port

Mojolicious::Plugin::RenderFile is a Mojolicious plugin that adds
"render_file" helper. It does not read file in memory and just
streaming it to a client.
PR:		284994
Reported by:	diego <teru-sama@riseup.net>
This commit is contained in:
diego 2025-04-08 07:50:00 +00:00 committed by Wen Heping
parent 49adf90783
commit 73371e8332
4 changed files with 30 additions and 0 deletions

View file

@ -1057,6 +1057,7 @@
SUBDIR += p5-Mojolicious-Plugin-HamlRenderer
SUBDIR += p5-Mojolicious-Plugin-Mongodb
SUBDIR += p5-Mojolicious-Plugin-OpenAPI
SUBDIR += p5-Mojolicious-Plugin-RenderFile
SUBDIR += p5-Mojolicious-Plugin-SetUserGroup
SUBDIR += p5-Mojolicious-Plugin-TtRenderer
SUBDIR += p5-Mojolicious-Plugin-YamlConfig

View file

@ -0,0 +1,23 @@
PORTNAME= Mojolicious-Plugin-RenderFile
PORTVERSION= 0.12
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= teru-sama@riseup.net
COMMENT= RenderFile plugin for Mojolicious
WWW= https://metacpan.org/dist/Mojolicious-Plugin-RenderFile
LICENSE= ART20
NO_ARCH= yes
USES= perl5
USE_PERL5= configure
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Mojolicious>=1:www/p5-Mojolicious
PLIST_FILES= lib/perl5/site_perl/Mojolicious/Plugin/RenderFile.pm \
lib/perl5/site_perl/man/man3/Mojolicious::Plugin::RenderFile.3.gz
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1740330987
SHA256 (Mojolicious-Plugin-RenderFile-0.12.tar.gz) = 013e42a2cc06bc7041bb13c9df388af24010e69793a8df0f0ab1d240aa61173f
SIZE (Mojolicious-Plugin-RenderFile-0.12.tar.gz) = 4925

View file

@ -0,0 +1,3 @@
Mojolicious::Plugin::RenderFile is a Mojolicious plugin that adds
"render_file" helper. It does not read file in memory and just
streaming it to a client.