X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=Makefile.PL;h=8b028b9a42564b25b05b6094df3c690b8be0deb4;hb=8dd68edb17156d846480991d2db9844c2b3ba6e6;hp=99e91db34db0f1312fee945db8753ebefaa89ddc;hpb=2f9e679a099ab2e59aed109e1d5e3555b5c23b57;p=app-edwardng.git diff --git a/Makefile.PL b/Makefile.PL index 99e91db..8b028b9 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,5 +1,8 @@ use 5.014000; use ExtUtils::MakeMaker; +use File::ShareDir::Install; + +install_share 'share'; WriteMakefile( NAME => 'App::EdwardNG', @@ -11,6 +14,7 @@ WriteMakefile( SIGN => 1, PREREQ_PM => { qw/Email::Sender::Simple 0 + File::Share 0 File::Slurp 0 Getopt::Long 0 MIME::Entity 5.419 @@ -18,7 +22,11 @@ WriteMakefile( Mail::GnuPG 0 PerlX::Maybe 0 Template 0 - Try::Tiny 0/ + Try::Tiny 0/, + }, + BUILD_REQUIRES => { + qw/ExtUtils::MakeMaker 0 + File::ShareDir::Install 0/, }, META_MERGE => { dynamic_config => 0, @@ -27,3 +35,6 @@ WriteMakefile( } } ); + +package MY; +use File::ShareDir::Install qw/postamble/;