Makefile.PL 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # ABSTRACT: Module definitions
  2. # vi: set tabstop=4 expandtab shiftwidth=4:
  3. use strict;
  4. use warnings;
  5. use ExtUtils::MakeMaker;
  6. sub MY::libscan {
  7. my $mm = shift;
  8. my $path = shift;
  9. return $path if -d $path;
  10. return $path if $path =~ /\.p[ml]$/;
  11. return '';
  12. }
  13. WriteMakefile(
  14. NAME => 'CMS',
  15. AUTHOR => q{Markus Hennecke <markus-hennecke@markus-hennecke.de>},
  16. VERSION_FROM => 'lib/CMS.pm',
  17. ABSTRACT_FROM => 'lib/CMS.pm',
  18. ($ExtUtils::MakeMaker::VERSION >= 6.3002
  19. ? ('LICENSE'=> 'bsd')
  20. : ()),
  21. EXE_FILES => [ qw(scripts/cms.pl scripts/sitemap.pl) ],
  22. PREREQ_PM => {
  23. 'Cache::Cache' => '1.08',
  24. 'Data::Uniqid' => '0.12',
  25. 'Authen::Htpasswd' => '0.161',
  26. 'FCGI' => '0.67',
  27. 'HTML::Template' => '2.9',
  28. 'HTTP::Date' => '6.02',
  29. 'YAML::XS' => '0.59',
  30. },
  31. BUILD_REQUIRES => {
  32. 'Test::More' => 0,
  33. },
  34. dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
  35. clean => { FILES => 'CMS-*' },
  36. );