Apache-Bootstrap

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

use strict;
use warnings;
use ExtUtils::MakeMaker;

WriteMakefile(
    NAME          => 'Apache::Bootstrap',
    AUTHOR        => 'Fred Moyer <fred@redhotpenguin.com>',
    VERSION_FROM  => 'lib/Apache/Bootstrap.pm',
    ABSTRACT_FROM => 'lib/Apache/Bootstrap.pm',
    PL_FILES      => {},
    dist          => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean => { FILES => 'Apache-Bootstrap-*' },
);

package MY;

sub test {
    my $self = shift;

    eval { require Test::More } or return <<EOF;
test::
\t\@echo sorry, cannot run tests without Test::More
EOF

    return $self->SUPER::test();
}

sub MY::postamble {
    my $self = shift;

    my $string = $self->MM::postamble;

    $string .= <<'EOF';
tag :
	svn copy https://svn.apache.org/repos/asf/perl/Apache-Bootstrap/trunk https://svn.apache.org/repos/asf/perl/Apache-Bootstrap/tags/$(VERSION_SYM)
	@echo update lib/Apache/Bootstrap.pm VERSION now
EOF

    return $string;
}



( run in 1.519 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )