opnsense-ports/devel/p5-Specio/Makefile

39 lines
1003 B
Makefile

# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= Specio
PORTVERSION= 0.30
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DROLSKY
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Type constraints and coercions for Perl
LICENSE= ART20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= p5-Devel-StackTrace>=0:devel/p5-Devel-StackTrace \
p5-Eval-Closure>=0:devel/p5-Eval-Closure \
p5-MRO-Compat>=0:devel/p5-MRO-Compat \
p5-Role-Tiny>=1.003003:devel/p5-Role-Tiny
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Fatal>=0:devel/p5-Test-Fatal \
p5-Test-Needs>=0:devel/p5-Test-Needs \
p5-namespace-autoclean>=0:devel/p5-namespace-autoclean
NO_ARCH= yes
USE_PERL5= configure
USES= perl5
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.33:lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>