1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

Convert REINPLACE_CMD to patch file

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-12-19 20:08:57 +00:00
parent 515cffa072
commit 0d6bd45401
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558518
2 changed files with 13 additions and 4 deletions

View File

@ -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>

View File

@ -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 ],