cvsuser 02/02/08 06:09:21
Modified: P5EEx/Blue Makefile.PL
Log:
added interpreter line substitution and module dependencies
Revision Changes Path
1.9 +25 -1 p5ee/P5EEx/Blue/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /cvs/public/p5ee/P5EEx/Blue/Makefile.PL,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -w -r1.8 -r1.9
--- Makefile.PL 6 Feb 2002 22:35:25 -0000 1.8
+++ Makefile.PL 8 Feb 2002 14:09:21 -0000 1.9
@@ -1,18 +1,42 @@
######################################################################
-## File: $Id: Makefile.PL,v 1.8 2002/02/06 22:35:25 spadkins Exp $
+## File: $Id: Makefile.PL,v 1.9 2002/02/08 14:09:21 spadkins Exp $
######################################################################
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
+# * The files in "sbin" are used during installation but are not
+# installed themselves. Executables that are also to be installed
+# should be in "bin".
+# * I borrowed the technique for putting the correct interpreter line
+# at the top of scripts from the libwww-perl distribution.
+
+my @bin_programs = qw();
+my @sbin_programs = qw(perldocs);
+
%opts = (
'INSTALLDIRS' => 'perl',
'NAME' => 'P5EEx-Blue',
'DISTNAME' => 'P5EEx-Blue',
'VERSION' => '0.01',
'PMLIBDIRS' => [ 'P5EEx', ],
+ 'PL_FILES' => { map {("sbin/$_.PL" => "sbin/$_")} @sbin_programs,
+ map {("bin/$_.PL" => "bin/$_")} @bin_programs },
+ 'EXE_FILES' => [ map {"bin/$_"} @bin_programs ],
+ 'PREREQ_PM' => { # I haven't yet determined what the minimum versions should
be
+ 'Fatal' => 0,
+ 'Error' => 0,
+ 'Exception::Class' => 0,
+ 'Data::Dumper' => 0,
+ 'Storable' => 0,
+ 'Compress::Zlib' => 0,
+ 'MIME::Base64' => "2.1",
+ 'Date::Parse' => 0,
+ 'Date::Format' => 0,
+ },
+ 'clean' => { FILES => '$(EXE_FILES)' },
'linkext' => { LINKTYPE=>'' }, # no link needed
'dist' => {'COMPRESS'=>'gzip -9f', 'SUFFIX' => 'gz',
'ZIP'=>'/usr/bin/zip','ZIPFLAGS'=>'-rl'},