summaryrefslogtreecommitdiff
path: root/www/p5-Plack-Middleware-Throttle/Makefile
blob: 7c602a3c2b71de0616dae65532774128f65f61ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:	Plack::Middleware::Throttle
# Date created:		04 Sep 2010
# Whom:			Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	Plack-Middleware-Throttle
PORTVERSION=	0.01
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	kuriyama@FreeBSD.org
COMMENT=	Perl extension of rate-limiting incoming HTTP requests for Plack

RUN_DEPENDS=	\
	p5-DateTime>0:${PORTSDIR}/devel/p5-DateTime \
	p5-libwww>0:${PORTSDIR}/www/p5-libwww \
	p5-Moose>0:${PORTSDIR}/devel/p5-Moose \
	p5-Plack>0:${PORTSDIR}/www/p5-Plack
BUILD_DEPENDS=	${RUN_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=	Plack::Middleware::Throttle.3 \
	Plack::Middleware::Throttle::Daily.3 \
	Plack::Middleware::Throttle::Hourly.3 \
	Plack::Middleware::Throttle::Interval.3 \
	Plack::Middleware::Throttle::Limiter.3

.include <bsd.port.mk>