Build.PL
branchfoerste
changeset 25 8934ba3404bc
parent 22 f664783b4160
child 27 ea93837d0821
--- a/Build.PL	Fri Jul 15 14:03:55 2011 +0200
+++ b/Build.PL	Fri Jul 15 14:10:40 2011 +0200
@@ -4,7 +4,7 @@
 
 my $builder = Module::Build->subclass(
     class => 'My::Module::Build',
-    code => <<'___CODE',
+    code  => <<'___CODE',
     use strict;
     use warnings;
     use File::Temp;
@@ -27,22 +27,23 @@
 ___CODE
 );
 
-my $build = $builder->new
-(
-    module_name => 'Ius::Dav::Htpasswd',
-    license  => 'gpl',
+my $build = $builder->new(
+    module_name    => 'Ius::Dav::Htpasswd',
+    license        => 'gpl',
     create_license => 1,
-    requires => {
+    requires       => {
         'Apache::Htpasswd' => 0,
-        'AppConfig' => 0,
-        'File::Path' => 0,
-        'POSIX' => 0,
+        'AppConfig'        => 0,
+        'File::Path'       => 0,
+        'POSIX'            => 0,
         'String::MkPasswd' => 0
     },
-    script_files => [glob 'bin/*'],
-    cgi_files => { map { /\.(bak|orig)$/ ? () : ($_ => $_) } glob 'cgi-bin/*' }
+    script_files => [ glob 'bin/*' ],
+    cgi_files =>
+      { map { /\.(bak|orig)$/ ? () : ( $_ => $_ ) } glob 'cgi-bin/*' }
 );
 $build->add_build_element('cgi');
 $build->install_path(
-    'cgi-bin' => $build->original_prefix($build->installdirs) . '/lib/ius-dav-htpasswd/cgi-bin');
+        'cgi-bin' => $build->original_prefix( $build->installdirs )
+      . '/lib/ius-dav-htpasswd/cgi-bin' );
 $build->create_build_script;