aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Test-Pod
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-04-29 17:27:12 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-04-29 17:27:12 +0000
commitc662790467199bd180cabe45304ef5e7334889b8 (patch)
tree41ea837f78214d2edc433b9ee0565689aace4f3f /devel/p5-Test-Pod
parent8e2ed8de9083549b9526f591e4ca80c94283f2dd (diff)
downloadports-c662790467199bd180cabe45304ef5e7334889b8.tar.gz
ports-c662790467199bd180cabe45304ef5e7334889b8.zip
Notes
Diffstat (limited to 'devel/p5-Test-Pod')
-rw-r--r--devel/p5-Test-Pod/Makefile11
-rw-r--r--devel/p5-Test-Pod/distinfo4
2 files changed, 11 insertions, 4 deletions
diff --git a/devel/p5-Test-Pod/Makefile b/devel/p5-Test-Pod/Makefile
index 6a32a2555bcd..b1f4ac9705ac 100644
--- a/devel/p5-Test-Pod/Makefile
+++ b/devel/p5-Test-Pod/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Test-Pod
-PORTVERSION= 1.12
+PORTVERSION= 1.14
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Test
@@ -25,4 +25,11 @@ PERL_CONFIGURE= yes
MAN3= Test::Pod.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ @${PERL} -pi -e 's/(my )?\$$dh/DH/g' ${WRKSRC}/Pod.pm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Test-Pod/distinfo b/devel/p5-Test-Pod/distinfo
index c4cb1b227022..fb3da36387eb 100644
--- a/devel/p5-Test-Pod/distinfo
+++ b/devel/p5-Test-Pod/distinfo
@@ -1,2 +1,2 @@
-MD5 (Test-Pod-1.12.tar.gz) = 04137351d3a1cad405a9563511a9d1a7
-SIZE (Test-Pod-1.12.tar.gz) = 6518
+MD5 (Test-Pod-1.14.tar.gz) = 22cb237de042cff899f20e7e898027ec
+SIZE (Test-Pod-1.14.tar.gz) = 6543