freebsd-ports/www/p5-Catalyst-Model-Adaptor/Makefile
Adam Weinberger bd48f30188 Convert all p5-Test-use-ok dependencies to p5-Test-Simple, but only on
perl < 5.22. For www/p5-Catalyst-Controller-BindLex, change it from a
BUILD/RUN depend to TEST, as it is only used for the test target, and bump
PORTREVISION on that port.
2015-06-24 16:29:25 +00:00

28 lines
725 B
Makefile

# Created by: Vladimir Timofeev <vovkasm@gmail.com>
# $FreeBSD$
PORTNAME= Catalyst-Model-Adaptor
PORTVERSION= 0.10
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= vovkasm@gmail.com
COMMENT= Use a plain class as a Catalyst model
RUN_DEPENDS= p5-Catalyst-Runtime>=0:${PORTSDIR}/www/p5-Catalyst-Runtime \
p5-MRO-Compat>=0:${PORTSDIR}/devel/p5-MRO-Compat
BUILD_DEPENDS:= ${RUN_DEPENDS}
TEST_DEPENDS= p5-Test-WWW-Mechanize-Catalyst>=0:${PORTSDIR}/devel/p5-Test-WWW-Mechanize-Catalyst
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502200
TEST_DEPENDS+= p5-Test-Simple>=1.001.014:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>