Mafft multiple alignment tool

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Ben Blackburne 2009-11-10 19:53:27 +00:00 committed by Adam Vandenberg
parent 55140bf070
commit 8e5b4132d7
1 changed files with 20 additions and 0 deletions

20
Formula/mafft.rb Normal file
View File

@ -0,0 +1,20 @@
require 'formula'
class Mafft <Formula
url 'http://align.bmr.kyushu-u.ac.jp/mafft/software/mafft-6.717-with-extensions-src.tgz'
homepage 'http://mafft.cbrc.jp/alignment/software/index.html'
md5 '2fc3acfce3a48f9804e8ca5e22bb984d'
version '6.717'
def install
inreplace ["core/Makefile", "extensions/Makefile"] do |s|
s.change_make_var! "CC", ENV.cc
s.change_make_var! "CFLAGS", ENV.cflags
s.change_make_var! "PREFIX", prefix
s.change_make_var! "MANDIR", man1
end
system "cd core/; make install"
system "cd extensions; make install"
end
end