4 use ExtUtils::MakeMaker;
6 my $vergen = '../../../../tools/vergen';
10 $version = `$vergen --format version`;
12 if ($CHILD_ERROR == 0) {
13 print "Version $version\n";
14 open my $fh, '>', 'VERSION' || die 'Could not write VERSION file. Stopped';
21 local $INPUT_RECORD_SEPARATOR;
22 open my $fh, '<', 'VERSION' or die "Could not read VERSION file. Stopped";
26 if (! defined $version) {
27 die "Cannot read version from file. Stopped";
31 NAME => 'OpenXPKI::Client::HTML::Mason',
32 AUTHOR => 'Martin Bartosch <m.bartosch@cynops.de>',
34 ABSTRACT_FROM => 'lib/OpenXPKI/Client/HTML/Mason.pm',
39 'OpenXPKI::Client' => 0,
40 'OpenXPKI::i18n' => 0,
42 'HTTP::Server::Simple::Mason' => 0,
43 'Test::HTTP::Server::Simple' => 0,
44 'WWW::Mechanize' => 0,
48 'HTML::Entities' => 0,
49 'Data::SpreadPagination' => 0,
51 'OpenXPKI::DateTime' => 0,
52 'OpenXPKI::Exception' => 0,
53 'OpenXPKI::Serialization::Simple' => 0,
62 test => {TESTS => 't/*/*.t t/*.t'},
63 dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
64 clean => { FILES => 'OpenXPKI-Client-HTML-Mason-*' },