diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-04-16 12:37:57 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-04-16 12:37:57 +0000 |
commit | a154ddc7543cb4e4d8e8267ef10d3a61c2df4c4c (patch) | |
tree | fbadd972411ed32c8971a85e047b89949fc96f18 /converters | |
parent | d7534a0d39edbc9cfdfb01b1051d962b0ec4fc80 (diff) |
Notes
Diffstat (limited to 'converters')
-rw-r--r-- | converters/p5-Encode/Makefile | 11 | ||||
-rw-r--r-- | converters/p5-Encode/pkg-plist | 2 |
2 files changed, 10 insertions, 3 deletions
diff --git a/converters/p5-Encode/Makefile b/converters/p5-Encode/Makefile index d6b1bc426444..b6ca506b774f 100644 --- a/converters/p5-Encode/Makefile +++ b/converters/p5-Encode/Makefile @@ -17,7 +17,16 @@ LICENSE_COMB= dual USE_PERL5= configure USES= perl5 +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 502101 +PLIST_FILES+= bin/encguess man/man1/encguess.1.gz +.endif + post-patch: @${REINPLACE_CMD} -e 's|bin/enc2xs||; s|bin/piconv||' ${WRKSRC}/Makefile.PL +.if ${PERL_LEVEL} >= 502101 + @${REINPLACE_CMD} -e 's|bin/encguess||' ${WRKSRC}/Makefile.PL +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/converters/p5-Encode/pkg-plist b/converters/p5-Encode/pkg-plist index 1eaf5dfd2aa5..bbf17ca6c64d 100644 --- a/converters/p5-Encode/pkg-plist +++ b/converters/p5-Encode/pkg-plist @@ -1,4 +1,3 @@ -bin/encguess %%SITE_ARCH%%/Encode.pm %%SITE_ARCH%%/Encode/Alias.pm %%SITE_ARCH%%/Encode/Byte.pm @@ -60,4 +59,3 @@ bin/encguess %%PERL5_MAN3%%/Encode::Supported.3.gz %%PERL5_MAN3%%/Encode::Unicode::UTF7.3.gz %%PERL5_MAN3%%/encoding.3.gz -man/man1/encguess.1.gz |