39 lines
1.3 KiB
Makefile
39 lines
1.3 KiB
Makefile
# Created by: George Hartzell <hartzell@alerce.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= CGI-Application-Dispatch
|
|
PORTVERSION= 3.07
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN/CGI
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Dispatch requests to CGI::Application based objects
|
|
|
|
BUILD_DEPENDS= p5-CGI-Application>=4.50:${PORTSDIR}/www/p5-CGI-Application \
|
|
p5-Exception-Class>=1.20:${PORTSDIR}/devel/p5-Exception-Class \
|
|
p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \
|
|
p5-HTTP-Exception>=0:${PORTSDIR}/www/p5-HTTP-Exception
|
|
RUN_DEPENDS= p5-CGI-Application>=4.50:${PORTSDIR}/www/p5-CGI-Application \
|
|
p5-Exception-Class>=1.20:${PORTSDIR}/devel/p5-Exception-Class \
|
|
p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \
|
|
p5-HTTP-Exception>=0:${PORTSDIR}/www/p5-HTTP-Exception
|
|
|
|
TEST_DEPENDS= p5-CGI-PSGI>=0:${PORTSDIR}/www/p5-CGI-PSGI \
|
|
p5-Plack>=0.9956:${PORTSDIR}/www/p5-Plack \
|
|
p5-Test-LongString>=0:${PORTSDIR}/devel/p5-Test-LongString
|
|
|
|
PERL_MODBUILD= yes
|
|
|
|
MAN3= CGI::Application::Dispatch.3 \
|
|
CGI::Application::Dispatch::PSGI.3 \
|
|
CGI::Application::Dispatch::Regexp.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501200
|
|
BUILD_DEPENDS+= p5-version>=0.82:${PORTSDIR}/devel/p5-version
|
|
RUN_DEPENDS+= p5-version>=0.82:${PORTSDIR}/devel/p5-version
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|