diff options
-rw-r--r-- | MANIFEST | 1 | ||||
-rw-r--r-- | dist/Locale-Maketext/.gitignore | 1 | ||||
-rw-r--r-- | dist/Locale-Maketext/Makefile.PL | 45 |
3 files changed, 47 insertions, 0 deletions
@@ -3864,6 +3864,7 @@ dist/Locale-Maketext/lib/Locale/Maketext/Cookbook.pod Locale::Maketext dist/Locale-Maketext/lib/Locale/Maketext/Guts.pm Locale::Maketext dist/Locale-Maketext/lib/Locale/Maketext/GutsLoader.pm Locale::Maketext dist/Locale-Maketext/lib/Locale/Maketext/TPJ13.pod Locale::Maketext documentation article +dist/Locale-Maketext/Makefile.PL Build Locale::Maketext dist/Locale-Maketext/README Locale::Maketext dist/Locale-Maketext/t/01_about_verbose.t See if Locale::Maketext works dist/Locale-Maketext/t/04_use_external_lex_cache.t See if Locale::Maketext works diff --git a/dist/Locale-Maketext/.gitignore b/dist/Locale-Maketext/.gitignore new file mode 100644 index 0000000000..e54624d60d --- /dev/null +++ b/dist/Locale-Maketext/.gitignore @@ -0,0 +1 @@ +!/Makefile.PL diff --git a/dist/Locale-Maketext/Makefile.PL b/dist/Locale-Maketext/Makefile.PL new file mode 100644 index 0000000000..72cc31e6da --- /dev/null +++ b/dist/Locale-Maketext/Makefile.PL @@ -0,0 +1,45 @@ +require 5.006; # uses 'our' +use strict; +use ExtUtils::MakeMaker; + +WriteMakefile( + NAME => 'Locale::Maketext', + VERSION_FROM => 'lib/Locale/Maketext.pm', + ABSTRACT_FROM => 'lib/Locale/Maketext.pod', + PREREQ_PM => { + 'I18N::LangTags' => 0.31, + 'I18N::LangTags::Detect' => 0, + 'Test::More' => 0, + 'parent' => 0, # For testing t/30_eval_dollar_at.t + }, + dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, + ( $ExtUtils::MakeMaker::VERSION >= 6.3002 ? ( 'LICENSE' => 'perl', ) : () ), + INSTALLDIRS => ( $] < 5.011 ? 'perl' : 'site' ), + + # If under a version with Maketext in core, overwrite that core file. + META_MERGE => { + resources => { + license => 'http://dev.perl.org/licenses/', + bugtracker => 'https://github.com/perl/perl5/issues', + repository => 'https://github.com/Perl/perl5/tree/blead/dist/Locale-Maketext', + MailingList => 'http://lists.perl.org/list/perl5-porters.html', + }, + }, +); + +sub MY::postamble { + return <<'MAKE_FRAG'; +.PHONY: tags critic + +tags: + ctags -f tags --recurse --totals \ + --exclude=blib \ + --exclude=.svn \ + --exclude='*~' \ + --languages=Perl --langmap=Perl:+.t \ + +critic: + perlcritic -1 -q -profile perlcriticrc -statistics lib/ t/ + +MAKE_FRAG +} |