# $Id: Makefile.PL 262 2007-12-15 03:12:17Z rvos $ use strict; use warnings; use ExtUtils::MakeMaker; use File::Find; check_prereq( 'SVG', 'Math::Random', 'XML::Twig' ); WriteMakefile( 'NAME' => 'Bio-Phylo', 'AUTHOR' => 'Rutger Vos ', 'PL_FILES' => {}, 'EXE_FILES' => [], 'VERSION_FROM' => 'lib/Bio/Phylo.pm', 'clean' => {}, 'dist' => { 'COMPRESS' => 'gzip -9f', 'SUFFIX' => 'gz', }, ); sub check_prereq { my @classes = @_; for my $class ( @classes ) { eval "require $class"; if ( $@ ) { print "*** The optional dependency \"$class\" can't be loaded.\n"; print " I will continue, but some functionality will not be \n"; print " available. Refer to the Bio::Phylo README file for\n"; print " more information.\n\n"; } } }