aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Test-Tester/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Test-Tester/Makefile')
-rw-r--r--devel/p5-Test-Tester/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/devel/p5-Test-Tester/Makefile b/devel/p5-Test-Tester/Makefile
index 8cc05618dd85..3f9c3194d34d 100644
--- a/devel/p5-Test-Tester/Makefile
+++ b/devel/p5-Test-Tester/Makefile
@@ -6,11 +6,12 @@
#
PORTNAME= Test-Tester
-PORTVERSION= 0.09
+PORTVERSION= 0.10.1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(.)$/\1/}
MAINTAINER= mat@FreeBSD.org
COMMENT= Helps to test various Test::Builder derivatives
@@ -22,6 +23,15 @@ INSTALL_TARGET= pure_install
MAN3= Test::Tester.3 Test::Tester::Capture.3 \
Test::Tester::CaptureRunner.3
+.if !defined(NOPORTDOCS)
+PORTDOCS= CHANGES
+
+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