update changelog
[p5sagit/Devel-BeginLift.git] / Makefile.PL
index 1ab8fa4..45f759b 100644 (file)
@@ -1,10 +1,23 @@
 use inc::Module::Install 0.67;
 
+use ExtUtils::Depends;
+
 name 'Devel-BeginLift';
-license 'perl';
-author 'Matt S Trout';
 all_from 'lib/Devel/BeginLift.pm';
 
-makemaker_args(XS => { 'lib/Devel/BeginLift.xs' => 'lib/Devel/BeginList.c' });
+requires 'B::Hooks::OP::Check::EntersubForCV' => '0.03';
+
+build_requires 'Test::More';
+build_requires 'B::Hooks::OP::Check::EntersubForCV';
+
+configure_requires 'ExtUtils::Depends';
+configure_requires 'B::Hooks::OP::Check::EntersubForCV';
+
+my $pkg = ExtUtils::Depends->new('Devel::Declare', 'B::Hooks::OP::Check::EntersubForCV');
 
-WriteMakefile;
+WriteMakefile(
+  dist => {
+    PREOP => 'pod2text lib/Devel/BeginLift.pm >$(DISTVNAME)/README'
+  },
+  $pkg->get_makefile_vars,
+);