Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Dec 2020 20:08:57 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r558518 - in head/www/p5-WWW-WebArchive: . files
Message-ID:  <202012192008.0BJK8v1p000402@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Dec 19 20:08:57 2020
New Revision: 558518
URL: https://svnweb.freebsd.org/changeset/ports/558518

Log:
  Convert REINPLACE_CMD to patch file

Added:
  head/www/p5-WWW-WebArchive/files/
  head/www/p5-WWW-WebArchive/files/patch-Makefile.PL   (contents, props changed)
Modified:
  head/www/p5-WWW-WebArchive/Makefile

Modified: head/www/p5-WWW-WebArchive/Makefile
==============================================================================
--- head/www/p5-WWW-WebArchive/Makefile	Sat Dec 19 20:08:53 2020	(r558517)
+++ head/www/p5-WWW-WebArchive/Makefile	Sat Dec 19 20:08:57 2020	(r558518)
@@ -19,11 +19,9 @@ RUN_DEPENDS=	p5-App-Options>=0:devel/p5-App-Options \
 		p5-App-Trace>=0:devel/p5-App-Trace \
 		p5-WWW-Mechanize>=0:www/p5-WWW-Mechanize
 
-NO_ARCH=	yes
-USE_PERL5=	configure
 USES=		perl5
+USE_PERL5=	configure
 
-post-patch:
-	@${REINPLACE_CMD} -e '/NAME/ s|WWW-WebArchive|WWW::WebArchive|' ${WRKSRC}/Makefile.PL
+NO_ARCH=	yes
 
 .include <bsd.port.mk>

Added: head/www/p5-WWW-WebArchive/files/patch-Makefile.PL
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-WWW-WebArchive/files/patch-Makefile.PL	Sat Dec 19 20:08:57 2020	(r558518)
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig	2006-08-19 13:56:38 UTC
++++ Makefile.PL
+@@ -12,7 +12,7 @@ my @programs = (
+ );
+ 
+ %opts = (
+-    'NAME'         => 'WWW-WebArchive',
++    'NAME'         => 'WWW::WebArchive',
+     'DISTNAME'     => 'WWW-WebArchive',
+     'VERSION_FROM' => 'lib/WWW/WebArchive.pm',
+     'EXE_FILES'    => [ @programs ],



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