diff options
| author | Trevor Wennblom | 2012-02-27 03:25:08 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2012-03-15 17:58:03 -0700 |
| commit | d2707c785a9f19e02b62a690a231a83c8342e367 (patch) | |
| tree | 06543b0515b81219fc5aff383aeaace2d2131566 /Library/Formula/phyml.rb | |
| parent | fba3ebcf2e5443dcf86de11db59f3c2ead45b352 (diff) | |
| download | homebrew-d2707c785a9f19e02b62a690a231a83c8342e367.tar.bz2 | |
phyml 20110919
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/phyml.rb')
| -rw-r--r-- | Library/Formula/phyml.rb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Library/Formula/phyml.rb b/Library/Formula/phyml.rb new file mode 100644 index 000000000..c2abe0934 --- /dev/null +++ b/Library/Formula/phyml.rb @@ -0,0 +1,35 @@ +require 'formula' + +class Phyml < Formula + homepage 'http://www.atgc-montpellier.fr/phyml/' + url 'http://phyml.googlecode.com/files/phyml-20110919.tar.gz' + md5 'd95c73c5c03d082db21564a54978f281' + + def install + # separate steps required + system "./configure", "--prefix=#{prefix}" + system "make" + + system "./configure", "--prefix=#{prefix}", "--enable-phytime" + system "make" + + bin.install %w(src/phyml src/phytime) + doc.install Dir['doc/phyml-manual.pdf'] + rm_rf Dir['examples/.svn'] + chmod 0644, Dir['examples/*'] + share.install Dir['examples/*'] + end + + def caveats; <<-EOS.undent + Examples have been installed here: + #{share} + + See options for phyml by running: + phmyl --help + + PhyML must be run with the "-i" option to specify an input or it will + segfault. Example: + phyml -i #{share}/nucleic + EOS + end +end |
