Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2015 12:37:58 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r384104 - head/converters/p5-Encode
Message-ID:  <201504161237.t3GCbwk2035642@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Thu Apr 16 12:37:57 2015
New Revision: 384104
URL: https://svnweb.freebsd.org/changeset/ports/384104

Log:
  Perl 5.21.1 has the same Encode, so trim the script installed by this and its
  man page.
  
  Sponsored by:	Absolight

Modified:
  head/converters/p5-Encode/Makefile
  head/converters/p5-Encode/pkg-plist

Modified: head/converters/p5-Encode/Makefile
==============================================================================
--- head/converters/p5-Encode/Makefile	Thu Apr 16 11:44:21 2015	(r384103)
+++ head/converters/p5-Encode/Makefile	Thu Apr 16 12:37:57 2015	(r384104)
@@ -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>

Modified: head/converters/p5-Encode/pkg-plist
==============================================================================
--- head/converters/p5-Encode/pkg-plist	Thu Apr 16 11:44:21 2015	(r384103)
+++ head/converters/p5-Encode/pkg-plist	Thu Apr 16 12:37:57 2015	(r384104)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504161237.t3GCbwk2035642>