From owner-svn-ports-head@FreeBSD.ORG Fri Jul 26 18:02:31 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A0E7774B; Fri, 26 Jul 2013 18:02:31 +0000 (UTC) (envelope-from az@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8C6BF2927; Fri, 26 Jul 2013 18:02:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6QI2VC3039053; Fri, 26 Jul 2013 18:02:31 GMT (envelope-from az@svn.freebsd.org) Received: (from az@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6QI2Tnb039031; Fri, 26 Jul 2013 18:02:29 GMT (envelope-from az@svn.freebsd.org) Message-Id: <201307261802.r6QI2Tnb039031@svn.freebsd.org> From: Andrej Zverev Date: Fri, 26 Jul 2013 18:02:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323742 - in head: www/calamaris www/p5-AMF-Perl www/p5-Catalyst-Action-RenderView www/p5-Catalyst-Component-ACCEPT_CONTEXT www/p5-HTML-Template-JIT www/p5-URI-Fetch www/p5-WebService-N... X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jul 2013 18:02:31 -0000 Author: az Date: Fri Jul 26 18:02:28 2013 New Revision: 323742 URL: http://svnweb.freebsd.org/changeset/ports/323742 Log: - switch simple inline replacement from perl to sed and remove where is no need in this anymore. - trim Makefile header Approved by: bapt@ (portmrg@) Modified: head/www/calamaris/Makefile head/www/p5-AMF-Perl/Makefile (contents, props changed) head/www/p5-Catalyst-Action-RenderView/Makefile (contents, props changed) head/www/p5-Catalyst-Component-ACCEPT_CONTEXT/Makefile (contents, props changed) head/www/p5-HTML-Template-JIT/Makefile (contents, props changed) head/www/p5-URI-Fetch/Makefile head/www/p5-WebService-NoPaste/Makefile (contents, props changed) head/www/syndigator/Makefile (contents, props changed) head/www/webstats/Makefile (contents, props changed) head/x11/keylaunch/Makefile (contents, props changed) Modified: head/www/calamaris/Makefile ============================================================================== --- head/www/calamaris/Makefile Fri Jul 26 17:52:24 2013 (r323741) +++ head/www/calamaris/Makefile Fri Jul 26 18:02:28 2013 (r323742) @@ -1,9 +1,5 @@ -# New ports collection makefile for: calmaris -# Date created: 25 December 1998 -# Whom: Dima Sivachenko -# +# Created by: Dima Sivachenko # $FreeBSD$ -# PORTNAME= calamaris PORTVERSION= 2.59 @@ -16,10 +12,10 @@ COMMENT= A perl script to produce statis USE_PERL5= yes NO_BUILD= yes -MAN1= calamaris.1 +USES= shebangfix +SHEBANG_FILES= calamaris -post-patch: - @ ${PERL} -pi -e 's#/usr/bin/perl#${PERL}#' ${WRKSRC}/calamaris +MAN1= calamaris.1 do-install: @ ${INSTALL_MAN} ${WRKSRC}/calamaris.1 ${PREFIX}/man/man1/calamaris.1 Modified: head/www/p5-AMF-Perl/Makefile ============================================================================== --- head/www/p5-AMF-Perl/Makefile Fri Jul 26 17:52:24 2013 (r323741) +++ head/www/p5-AMF-Perl/Makefile Fri Jul 26 18:02:28 2013 (r323742) @@ -29,7 +29,7 @@ MAN3= AMF::Perl.3 AMF::Perl::App::Execu AMF::Perl::Util::RemotingService.3 post-patch: - @${PERL} -pi -e 's/=(?==head)//g' ${WRKSRC}/lib/AMF/Perl.pm + @${PERL} -pi.bak -e 's/=(?==head)//g' ${WRKSRC}/lib/AMF/Perl.pm post-configure: # dirty hack to deceive irritable pod2man Modified: head/www/p5-Catalyst-Action-RenderView/Makefile ============================================================================== --- head/www/p5-Catalyst-Action-RenderView/Makefile Fri Jul 26 17:52:24 2013 (r323741) +++ head/www/p5-Catalyst-Action-RenderView/Makefile Fri Jul 26 18:02:28 2013 (r323742) @@ -1,9 +1,5 @@ -# New ports collection makefile for: www/p5-Catalyst-Action-RenderView -# Date created: July 11, 2006 -# Whom: Lars Balker Rasmussen -# +# Created by: Lars Balker Rasmussen # $FreeBSD$ -# PORTNAME= Catalyst-Action-RenderView PORTVERSION= 0.16 @@ -28,6 +24,6 @@ PERL_CONFIGURE= yes MAN3= Catalyst::Action::RenderView.3 post-extract: - @${PERL} -i.bak -ne 'print unless /^(test_requires|auto_install|recommends|configure_requires)/' ${WRKSRC}/Makefile.PL + @${REINPLACE_CMD} -i '' '/test_requires/d' ${WRKSRC}/Makefile.PL .include Modified: head/www/p5-Catalyst-Component-ACCEPT_CONTEXT/Makefile ============================================================================== --- head/www/p5-Catalyst-Component-ACCEPT_CONTEXT/Makefile Fri Jul 26 17:52:24 2013 (r323741) +++ head/www/p5-Catalyst-Component-ACCEPT_CONTEXT/Makefile Fri Jul 26 18:02:28 2013 (r323742) @@ -1,9 +1,5 @@ -# New ports collection makefile for: www/p5-Catalyst-Component-ACCEPT_CONTEXT -# Date created: 26 April 2007 -# Whom: Lars Thegler -# +# Created by: Lars Thegler # $FreeBSD$ -# PORTNAME= Catalyst-Component-ACCEPT_CONTEXT PORTVERSION= 0.07 @@ -24,6 +20,7 @@ PERL_CONFIGURE= yes MAN3= Catalyst::Component::ACCEPT_CONTEXT.3 post-patch: - ${PERL} -pi -e '$$_="" if /auto_install|Devel::Cycle/' ${WRKSRC}/Makefile.PL + ${REINPLACE_CMD} -i '' -e '/auto_install/d' \ + -e '/Devel::Cycle/d' ${WRKSRC}/Makefile.PL .include Modified: head/www/p5-HTML-Template-JIT/Makefile ============================================================================== --- head/www/p5-HTML-Template-JIT/Makefile Fri Jul 26 17:52:24 2013 (r323741) +++ head/www/p5-HTML-Template-JIT/Makefile Fri Jul 26 18:02:28 2013 (r323742) @@ -1,9 +1,5 @@ -# New ports collection makefile for: p5-HTML-Template-JIT -# Date Created: 2004/04/30 -# Whom: alex@kapranoff.ru -# +# Created by: alex@kapranoff.ru # $FreeBSD$ -# PORTNAME= HTML-Template-JIT PORTVERSION= 0.05 @@ -28,8 +24,7 @@ MAN3= HTML::Template::JIT.3 HTML::Templ .include post-patch: - @${PERL} -i -pe 's/indent -kr/indent/' \ + @${REINPLACE_CMD} -i '' -e 's/indent -kr/indent/' \ ${WRKSRC}/JIT/Compiler.pm - @${FIND} ${WRKSRC} -name '*.orig' -delete .include Modified: head/www/p5-URI-Fetch/Makefile ============================================================================== --- head/www/p5-URI-Fetch/Makefile Fri Jul 26 17:52:24 2013 (r323741) +++ head/www/p5-URI-Fetch/Makefile Fri Jul 26 18:02:28 2013 (r323742) @@ -1,9 +1,5 @@ -# New ports collection makefile for: www/p5-URI-Fetch -# Date created: 30 July 2005 -# Whom: Lars Thegler -# +# Created by: Lars Thegler # $FreeBSD$ -# PORTNAME= URI-Fetch PORTVERSION= 0.090 @@ -37,7 +33,4 @@ MAN3= URI::Fetch.3 \ RUN_DEPENDS+= p5-Cache>=0:${PORTSDIR}/devel/p5-Cache .endif -post-patch: - ${PERL} -pi -e '$$_ = "" if m|auto_install|' ${WRKSRC}/Makefile.PL - .include Modified: head/www/p5-WebService-NoPaste/Makefile ============================================================================== --- head/www/p5-WebService-NoPaste/Makefile Fri Jul 26 17:52:24 2013 (r323741) +++ head/www/p5-WebService-NoPaste/Makefile Fri Jul 26 18:02:28 2013 (r323742) @@ -16,6 +16,8 @@ BUILD_DEPENDS= p5-IO-All>=0:${PORTSDIR}/ RUN_DEPENDS:= ${BUILD_DEPENDS} PERL_CONFIGURE= yes +USES= shebangfix +SHEBANG_FILES= nopaste MAN3= WebService::NoPaste.3 @@ -31,7 +33,6 @@ EXTRA_PATCHES+= ${FILESDIR}/extrapatch-l .endif post-patch: - @${PERL} -pi -e "s|/usr/bin/perl|${PERL}|;" ${WRKSRC}/nopaste .if ! ${PORT_OPTIONS:MX11} @${RM} ${WRKSRC}/lib/WebService/NoPaste.pm.orig .endif Modified: head/www/syndigator/Makefile ============================================================================== --- head/www/syndigator/Makefile Fri Jul 26 17:52:24 2013 (r323741) +++ head/www/syndigator/Makefile Fri Jul 26 18:02:28 2013 (r323742) @@ -1,11 +1,6 @@ -# ex:ts=8 -# Ports collection Makefile for: syndigator -# Date created: Apr 20, 2004 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# $MCom: ports/www/syndigator/Makefile,v 1.4 2007/09/09 22:45:27 mezz Exp $ -# +# $MCom: ports/www/syndigator/Makefile,v 1.4 2007/09/09 22:45:27 mezz Exp $ PORTNAME= syndigator PORTVERSION= 0.15.1 @@ -32,9 +27,9 @@ NO_BUILD= yes GNOMEDIR= ${PREFIX}/share post-patch: - @${PERL} -pi -e 's|./lib|${PREFIX}/${SITE_PERL_REL}/${PORTNAME}|g' \ + @${REINPLACE_CMD} -i '' -e 's|./lib|${PREFIX}/${SITE_PERL_REL}/${PORTNAME}|' \ ${WRKSRC}/syndigator - @${PERL} -pi -e 's|./images/|${GNOMEDIR}/pixmaps/${PORTNAME}/|g' \ + @${REINPLACE_CMD} -i '' -e 's|./images/|${GNOMEDIR}/pixmaps/${PORTNAME}/|' \ ${WRKSRC}/lib/RSSReader/Gtk2UI/IconFactory.pm do-install: Modified: head/www/webstats/Makefile ============================================================================== --- head/www/webstats/Makefile Fri Jul 26 17:52:24 2013 (r323741) +++ head/www/webstats/Makefile Fri Jul 26 18:02:28 2013 (r323742) @@ -1,9 +1,5 @@ -# New ports collection makefile for: webstats -# Date created: 12 February 2003 -# Whom: Kevin Golding -# +# Created by: Kevin Golding # $FreeBSD$ -# PORTNAME= webstats PORTVERSION= 0.3 @@ -23,15 +19,11 @@ NO_BUILD= yes USE_PERL5= yes post-patch: - @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' \ - ${WRKSRC}/configfiles/serverwide/webstats.ini - @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' \ - ${WRKSRC}/configfiles/vhosts/analog.cfg - @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' \ - ${WRKSRC}/configfiles/vhosts/rmagic.ini - @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' \ - ${WRKSRC}/scripts/perl/webstats - @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' \ + @${REINPLACE_CMD} -i '' -e 's|%%PREFIX%%|${PREFIX}|' \ + ${WRKSRC}/configfiles/serverwide/webstats.ini \ + ${WRKSRC}/configfiles/vhosts/analog.cfg \ + ${WRKSRC}/configfiles/vhosts/rmagic.ini \ + ${WRKSRC}/scripts/perl/webstats \ ${WRKSRC}/scripts/php/webstats.php do-install: Modified: head/x11/keylaunch/Makefile ============================================================================== --- head/x11/keylaunch/Makefile Fri Jul 26 17:52:24 2013 (r323741) +++ head/x11/keylaunch/Makefile Fri Jul 26 18:02:28 2013 (r323742) @@ -1,9 +1,5 @@ -# New ports collection makefile for: keylaunch -# Date created: Sat Nov 17 10:10:07 CDT 2001 -# Whom: mwm@mired.org -# +# Created by: mwm@mired.org # $FreeBSD$ -# PORTNAME= keylaunch PORTVERSION= 1.3.0 @@ -22,7 +18,7 @@ USE_XORG= x11 PKGMESSAGE= ${WRKSRC}/pkg-message post-patch: - @${PERL} -pi -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -i '' -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/keylaunch ${PREFIX}/bin