aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-PPI
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-PPI')
-rw-r--r--textproc/p5-PPI/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/textproc/p5-PPI/Makefile b/textproc/p5-PPI/Makefile
index fe4147e4fda1..079218936711 100644
--- a/textproc/p5-PPI/Makefile
+++ b/textproc/p5-PPI/Makefile
@@ -7,7 +7,7 @@
PORTNAME= PPI
PORTVERSION= 1.215
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:ADAMK
@@ -21,8 +21,13 @@ BUILD_DEPENDS= \
p5-IO-String>=1.07:${PORTSDIR}/devel/p5-IO-String \
p5-List-MoreUtils>=0.16:${PORTSDIR}/lang/p5-List-MoreUtils \
p5-Params-Util>=1.00:${PORTSDIR}/devel/p5-Params-Util \
- p5-Task-Weaken>0:${PORTSDIR}/devel/p5-Task-Weaken
+ p5-Task-Weaken>0:${PORTSDIR}/devel/p5-Task-Weaken \
+ p5-Class-Inspector>=1.22:${PORTSDIR}/devel/p5-Class-Inspector \
+ p5-File-Remove>=1.42:${PORTSDIR}/devel/p5-File-Remove
RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Test-NoWarnings>=0.084:${PORTSDIR}/devel/p5-Test-NoWarnings \
+ p5-Test-Object>=0.07:${PORTSDIR}/devel/p5-Test-Object \
+ p5-Test-SubCalls>=1.07:${PORTSDIR}/devel/p5-Test-SubCalls
PERL_CONFIGURE= yes
@@ -116,6 +121,9 @@ MAN3= PPI.3 \
PPI::Transform.3 \
PPI::Transform::UpdateCopyright.3
+regression-test: build
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501000