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.
27 lines
621 B
Makefile
27 lines
621 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= Template-Plugin-JSON
|
|
PORTVERSION= 0.06
|
|
PORTREVISION= 1
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
COMMENT= Adds a .json vmethod for all TT values
|
|
|
|
BUILD_DEPENDS= p5-JSON>=2.12:${PORTSDIR}/converters/p5-JSON \
|
|
p5-Moose>0:${PORTSDIR}/devel/p5-Moose \
|
|
p5-Template-Toolkit>=2.20:${PORTSDIR}/www/p5-Template-Toolkit
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
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>
|