Date: Thu, 15 Oct 2020 20:07:27 +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: r552451 - in head/devel/p5-Pod-Usage: . files Message-ID: <202010152007.09FK7RZh005900@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Oct 15 20:07:27 2020 New Revision: 552451 URL: https://svnweb.freebsd.org/changeset/ports/552451 Log: Update to 2.0 - Convert REINPLACE_CMD to patch file - Remove pod2usage test: it is known to fail after pod2usage.PL removal Changes: https://metacpan.org/changes/distribution/Pod-Usage Added: head/devel/p5-Pod-Usage/files/ head/devel/p5-Pod-Usage/files/patch-Makefile.PL (contents, props changed) Modified: head/devel/p5-Pod-Usage/Makefile head/devel/p5-Pod-Usage/distinfo Modified: head/devel/p5-Pod-Usage/Makefile ============================================================================== --- head/devel/p5-Pod-Usage/Makefile Thu Oct 15 20:07:22 2020 (r552450) +++ head/devel/p5-Pod-Usage/Makefile Thu Oct 15 20:07:27 2020 (r552451) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= Pod-Usage -PORTVERSION= 1.70 +PORTVERSION= 2.0 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -21,9 +21,15 @@ USE_PERL5= configure NO_ARCH= yes +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 503200 +BUILD_DEPENDS+= p5-Pod-Simple>=3.40:textproc/p5-Pod-Simple +RUN_DEPENDS+= p5-Pod-Simple>=3.40:textproc/p5-Pod-Simple +.endif + post-patch: # Do not conflict with lang/perl5.* - @${REINPLACE_CMD} -e 's| pod2usage||' ${WRKSRC}/Makefile.PL - @${RM} ${WRKSRC}/scripts/pod2usage.PL + @${RM} ${WRKSRC}/scripts/pod2usage.PL ${WRKSRC}/t/pod/pod2usage.t -.include <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/devel/p5-Pod-Usage/distinfo ============================================================================== --- head/devel/p5-Pod-Usage/distinfo Thu Oct 15 20:07:22 2020 (r552450) +++ head/devel/p5-Pod-Usage/distinfo Thu Oct 15 20:07:27 2020 (r552451) @@ -1,3 +1,3 @@ -TIMESTAMP = 1585059370 -SHA256 (Pod-Usage-1.70.tar.gz) = 54fc12b61c7661e12e102e56d68f18dfbe8899482bb8f9925db2a18b8b64d43a -SIZE (Pod-Usage-1.70.tar.gz) = 61212 +TIMESTAMP = 1602780732 +SHA256 (Pod-Usage-2.0.tar.gz) = 530943a9ac3ba00404d7be8ee8572f30f6db9de123cd725af3647333a87d4fea +SIZE (Pod-Usage-2.0.tar.gz) = 77095 Added: head/devel/p5-Pod-Usage/files/patch-Makefile.PL ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Pod-Usage/files/patch-Makefile.PL Thu Oct 15 20:07:27 2020 (r552451) @@ -0,0 +1,24 @@ +Do not conflict with lang/perl5.* + +--- Makefile.PL.orig 2020-10-06 09:26:36 UTC ++++ Makefile.PL +@@ -39,7 +39,7 @@ my %WriteMakefileArgs = ( + %WriteMakefileArgs = ( + %WriteMakefileArgs, + EXE_FILES => MY::exe(), +- PL_FILES => { MY::pod2usage() . '.PL', MY::pod2usage() }, ++ PL_FILES => {}, + INSTALLDIRS => ($] < 5.012 ? 'perl' : 'site'), + clean => { FILES => join( ' ', @{MY::exe()}) }, + ); +@@ -70,9 +70,8 @@ WriteMakefile(%WriteMakefileArgs); + # <custom footer> + package MY; use strict; use warnings; + use File::Spec (); +-sub SCRIPTS { qw( pod2usage ) } ++sub SCRIPTS { qw() } + sub script { File::Spec->catfile ('scripts', @_) } +-sub pod2usage { MY::exe()->[0] or die "pod2usage failed" } + sub exe { + if ( $^O eq 'VMS' ) { + return [ map { script("$_.com") } SCRIPTS() ];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010152007.09FK7RZh005900>