The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings;

use ExtUtils::MakeMaker;

WriteMakefile
  (
   NAME                => 'Quiki',
   AUTHOR              => q{Alberto Simoes and Nuno Carvalho <ambs@cpan.org and smash@cpan.org>},
   VERSION_FROM        => 'lib/Quiki.pm',
   ABSTRACT_FROM       => 'lib/Quiki.pm',
   ($ExtUtils::MakeMaker::VERSION >= 6.3002
    ? ('LICENSE'=> 'perl')
    : ()),
   EXE_FILES => [ 'script/quiki_create' ],
   PL_FILES  => { 'script/quiki_create.PL' => 'script/quiki_create' },
   PREREQ_PM => {
                 'CGI'            => 0,
                 'CGI::Session'   => 0,
                 'Test::More'     => 0,
                 'URI::Escape'    => 0,
                 'YAML::Any'      => 0,
                 'File::Slurp'    => 0,
                 'File::Path'     => '2.08',
                 'MIME::Base64'   => 0,
                 'DBD::SQLite'    => 0,
                  'Digest::MD5'    => 0,
                 'Pod::Simple'    => 0,
                 'DBI'            => 0,
                 'Regexp::Common' => '2.122',
                 'Email::Sender'  => 0,
                 'Text::Password::Pronounceable' => '0.28',
                 'Text::Patch'    => 0,
                 'Test::CheckManifest' => 0,
                  'Text::Diff'     => 0,
                 'Email::Simple::Creator' => 0,
                 'Gravatar::URL'  => 0,
                 'HTML::Template::Pro' => '0.90',
                 'File::MMagic'   => 0,
                },
   dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
   clean               => { FILES => 'Quiki-*' },
  );

package MY;
sub processPL {
    my $self = shift;

    my $make = $self->SUPER::processPL(@_);
    $make =~ s{pm_to_blib}{pm_to_blib site.lst script/quiki_create.template};

    return $make;
}