1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Plack::Middleware::Expires is Apache's mod_expires for Plack. This

middleware controls the setting of Expires HTTP header and the max-age
directive of the Cache-Control HTTP header in server responses. Note:
Expires works only for successful response and If exists Expires HTTP
header already, this middleware does not override.

WWW:	http://search.cpan.org/dist/Plack-Middleware-Expires/

PR:		ports/154476
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
This commit is contained in:
Martin Wilke 2011-03-09 16:42:38 +00:00
parent c5ef55d74d
commit bf30440eae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270563
5 changed files with 49 additions and 0 deletions

View File

@ -1145,6 +1145,7 @@
SUBDIR += p5-Plack-Middleware-ConsoleLogger
SUBDIR += p5-Plack-Middleware-Debug
SUBDIR += p5-Plack-Middleware-Deflater
SUBDIR += p5-Plack-Middleware-Expires
SUBDIR += p5-Plack-Middleware-File-Sass
SUBDIR += p5-Plack-Middleware-Header
SUBDIR += p5-Plack-Middleware-IEnosniff

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: p5-Plack-Middleware-Expires
# Date created: 2011-02-03
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= Plack-Middleware-Expires
PORTVERSION= 0.03
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= gslin@gslin.org
COMMENT= Perl module mod_expires for Plack
RUN_DEPENDS= p5-Plack>=0.9937:${PORTSDIR}/www/p5-Plack \
p5-Try-Tiny>=0.06:${PORTSDIR}/lang/p5-Try-Tiny \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
PERL_CONFIGURE= yes
MAN3= Plack::Middleware::Expires.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501001
RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Plack-Middleware-Expires-0.03.tar.gz) = cede38e91339cc0fc8d6188a0bd1f4f5d0dccf76c7f92047981461c9e9488545
SIZE (Plack-Middleware-Expires-0.03.tar.gz) = 26665

View File

@ -0,0 +1,7 @@
Plack::Middleware::Expires is Apache's mod_expires for Plack. This
middleware controls the setting of Expires HTTP header and the max-age
directive of the Cache-Control HTTP header in server responses. Note:
Expires works only for successful response and If exists Expires HTTP
header already, this middleware does not override.
WWW: http://search.cpan.org/dist/Plack-Middleware-Expires/

View File

@ -0,0 +1,8 @@
@comment $FreeBSD$
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware/Expires/.packlist
%%SITE_PERL%%/Plack/Middleware/Expires.pm
@dirrmtry %%SITE_PERL%%/Plack/Middleware
@dirrmtry %%SITE_PERL%%/Plack
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware/Expires
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack