Source files of fsfe.org, pdfreaders.org, freeyourandroid.org, ilovefs.org, drm.info, and test.fsfe.org. Contribute: https://fsfe.org/contribute/web/ https://fsfe.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.PL 978B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. use Cwd qw (abs_path);
  2. use File::Basename qw (dirname);
  3. my $root;
  4. BEGIN { $root = abs_path (dirname (__FILE__)) };
  5. use lib "$root/tools";
  6. use ExtUtils::MakeMaker;
  7. use strict;
  8. use warnings;
  9. my %att = (
  10. NAME => 'FSFE Website', # Shut up MM warning only
  11. MIN_PERL_VERSION => 5.008,
  12. PREREQ_FATAL => 1,
  13. PREREQ_PM => {
  14. 'Exporter' => 0,
  15. 'Carp' => 0,
  16. 'CGI' => 0,
  17. 'Cwd' => 0,
  18. 'DateTime' => 0, # Tested with 0.53
  19. 'Encode' => 0, # Tested with 2.35
  20. 'Fcntl' => 0,
  21. 'File::Basename' => 0,
  22. 'File::Copy' => 0,
  23. 'File::Find::Rule' => 0,
  24. 'File::Path' => 0,
  25. 'Getopt::Std' => 0,
  26. 'IO::Handle' => 0,
  27. 'IO::Select' => 0,
  28. 'HTML::TreeBuilder::XPath' => 0,
  29. 'POSIX' => 0,
  30. 'Socket' => 0,
  31. 'Template' => 2.0, # Tested with 2.22
  32. 'Text::Format' => 0,
  33. 'URI' => 0, # tested with 1.54
  34. 'XML::LibXSLT' => 0,
  35. 'XML::LibXML' => 0
  36. });
  37. MM->new (\%att) and print "All OK!\n";
  38. # NO WriteMakefile! We do PREREQ checking only