svn commit: r534429 - in head/converters/p5-JSON-PP: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri May 8 20:51:01 UTC 2020
Author: sunpoet
Date: Fri May 8 20:50:58 2020
New Revision: 534429
URL: https://svnweb.freebsd.org/changeset/ports/534429
Log:
Convert REINPLACE_CMD to patch file
Added:
head/converters/p5-JSON-PP/files/
head/converters/p5-JSON-PP/files/patch-Makefile.PL (contents, props changed)
Modified:
head/converters/p5-JSON-PP/Makefile
Modified: head/converters/p5-JSON-PP/Makefile
==============================================================================
--- head/converters/p5-JSON-PP/Makefile Fri May 8 20:50:53 2020 (r534428)
+++ head/converters/p5-JSON-PP/Makefile Fri May 8 20:50:58 2020 (r534429)
@@ -21,8 +21,7 @@ USE_PERL5= configure
NO_ARCH= yes
-pre-patch:
+post-patch:
@${MV} ${WRKSRC}/bin/json_pp ${WRKSRC}/bin/p5json_pp
- @${REINPLACE_CMD} -e 's|bin/json_pp|bin/p5json_pp|' ${WRKSRC}/MANIFEST ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>
Added: head/converters/p5-JSON-PP/files/patch-Makefile.PL
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/converters/p5-JSON-PP/files/patch-Makefile.PL Fri May 8 20:50:58 2020 (r534429)
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig 2019-02-18 16:03:19 UTC
++++ Makefile.PL
+@@ -24,7 +24,7 @@ WriteMakefile(
+ 'Test::More' => 0,
+ %prereq,
+ },
+- 'EXE_FILES' => [ 'bin/json_pp' ],
++ 'EXE_FILES' => [ 'bin/p5json_pp' ],
+ ($] >= 5.005 ? ## Add these new keywords supported since 5.005
+ (ABSTRACT_FROM => 'lib/JSON/PP.pm', # retrieve abstract from module
+ AUTHOR => 'Makamaka Hannyaharamitu, E<lt>makamaka[at]cpan.orgE<gt>') : ()),
More information about the svn-ports-all
mailing list