diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2005-03-16 19:10:32 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2005-03-16 19:10:32 +0000 |
commit | d9ca0d32aa2c3848867130d6c71f0e2d5bc4281e (patch) | |
tree | cae051047749deb7cf4428f1ddd1a1f25de45511 /textproc | |
parent | 00987de3264dc3f011b1120067176254391272b0 (diff) | |
download | ports-d9ca0d32aa2c3848867130d6c71f0e2d5bc4281e.tar.gz ports-d9ca0d32aa2c3848867130d6c71f0e2d5bc4281e.zip |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/p5-podlators/Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/textproc/p5-podlators/Makefile b/textproc/p5-podlators/Makefile index b8768a752e16..a3f318f7cfa5 100644 --- a/textproc/p5-podlators/Makefile +++ b/textproc/p5-podlators/Makefile @@ -7,7 +7,7 @@ PORTNAME= podlators PORTVERSION= 1.27 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Pod @@ -16,7 +16,8 @@ PKGNAMEPREFIX= p5- MAINTAINER= skv@FreeBSD.org COMMENT= Modules to convert and parse POD (Plain Old Documentation) -RUN_DEPENDS= ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser +RUN_DEPENDS= ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser \ + ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes @@ -28,19 +29,17 @@ MAN3= Pod::Man.3 Pod::ParseLink.3 Pod::Text.3 Pod::Text::Color.3 \ .include <bsd.port.pre.mk> -PLIST_SUB= PL_FILES="" - -.if ${PERL_LEVEL} < 500600 -RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \ - ${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor -.elif ${PERL_LEVEL} < 500802 +.if ${PERL_LEVEL} >= 500600 .undef MAN1 PLIST_SUB= PL_FILES="@comment " +.else +RUN_DEPENDS+= ${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor +PLIST_SUB= PL_FILES="" .endif post-patch: -.if ${PERL_LEVEL} >= 500600 && ${PERL_LEVEL} < 500802 - @${PERL} -pi -e 'm,pod2man|pod2text, && s,.,,sg' ${WRKSRC}/Makefile.PL +.if ${PERL_LEVEL} >= 500600 + @${REINPLACE_CMD} -Ee '/(pod2man|pod2text)/d' ${WRKSRC}/Makefile.PL .endif .include <bsd.port.post.mk> |