# Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD$ PORTNAME= MooseX-Runnable PORTVERSION= 0.06 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Tag a class as a runnable application LICENSE= ART10 GPLv1 LICENSE_COMB= dual BUILD_DEPENDS= p5-Class-Load>=0:${PORTSDIR}/devel/p5-Class-Load \ p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \ p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \ p5-MooseX-Getopt>=0:${PORTSDIR}/devel/p5-MooseX-Getopt \ p5-MooseX-Types>=0:${PORTSDIR}/devel/p5-MooseX-Types \ p5-MooseX-Types-Path-Class>=0:${PORTSDIR}/devel/p5-MooseX-Types-Path-Class \ p5-Params-Util>=0:${PORTSDIR}/devel/p5-Params-Util \ p5-Path-Tiny>=0:${PORTSDIR}/devel/p5-Path-Tiny \ p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean RUN_DEPENDS:= ${BUILD_DEPENDS} TEST_DEPENDS= p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \ p5-Test-TableDriven>=0:${PORTSDIR}/devel/p5-Test-TableDriven \ p5-Test-use-ok>=0:${PORTSDIR}/devel/p5-Test-use-ok USE_PERL5= modbuildtiny USES= perl5 post-patch: @${MV} ${WRKSRC}/script/bin/mx-run ${WRKSRC}/script/ @${REINPLACE_CMD} -e 's|script/bin/mx-run|script/mx-run|' ${WRKSRC}/MANIFEST ${WRKSRC}/Makefile.PL ${WRKSRC}/xt/release/no-tabs.t ${WRKSRC}/xt/author/00-compile.t .include