File tree Expand file tree Collapse file tree 2 files changed +22
-5
lines changed
Expand file tree Collapse file tree 2 files changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,29 @@ require 5.004;
77use strict;
88use ExtUtils::MakeMaker;
99
10- WriteMakefile(
10+ my $parms = {
1111 NAME => ' HTML::Tagset' ,
1212 AUTHOR => ' Andy Lester <andy@petdance.com>' ,
1313 VERSION_FROM => ' lib/HTML/Tagset.pm' ,
1414 ABSTRACT_FROM => ' lib/HTML/Tagset.pm' ,
1515 PMLIBDIRS => [qw( lib/) ],
1616 dist => { COMPRESS => ' gzip -9f' , SUFFIX => ' gz' , },
1717 clean => { FILES => ' HTML-Tagset-*' },
18- );
18+ };
19+
20+ if ( $ExtUtils::MakeMaker::VERSION =~ / ^\d\.\d\d $ / and $ExtUtils::MakeMaker::VERSION > 6.30 ) {
21+ $parms -> {LICENSE } = ' artistic_2' ;
22+ }
23+
24+ if ( $ExtUtils::MakeMaker::VERSION ge ' 6.46' ) {
25+ $parms -> {META_MERGE } = {
26+ resources => {
27+ license => ' https://opensource.org/licenses/artistic-license-2.0' ,
28+ homepage => ' https://github.com/petdance/html-tagset' ,
29+ bugtracker => ' https://github.com/petdance/html-tagset/issues' ,
30+ repository => ' https://github.com/petdance/html-tagset' ,
31+ }
32+ };
33+ }
34+
35+ WriteMakefile( %{$parms } );
Original file line number Diff line number Diff line change @@ -443,10 +443,10 @@ Copyright 1995-2000 Gisle Aas.
443443
444444Copyright 2000-2005 Sean M. Burke.
445445
446- Copyright 2005-2008 Andy Lester.
446+ Copyright 2005-2019 Andy Lester.
447447
448- This program is free software; you can redistribute it and/or modify it
449- under the same terms as Perl itself .
448+ This library is free software; you can redistribute it and/or modify it
449+ under the terms of the Artistic License version 2.0 .
450450
451451=head1 ACKNOWLEDGEMENTS
452452
You can’t perform that action at this time.
0 commit comments