public
Description: A Camping-inspired Web Microframework for Perl
Homepage: http://groups.google.com/group/squatting-framework
Clone URL: git://github.com/beppu/squatting.git
Click here to lend your support to: squatting and make a donation at www.pledgie.com !
squatting / Makefile.PL
100644 47 lines (42 sloc) 1.367 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
use ExtUtils::MakeMaker;
 
WriteMakefile (
  NAME => 'Squatting',
  AUTHOR => 'John BEPPU <beppu@cpan.org>',
  LICENSE => 'mit',
  VERSION_FROM => 'lib/Squatting.pm',
  ABSTRACT_FROM => 'lib/Squatting.pm',
  EXE_FILES => [ 'bin/squatting' ],
  PREREQ_PM => {
    'Class::C3::Componentised' => 0,
    'HTTP::Daemon' => 0,
    'Continuity' => 0.991,
    'Data::Dump' => 0,
    'JSON::XS' => 0,
    'Shell::Perl' => 0,
    'IO::All' => 0,
    'Test::More' => 0,
    'HTTP::Response' => 0,
    'Clone' => 0,
  },
  depend => { distmeta => 'metamunge' }
);
 
sub MY::libscan {
  my $self = shift;
  $_ = shift;
  # $self appears to be a blessed hashref that contains
  # all the attributes/value pairs passed to WriteMakeFile()
  # plus some other MakeMaker-related info.
  return 0 if /\.sw.$/ || /~$/;
  return $_;
}
 
sub MY::postamble {q{
metamunge :
$(NOECHO) $(ECHO) 'no_index:' >> $(DISTVNAME)/META.yml
$(NOECHO) $(ECHO) ' directory:' >> $(DISTVNAME)/META.yml
$(NOECHO) $(ECHO) ' - eg' >> $(DISTVNAME)/META.yml
$(NOECHO) $(ECHO) ' - t' >> $(DISTVNAME)/META.yml
 
nd :
$(MKPATH) doc
$(MKPATH) /tmp/squatting-doc
nd -r -i lib -o HTML doc -p /tmp/sqautting-doc
}}