Skip to content

Commit 50083fd

Browse files
committed
Updating license and other metadata
1 parent c43af50 commit 50083fd

File tree

2 files changed

+22
-5
lines changed

2 files changed

+22
-5
lines changed

Makefile.PL

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,29 @@ require 5.004;
77
use strict;
88
use 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} );

lib/HTML/Tagset.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -443,10 +443,10 @@ Copyright 1995-2000 Gisle Aas.
443443
444444
Copyright 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

0 commit comments

Comments
 (0)