Index: head/textproc/p5-podlators/Makefile =================================================================== --- head/textproc/p5-podlators/Makefile (revision 151834) +++ head/textproc/p5-podlators/Makefile (revision 151835) @@ -1,47 +1,48 @@ # New ports collection makefile for: podlators # Date created: 08 April 2002 # Whom: Sergey Skvortsov # # $FreeBSD$ # PORTNAME= podlators PORTVERSION= 2.00 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Pod PKGNAMEPREFIX= p5- MAINTAINER= skv@FreeBSD.org COMMENT= Modules to convert and parse POD (Plain Old Documentation) RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \ ${SITE_PERL}/Pod/Simple.pm:${PORTSDIR}/textproc/p5-Pod-Simple \ ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-Pod-Parser BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes MAN1= pod2man.1 pod2text.1 MAN3= Pod::Man.3 Pod::ParseLink.3 Pod::Text.3 Pod::Text::Color.3 \ Pod::Text::Overstrike.3 Pod::Text::Termcap.3 .include .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 @${REINPLACE_CMD} -Ee '/(pod2man|pod2text)/d' ${WRKSRC}/Makefile.PL -.else - ${PERL} -pi -e 's/;/();/ if $$.==303' ${WRKSRC}/lib/Pod/Man.pm .endif + @${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 .include Property changes on: head/textproc/p5-podlators/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.11 \ No newline at end of property +1.12 \ No newline at end of property