1 use ExtUtils::MakeMaker qw(WriteMakefile prompt);
2 use 5.006; # for "no warnings" -- sorry!
3 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
4 # the contents of the Makefile that is written.
8 To actually use this package in a useful way, you probably need to
9 move the Emacs Lisp files somewhere. Where will depend on your
12 You will also need to install the HTML or Texinfo documentation
13 somewhere appropriate to your system.
22 ## Poor man's optional deps.
28 my $resp = prompt("@_. Install $mod [yN]? ", 'n');
29 $prereq{$mod} = 0 if $resp =~ /^y/i;
33 test_for 'Devel::Peek', 'Printing internals requires Devel::Peek';
34 test_for 'Devel::Size', 'Printing variable sizes requires Devel::Size';
35 test_for 'IO::Scalar', 'Printing internals requires IO::Scalar because Devel::Peek sucks.';
36 test_for 'Lexical::Persistence', 'Strict mode requires Lexical::Persistence';
37 test_for 'Module::CoreList', 'sepia-core-version requires Module::CoreList';
38 test_for 'Module::Info', 'Required for some Emacs functions';
39 test_for 'PadWalker', 'Stack/lexical inspection requires PadWalker >= 1.0';
40 # test_for 'Pod::Webserver', 'Pod::Webserver creates nice documentation.';
41 # test_for 'Scope::Upper', 'Required for return-from-context';
45 'VERSION_FROM' => 'lib/Sepia.pm', # finds $VERSION
46 'PREREQ_PM' => \%prereq,
47 AUTHOR => "Sean O'Rourke <seano\@cpan.org>",
48 ABSTRACT => 'Simple Emacs-Perl InterAction',