Date: Thu, 25 Jul 2013 12:45:11 +0000 (UTC) From: Andrej Zverev <az@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323639 - in head: archivers/p5-Compress-LZO archivers/p5-Compress-LZW benchmarks/autobench converters/p5-Convert-Recode converters/p5-WAP-wbxml devel/p5-Class-MakeMethods devel/p5-Clas... Message-ID: <201307251245.r6PCjBx7022276@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: az Date: Thu Jul 25 12:45:10 2013 New Revision: 323639 URL: http://svnweb.freebsd.org/changeset/ports/323639 Log: - switch simple inline replacement from perl to sed and remove where is no need in this anymore. - trim Makefile header - pass maintainership to @perl Information: wiki@ PortsLongtermTargets Approved by: bapt@ (portmgr@) Modified: head/archivers/p5-Compress-LZO/Makefile (contents, props changed) head/archivers/p5-Compress-LZW/Makefile (contents, props changed) head/benchmarks/autobench/Makefile (contents, props changed) head/converters/p5-Convert-Recode/Makefile (contents, props changed) head/converters/p5-WAP-wbxml/Makefile head/devel/p5-Class-MakeMethods/Makefile (contents, props changed) head/devel/p5-Class-Tangram/Makefile (contents, props changed) head/devel/p5-ExtUtils-PkgConfig/Makefile (contents, props changed) head/devel/p5-File-Flat/Makefile (contents, props changed) head/devel/p5-Make/Makefile (contents, props changed) head/devel/p5-MooseX-Log-Log4perl/Makefile (contents, props changed) head/devel/p5-MooseX-Types-Path-Class/Makefile Modified: head/archivers/p5-Compress-LZO/Makefile ============================================================================== --- head/archivers/p5-Compress-LZO/Makefile Thu Jul 25 12:42:55 2013 (r323638) +++ head/archivers/p5-Compress-LZO/Makefile Thu Jul 25 12:45:10 2013 (r323639) @@ -1,9 +1,5 @@ -# New ports collection makefile for: p5-Compress-LZO -# Date created: 2006-09-10 -# Whom: Gea-Suan Lin <gslin@gslin.org> -# +# Created by: Gea-Suan Lin <gslin@gslin.org> # $FreeBSD$ -# PORTNAME= Compress-LZO PORTVERSION= 1.08 @@ -21,7 +17,7 @@ CFLAGS+= -I${LOCALBASE}/include/lzo PERL_CONFIGURE= yes post-patch: - ${PERL} -pi -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/Makefile.PL + @${REINPLACE_CMD} -i '' -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile.PL MAN3= Compress::LZO.3 Modified: head/archivers/p5-Compress-LZW/Makefile ============================================================================== --- head/archivers/p5-Compress-LZW/Makefile Thu Jul 25 12:42:55 2013 (r323638) +++ head/archivers/p5-Compress-LZW/Makefile Thu Jul 25 12:45:10 2013 (r323639) @@ -1,9 +1,5 @@ -# New ports collection makefile for: p5-Compress-LZW -# Date created: 2006-07-28 -# Whom: Gea-Suan Lin <gslin@gslin.org> -# +# Created by: Gea-Suan Lin <gslin@gslin.org> # $FreeBSD$ -# PORTNAME= Compress-LZW PORTVERSION= 0.01 @@ -20,6 +16,7 @@ PERL_CONFIGURE= yes MAN3= Compress::LZW.3 post-patch: - ${PERL} -pi -e 's/\@hattmoward/\\\@hattmoward/' ${WRKSRC}/Makefile.PL + @${REINPLACE_CMD} -i '' -e 's|\@hattmoward|\\@hattmoward|' \ + ${WRKSRC}/Makefile.PL .include <bsd.port.mk> Modified: head/benchmarks/autobench/Makefile ============================================================================== --- head/benchmarks/autobench/Makefile Thu Jul 25 12:42:55 2013 (r323638) +++ head/benchmarks/autobench/Makefile Thu Jul 25 12:45:10 2013 (r323639) @@ -1,10 +1,5 @@ -# ex:ts=8 -# Ports collection makefile for: autobench -# Date created: Oct 20, 2003 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= autobench PORTVERSION= 2.1.2 @@ -32,7 +27,7 @@ MAN1= autobench.1 autobench_admin.1 auto post-patch: .for file in autobench autobench_admin - @${PERL} -pi -e "s|/etc/|${PREFIX}/etc/|g" ${WRKSRC}/${file} + @${REINPLACE_CMD} -i '' -e 's|/etc/|${PREFIX}/etc/|' ${WRKSRC}/${file} .endfor .include <bsd.port.mk> Modified: head/converters/p5-Convert-Recode/Makefile ============================================================================== --- head/converters/p5-Convert-Recode/Makefile Thu Jul 25 12:42:55 2013 (r323638) +++ head/converters/p5-Convert-Recode/Makefile Thu Jul 25 12:45:10 2013 (r323639) @@ -1,9 +1,5 @@ -# New ports collection makefile for: p5-Convert-Recode -# Date created: 17 January 2000 -# Whom: Dmitry Sivachenko <dima@Chg.RU> -# +# Created by: Dmitry Sivachenko <dima@Chg.RU> # $FreeBSD$ -# PORTNAME= Convert-Recode PORTVERSION= 1.04 @@ -23,7 +19,7 @@ PERL_CONFIGURE= YES MAN3= Convert::Recode.3 post-patch: - ${PERL} -pi -e 's#recode -\$$#${LOCALBASE}/bin/recode -\$$#' \ - ${WRKSRC}/Recode.pm + @${REINPLACE_CMD} -i '' -e 's|recode -\$$|${LOCALBASE}/bin/recode -\$$|' \ + ${WRKSRC}/Recode.pm .include <bsd.port.mk> Modified: head/converters/p5-WAP-wbxml/Makefile ============================================================================== --- head/converters/p5-WAP-wbxml/Makefile Thu Jul 25 12:42:55 2013 (r323638) +++ head/converters/p5-WAP-wbxml/Makefile Thu Jul 25 12:45:10 2013 (r323639) @@ -23,7 +23,7 @@ MAN3= WAP::wbxml.3 WAP::wbxml::WbRules. post-patch: .for file in syncml.wbrules.xml wap.wbrules.xml wv.wbrules.xml - @${PERL} -pi -e 's#\r$$##g' ${WRKSRC}/lib/WAP/wbxml/${file} + @${REINPLACE_CMD} -i '' -e 's/^M$$//' ${WRKSRC}/lib/WAP/wbxml/${file} .endfor .include <bsd.port.mk> Modified: head/devel/p5-Class-MakeMethods/Makefile ============================================================================== --- head/devel/p5-Class-MakeMethods/Makefile Thu Jul 25 12:42:55 2013 (r323638) +++ head/devel/p5-Class-MakeMethods/Makefile Thu Jul 25 12:45:10 2013 (r323639) @@ -1,9 +1,5 @@ -# New ports collection makefile for: Class::MakeMethods -# Date created: 24 Jan 2002 -# Whom: Seamus Venasse <svenasse@polaris.ca> -# +# Created by: Seamus Venasse <svenasse@polaris.ca> # $FreeBSD$ -# PORTNAME= Class-MakeMethods PORTVERSION= 1.010 @@ -79,6 +75,6 @@ MAN3= Class::MakeMethods.3 \ post-extract: @${RM} ${WRKSRC}/benchmark.pl - @${PERL} -pi -e '$$_="" if m|benchmark.pl|' ${WRKSRC}/MANIFEST + @${REINPLACE_CMD} -i '' '/benchmark.pl/d' ${WRKSRC}/MANIFEST .include <bsd.port.mk> Modified: head/devel/p5-Class-Tangram/Makefile ============================================================================== --- head/devel/p5-Class-Tangram/Makefile Thu Jul 25 12:42:55 2013 (r323638) +++ head/devel/p5-Class-Tangram/Makefile Thu Jul 25 12:45:10 2013 (r323639) @@ -1,9 +1,5 @@ -# New ports collection makefile for: Class-Tangram -# Date created: 08 April 2002 -# Whom: Sergey Skvortsov <skv@FreeBSD.org> -# +# Created by: Sergey Skvortsov <skv@FreeBSD.org> # $FreeBSD$ -# PORTNAME= Class-Tangram PORTVERSION= 1.57 @@ -25,6 +21,6 @@ MAN3= Class::Tangram.3 Class::Tangram:: Class::Tangram::Generator.3 post-patch: - @${PERL} -pi -e 's/\@/\\@/' ${WRKSRC}/Makefile.PL + @${REINPLACE_CMD} -i '' -e 's|\@|\\@|' ${WRKSRC}/Makefile.PL .include <bsd.port.mk> Modified: head/devel/p5-ExtUtils-PkgConfig/Makefile ============================================================================== --- head/devel/p5-ExtUtils-PkgConfig/Makefile Thu Jul 25 12:42:55 2013 (r323638) +++ head/devel/p5-ExtUtils-PkgConfig/Makefile Thu Jul 25 12:45:10 2013 (r323639) @@ -18,6 +18,6 @@ PERL_CONFIGURE= yes MAN3= ExtUtils::PkgConfig.3 post-patch: - @${PERL} -pi -e '$$_="" if $$.==1' ${WRKSRC}/Makefile.PL + @${REINPLACE_CMD} -i '' -e '1d' ${WRKSRC}/Makefile.PL .include <bsd.port.mk> Modified: head/devel/p5-File-Flat/Makefile ============================================================================== --- head/devel/p5-File-Flat/Makefile Thu Jul 25 12:42:55 2013 (r323638) +++ head/devel/p5-File-Flat/Makefile Thu Jul 25 12:45:10 2013 (r323639) @@ -1,9 +1,5 @@ -# New ports collection makefile for: File-Flat -# Date created: 11 December 2002 -# Whom: Sergey Skvortsov <skv@protey.ru> -# +# Created by: Sergey Skvortsov <skv@protey.ru> # $FreeBSD$ -# PORTNAME= File-Flat PORTVERSION= 1.04 @@ -12,7 +8,7 @@ CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= perl@FreeBSD.org COMMENT= Implements a flat filesystem RUN_DEPENDS= p5-Test-ClassAPI>=0:${PORTSDIR}/devel/p5-Test-ClassAPI \ @@ -32,7 +28,4 @@ PERL_CONFIGURE= yes MAN3= File::Flat.3 -post-patch: - @${PERL} -pi -e 's/^auto_install.*$$//' ${WRKSRC}/Makefile.PL - .include <bsd.port.mk> Modified: head/devel/p5-Make/Makefile ============================================================================== --- head/devel/p5-Make/Makefile Thu Jul 25 12:42:55 2013 (r323638) +++ head/devel/p5-Make/Makefile Thu Jul 25 12:45:10 2013 (r323639) @@ -1,9 +1,5 @@ -# New ports collection makefile for: Make -# Date created: Wed Jan 3 12:14:41 2001 -# Whom: will -# +# Created by: will # $FreeBSD$ -# PORTNAME= Make PORTVERSION= 1.00 @@ -11,7 +7,7 @@ CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= perl@FreeBSD.org COMMENT= Perl module implementing 'make' and script PERL_CONFIGURE= yes @@ -19,8 +15,9 @@ PERL_CONFIGURE= yes MAN1= perlmake.1 MAN3= Make.3 -pre-configure: - ${PERL} -pi -e "s:pmake:perlmake:g" ${WRKSRC}/Makefile.PL - ${CP} ${WRKSRC}/pmake ${WRKSRC}/perlmake +post-patch: + @${REINPLACE_CMD} -i '' -e 's|pmake|perlmake|' \ + ${WRKSRC}/Makefile.PL + @${CP} ${WRKSRC}/pmake ${WRKSRC}/perlmake .include <bsd.port.mk> Modified: head/devel/p5-MooseX-Log-Log4perl/Makefile ============================================================================== --- head/devel/p5-MooseX-Log-Log4perl/Makefile Thu Jul 25 12:42:55 2013 (r323638) +++ head/devel/p5-MooseX-Log-Log4perl/Makefile Thu Jul 25 12:45:10 2013 (r323639) @@ -22,7 +22,8 @@ MAN3= MooseX::Log::Log4perl.3 \ MooseX::Log::Log4perl::Easy.3 post-patch: - @${PERL} -pi -e '$$_="" if m/auto_install/' ${WRKSRC}/Makefile.PL + @${REINPLACE_CMD} -i '' -e '/auto_install;/d' \ + ${WRKSRC}/Makefile.PL regression-test: build cd ${WRKSRC}/ && ${MAKE} test Modified: head/devel/p5-MooseX-Types-Path-Class/Makefile ============================================================================== --- head/devel/p5-MooseX-Types-Path-Class/Makefile Thu Jul 25 12:42:55 2013 (r323638) +++ head/devel/p5-MooseX-Types-Path-Class/Makefile Thu Jul 25 12:45:10 2013 (r323639) @@ -19,7 +19,4 @@ PERL_CONFIGURE= yes MAN3= MooseX::Types::Path::Class.3 -post-extract: - @${PERL} -i -ne 'print unless m,build_requires,' ${WRKSRC}/Makefile.PL - .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307251245.r6PCjBx7022276>