freebsd-ports/www/p5-Plack-Middleware-Throttle/Makefile

29 lines
724 B
Makefile

# $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}
USES= perl5
USE_PERL5= configure
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
NO_STAGE= yes
.include <bsd.port.mk>