aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Devel-Cover/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Devel-Cover/Makefile')
-rw-r--r--devel/p5-Devel-Cover/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/p5-Devel-Cover/Makefile b/devel/p5-Devel-Cover/Makefile
index f7b27bab357..5894fcfeece 100644
--- a/devel/p5-Devel-Cover/Makefile
+++ b/devel/p5-Devel-Cover/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Devel-Cover
-PORTVERSION= 0.50
+PORTVERSION= 0.51
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Devel
@@ -51,6 +51,15 @@ MAN3= Devel::Cover.3 \
Devel::Cover::Tutorial.3
MAN1= cover.1 gcov2perl.1
+.if !defined(NOPORTDOCS)
+PORTDOCS= BUGS CHANGES README TODO
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800