Permalink
Browse files

releasing 1.04

  • Loading branch information...
1 parent 5753c5f commit afa0d890cec8a88b85f1e1b60805e8994680145c @petdance committed Apr 17, 2010
Showing with 24 additions and 9 deletions.
  1. +12 −2 Makefile.PL
  2. +12 −7 lib/Perl/Critic/Bangs.pm
View
@@ -4,7 +4,7 @@ use warnings;
use ExtUtils::MakeMaker;
-WriteMakefile(
+my %parms = (
NAME => 'Perl::Critic::Bangs',
AUTHOR => 'Andy Lester <andy@petdance.com>',
VERSION_FROM => 'lib/Perl/Critic/Bangs.pm',
@@ -21,6 +21,17 @@ WriteMakefile(
clean => { FILES => 'Perl-Critic-Bangs-*' },
);
+if ( $ExtUtils::MakeMaker::VERSION ge '6.46' ) {
+ $parms{META_MERGE} = {
+ resources => {
+ license => 'http://dev.perl.org/licenses/',
+ repository => 'git://github.com/petdance/perl-critic-bangs.git',
+ }
+ };
+}
+
+WriteMakefile( %parms );
+
package MY;
sub MY::libscan {
my $self = shift;
@@ -49,4 +60,3 @@ critic:
MAKE_FRAG
}
-
View
@@ -124,17 +124,22 @@ Thanks to
=back
-=head1 COPYRIGHT
+=head1 COPYRIGHT & LICENSE
-Copyright (C) 2006-2009 Andy Lester
+Copyright 2006-2009 Andy Lester.
-This library is free software; you can redistribute it and/or modify
-it under the terms of either the GNU Public License v3, or the Artistic
-License 2.0.
+This program is free software; you can redistribute it and/or modify
+it under the terms of either:
- * http://www.gnu.org/copyleft/gpl.html
+=over 4
+
+=item * the GNU General Public License as published by the Free
+Software Foundation; either version 1, or (at your option) any later
+version, or
- * http://www.opensource.org/licenses/artistic-license-2.0.php
+=item * the Artistic License version 2.0.
+
+=back
=cut

0 comments on commit afa0d89

Please sign in to comment.