mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +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:
parent
c5ef55d74d
commit
bf30440eae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270563
@ -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
|
||||
|
31
www/p5-Plack-Middleware-Expires/Makefile
Normal file
31
www/p5-Plack-Middleware-Expires/Makefile
Normal 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>
|
2
www/p5-Plack-Middleware-Expires/distinfo
Normal file
2
www/p5-Plack-Middleware-Expires/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (Plack-Middleware-Expires-0.03.tar.gz) = cede38e91339cc0fc8d6188a0bd1f4f5d0dccf76c7f92047981461c9e9488545
|
||||
SIZE (Plack-Middleware-Expires-0.03.tar.gz) = 26665
|
7
www/p5-Plack-Middleware-Expires/pkg-descr
Normal file
7
www/p5-Plack-Middleware-Expires/pkg-descr
Normal 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/
|
8
www/p5-Plack-Middleware-Expires/pkg-plist
Normal file
8
www/p5-Plack-Middleware-Expires/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user