diff --git a/converters/p5-Encode/Makefile b/converters/p5-Encode/Makefile index 6a5a4e5949ad..2ca3357f5ed2 100644 --- a/converters/p5-Encode/Makefile +++ b/converters/p5-Encode/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= Encode -PORTVERSION= 2.73 +PORTVERSION= 2.74 CATEGORIES= converters perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:DANKOGAI @@ -19,13 +19,15 @@ USES= perl5 .include -.if ${PERL_LEVEL} < 502101 -PLIST_FILES+= bin/encguess man/man1/encguess.1.gz +.if ${PERL_LEVEL} < 502200 +PLIST_SUB+= OLD_PERL="" +.else +PLIST_SUB+= OLD_PERL="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|bin/enc2xs||; s|bin/piconv||' ${WRKSRC}/Makefile.PL -.if ${PERL_LEVEL} >= 502101 +.if ${PERL_LEVEL} >= 502200 @${REINPLACE_CMD} -e 's|bin/encguess||' ${WRKSRC}/Makefile.PL .endif diff --git a/converters/p5-Encode/distinfo b/converters/p5-Encode/distinfo index 540e5c6919f5..4406fecc431b 100644 --- a/converters/p5-Encode/distinfo +++ b/converters/p5-Encode/distinfo @@ -1,2 +1,2 @@ -SHA256 (Encode-2.73.tar.gz) = 6b6c7b58bf5cdd8163ca6c9d161a7b986e14ddef973ba342b3e07ab11afea0fb -SIZE (Encode-2.73.tar.gz) = 2013300 +SHA256 (Encode-2.74.tar.gz) = aa3c832a0478dae1da4e4ac8b12de0d2460c95964ae5d600f6af12f5c9afa6c0 +SIZE (Encode-2.74.tar.gz) = 2014125 diff --git a/converters/p5-Encode/pkg-plist b/converters/p5-Encode/pkg-plist index bbf17ca6c64d..cbe2d93e962b 100644 --- a/converters/p5-Encode/pkg-plist +++ b/converters/p5-Encode/pkg-plist @@ -1,3 +1,4 @@ +%%OLD_PERL%%bin/encguess %%SITE_ARCH%%/Encode.pm %%SITE_ARCH%%/Encode/Alias.pm %%SITE_ARCH%%/Encode/Byte.pm @@ -59,3 +60,4 @@ %%PERL5_MAN3%%/Encode::Supported.3.gz %%PERL5_MAN3%%/Encode::Unicode::UTF7.3.gz %%PERL5_MAN3%%/encoding.3.gz +%%OLD_PERL%%man/man1/encguess.1.gz