aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-podlators
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2010-10-13 23:02:20 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2010-10-13 23:02:20 +0000
commit120d92dc6cf15846709b3ed3a3166cc512a18526 (patch)
tree9ca238eeb4067718c6ecb4aa3e49d18bad283116 /textproc/p5-podlators
parent910f5a58af4287223626c4d0bcd1335a9654ae54 (diff)
downloadports-120d92dc6cf15846709b3ed3a3166cc512a18526.tar.gz
ports-120d92dc6cf15846709b3ed3a3166cc512a18526.zip
Notes
Diffstat (limited to 'textproc/p5-podlators')
-rw-r--r--textproc/p5-podlators/Makefile21
-rw-r--r--textproc/p5-podlators/distinfo6
2 files changed, 14 insertions, 13 deletions
diff --git a/textproc/p5-podlators/Makefile b/textproc/p5-podlators/Makefile
index 213b581ded7b..ca006a643cbc 100644
--- a/textproc/p5-podlators/Makefile
+++ b/textproc/p5-podlators/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= podlators
-PORTVERSION= 2.3.1
+PORTVERSION= 2.4.0
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Pod
@@ -15,18 +15,19 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Modules to convert and parse POD (Plain Old Documentation)
-RUN_DEPENDS= p5-Pod-Simple>=3.04:${PORTSDIR}/textproc/p5-Pod-Simple
-BUILD_DEPENDS= ${RUN_DEPENDS}
-
-PERL_CONFIGURE= yes
+PERL_CONFIGURE= yes
+MAN1= perlpodstyle.1
MAN3= Pod::Man.3 Pod::ParseLink.3 Pod::Text.3 Pod::Text::Color.3 \
Pod::Text::Overstrike.3 Pod::Text::Termcap.3
post-patch:
- @${REINPLACE_CMD} -Ee '/(pod2man|pod2text)/d' ${WRKSRC}/Makefile.PL
- @${REINPLACE_CMD} -e 's/->\$$method;/->\$$method\(\);/g' ${WRKSRC}/lib/Pod/*.pm
- @${REINPLACE_CMD} -e 's/\$${char}/(\$${char})/g' ${WRKSRC}/lib/Pod/Text/*.pm
- @${FIND} ${WRKSRC} -name "*.bak" -delete
+ ${REINPLACE_CMD} -e '/pod2text/d;s/man1pod.*pod2man.*//' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+RUN_DEPENDS+= p5-Pod-Simple>=3.06:${PORTSDIR}/textproc/p5-Pod-Simple
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-podlators/distinfo b/textproc/p5-podlators/distinfo
index 93324c20c9cf..3d809e250b3e 100644
--- a/textproc/p5-podlators/distinfo
+++ b/textproc/p5-podlators/distinfo
@@ -1,3 +1,3 @@
-MD5 (podlators-2.3.1.tar.gz) = ec01b306c60a5bea04b533f12ce63742
-SHA256 (podlators-2.3.1.tar.gz) = 20238600f4aa4b4f88bb6ec436601fbf5de5d8094c4e24f11722c83d979b6ef0
-SIZE (podlators-2.3.1.tar.gz) = 92874
+MD5 (podlators-2.4.0.tar.gz) = 12f9440cb0dda67cf089d7a4b28f7329
+SHA256 (podlators-2.4.0.tar.gz) = b03e5ec91d766938f20c11e1cd80a33191526e778edc797442f1fedcb2a69407
+SIZE (podlators-2.4.0.tar.gz) = 94197