freebsd-ports/www/p5-Plack-Middleware-Expires/Makefile
Martin Wilke bf30440eae 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>
2011-03-09 16:42:38 +00:00

31 lines
691 B
Makefile

# 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>