diff options
| author | Till Heistermann | 2011-05-19 17:22:47 +0200 | 
|---|---|---|
| committer | Jack Nagel | 2011-09-28 14:52:52 -0500 | 
| commit | 4f27312554bb91613b07d39c26f1159007734520 (patch) | |
| tree | f06848fad6c5c3de732418e17abfc17506e63943 /Library/Formula/hmmer.rb | |
| parent | 5588d12e5b1b632e1ef765bf9551fb8da302d3e2 (diff) | |
| download | homebrew-4f27312554bb91613b07d39c26f1159007734520.tar.bz2 | |
New formula: HMMER
Closes #7872.
Closes #6540.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/hmmer.rb')
| -rw-r--r-- | Library/Formula/hmmer.rb | 22 | 
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/hmmer.rb b/Library/Formula/hmmer.rb new file mode 100644 index 000000000..1c91a3e4e --- /dev/null +++ b/Library/Formula/hmmer.rb @@ -0,0 +1,22 @@ +require 'formula' + +class Hmmer < Formula +  url 'http://selab.janelia.org/software/hmmer3/3.0/hmmer-3.0.tar.gz' +  homepage 'http://hmmer.janelia.org/' +  md5 '4cf685f3bc524ba5b5cdaaa070a83588' + +  def install +    system "./configure", "--prefix=#{prefix}" +    system "make install" + +    # Install man pages manually as long as automatic man page install +    # is deactivated in the HMMER makefile. If this changes in future +    # versions of HMMER, these lines can be removed: + +    Dir.chdir "documentation/man" +    # rename all *.man files to *.1 and install them into man1 section +    Dir.glob("*.man") do |filename| +      man1.install filename => filename.sub(/\.man/, ".1") +    end +  end +end  | 
