[MOBY-guts] biomoby commit

Richard Bruskeiwich rbsk at pub.open-bio.org
Thu Feb 20 01:49:49 UTC 2003


rbsk
Wed Feb 19 20:49:49 EST 2003
Update of /home/repository/moby/moby-live/Perl
In directory pub.open-bio.org:/tmp/cvs-serv15776

Modified Files:
	Makefile.PL 
Log Message:
Working on an enhanced installation procedure

moby-live/Perl Makefile.PL,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/Makefile.PL,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Perl/Makefile.PL	2003/02/19 21:26:29	1.1
+++ /home/repository/moby/moby-live/Perl/Makefile.PL	2003/02/20 01:49:49	1.2
@@ -1,12 +1,58 @@
-use 5.008;
 use ExtUtils::MakeMaker;
+use FindBin '$Bin';
+require 5.008;
+
+my $VERSION = '0.04';
+
+my $WWW_SERVER_ROOT = "/usr/local/apache" ;
+my $CGI_BIN = "cgi-bin" ;
+
+#
+# RMB - Singapore biohackethon - Work in progress, to make a cleaner installation
+# Welcome...
+#print STDERR "\n\nMOBY Installation (Perl Implementation)\n" ;
+#print STDERR "=======================================\n\n" ;
+
+#my $line ;
+#print STDERR "Path to your WWW server root \[$WWW_SERVER_ROOT\]? ";
+#chomp ($line = <>);
+#$WWW_SERVER_ROOT=$line if ($line) ;
+#print STDERR "Setting WWW server root path to '$WWW_SERVER_ROOT'\n\n" ;
+
+#print STDERR "Name of your CGI directory \[$CGI_BIN\]? ";
+#chomp ($line = <>);
+#$CGI_BIN=$line if ($line) ;
+#my $CGI_BIN_PATH = "$WWW_SERVER_ROOT/$CGI_BIN" ;
+#print STDERR "Setting CGI bin path is '$CGI_BIN_PATH'\n\n" ;
+  
+#print STDERR "\n\n" ;
+    
 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
 # the contents of the Makefile that is written.
+
 WriteMakefile(
 	      'NAME'	      => 'MOBY',
-	      'VERSION'	      => '0.04', 
-	      'PREREQ_PM'     => {}, # e.g., Module::Name => 1.1
+	      'VERSION'	      => $VERSION, 
+	      'PREREQ_PM'     => {
+	      }, # e.g., Module::Name => 1.1
+	      #'PM_FILTER'     => "", 
 	      ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
 	       (ABSTRACT      => 'Perl module binding for MOBY',
 		AUTHOR        => 'Mark Wilkinson [markw at illuminae.com]') : ()),
 );
+
+#
+# Insert additional MOBY specific Makefile targets
+# 
+sub MY::postamble {
+	return <<'MAKE_FRAG';
+Central:
+	echo "Make (local) MOBY Central stub"
+
+Server:
+	echo "Make (local) MOBY Server stub"
+
+Client:
+	echo "Make (local) MOBY Client stub"
+MAKE_FRAG
+}



More information about the MOBY-guts mailing list