From owner-svn-ports-head@freebsd.org Thu Oct 15 20:07:32 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 678E344633B; Thu, 15 Oct 2020 20:07:32 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CC0gm0nfSz3fnw; Thu, 15 Oct 2020 20:07:32 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9728124FFD; Thu, 15 Oct 2020 20:07:28 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 09FK7Srs005903; Thu, 15 Oct 2020 20:07:28 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 09FK7RZh005900; Thu, 15 Oct 2020 20:07:27 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202010152007.09FK7RZh005900@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 15 Oct 2020 20:07:27 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel/p5-Pod-Usage: . files X-SVN-Commit-Revision: 552451 X-SVN-Commit-Repository: ports 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.33 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: Thu, 15 Oct 2020 20:07:32 -0000 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 + +.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 +.include 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); + # + 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() ];