diff options
author | Graham Knop <haarg@haarg.org> | 2023-02-28 16:38:50 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-03-02 20:17:50 +0800 |
commit | f049b2185c55b2337f4789de3427e45932ffd978 (patch) | |
tree | 456040086fd960e0a3614d1010549d05f4a22092 /dist | |
parent | 68a9b411b8d0b9966b178b3329567044b7cb0f04 (diff) | |
download | perl-f049b2185c55b2337f4789de3427e45932ffd978.tar.gz |
Attribute-Handlers: add Makefile.PL
Add a Makefile.PL for Attribute-Handlers in core so that it can be
maintained properly. This avoids the need for an external repo to
maintain these extra files.
Taken from Attribute-Handlers-0.99, with the following modifications:
- install in site, not perl
- Fix license, and don't try to handle ancient perl or EUMM versions
- update metadata URLs
- no indexing demo directory
Diffstat (limited to 'dist')
-rw-r--r-- | dist/Attribute-Handlers/.gitignore | 1 | ||||
-rw-r--r-- | dist/Attribute-Handlers/Makefile.PL | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/dist/Attribute-Handlers/.gitignore b/dist/Attribute-Handlers/.gitignore new file mode 100644 index 0000000000..e54624d60d --- /dev/null +++ b/dist/Attribute-Handlers/.gitignore @@ -0,0 +1 @@ +!/Makefile.PL diff --git a/dist/Attribute-Handlers/Makefile.PL b/dist/Attribute-Handlers/Makefile.PL new file mode 100644 index 0000000000..3c99637d03 --- /dev/null +++ b/dist/Attribute-Handlers/Makefile.PL @@ -0,0 +1,24 @@ +use 5.006; +use strict; +use ExtUtils::MakeMaker; +WriteMakefile( + NAME => 'Attribute::Handlers', + VERSION_FROM => 'lib/Attribute/Handlers.pm', + ABSTRACT_FROM => 'lib/Attribute/Handlers.pm', + INSTALLDIRS => ( $] < 5.011 ? 'perl' : 'site' ), + LICENSE => 'perl_5', + PREREQ_PM => { + 'parent' => 0, + }, + AUTHOR => 'Damian Conway', + META_MERGE => { + resources => { + repository => 'https://github.com/perl/perl5.git', + bugtracker => 'https://github.com/perl/perl5/issues', + MailingList => 'https://lists.perl.org/list/perl5-porters.html', + }, + no_index => { + directory => [ 'demo' ], + }, + }, +); |