Update to 2.50

- Add LICENSE
- Sort PLIST

Changes:	https://metacpan.org/changes/distribution/Getopt-Long
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-09-13 21:54:52 +00:00
parent 66fa77d9ce
commit a1d6e763c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479726
4 changed files with 15 additions and 11 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= Getopt-Long
PORTVERSION= 2.46
PORTVERSION= 2.50
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -10,6 +10,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module for extended processing of command line options
LICENSE= ART10 GPLv2+
LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure

View file

@ -1,2 +1,3 @@
SHA256 (Getopt-Long-2.46.tar.gz) = 85fde3a74d23d3898456e14452615b73cd95e4f88ea284602d8698da68607712
SIZE (Getopt-Long-2.46.tar.gz) = 43045
TIMESTAMP = 1536860809
SHA256 (Getopt-Long-2.50.tar.gz) = 20881adb2b73e83825f9a0a3b141db11b3a555e1d3775b13d81d0481623e4b67
SIZE (Getopt-Long-2.50.tar.gz) = 43031

View file

@ -1,14 +1,14 @@
--- Makefile.PL.orig 2013-07-08 06:14:42 UTC
--- Makefile.PL.orig 2017-05-27 10:13:51 UTC
+++ Makefile.PL
@@ -12,6 +12,7 @@ use ExtUtils::MakeMaker 5.0;
use lib "./lib";
use Getopt::Long;
my $version = $Getopt::Long::VERSION_STRING || $Getopt::Long::VERSION;
my $version = "2.50";
+my $leave_alone = 1;
sub MY::postamble {
my $ret = "";
@@ -25,7 +26,7 @@ This manual page has a wrong name, and s
my $mm_version = $ExtUtils::MakeMaker::VERSION;
if ($mm_version =~ /_/) {
@@ -32,7 +33,7 @@ This manual page has a wrong name, and s
I can add instructions to the Makefile to remove it when you
install this version.
EOD
@ -17,7 +17,7 @@
if ( $ans =~ /^y/i ) {
$ret .= <<EOD;
install ::
@@ -44,7 +45,7 @@ These should be removed.
@@ -51,7 +52,7 @@ These should be removed.
I can add instructions to the Makefile to remove them when you
install this version.
EOD

View file

@ -1,3 +1,3 @@
%%PERL5_MAN3%%/Getopt::Long.3.gz
%%SITE_PERL%%/newgetopt.pl
%%SITE_PERL%%/Getopt/Long.pm
%%SITE_PERL%%/newgetopt.pl
%%PERL5_MAN3%%/Getopt::Long.3.gz