diff options
| author | Adam Vandenberg | 2012-02-09 22:15:51 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-09 22:15:51 -0800 |
| commit | 78f4ed2795d175674259aa6cf7b06a4cd3e352fa (patch) | |
| tree | 7fb3a671d99c196b64a3559c13174c00c0ac74a0 | |
| parent | f3f84824afbf6ae801629dca5bee0766e3844a08 (diff) | |
| download | homebrew-78f4ed2795d175674259aa6cf7b06a4cd3e352fa.tar.bz2 | |
stanford-parser 2.0
| -rw-r--r-- | Library/Formula/stanford-parser.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Library/Formula/stanford-parser.rb b/Library/Formula/stanford-parser.rb index e5f52f939..0c1cead47 100644 --- a/Library/Formula/stanford-parser.rb +++ b/Library/Formula/stanford-parser.rb @@ -1,27 +1,27 @@ require 'formula' class StanfordParser < Formula - url 'http://nlp.stanford.edu/software/stanford-parser-2010-02-26.tgz' homepage 'http://nlp.stanford.edu/software/lex-parser.shtml' - md5 '25e26c79d221685956d2442592321027' - version '1.6.2' + url 'http://nlp.stanford.edu/software/stanford-parser-2012-02-03.tgz' + md5 'ebb6c7362b02c8b17832854421d6bb49' + version '2.0' def shim_script target_script - <<-EOS -#!/bin/bash -exec "#{libexec}/#{target_script}" $@ -EOS + <<-EOS.undent + #!/bin/bash + exec "#{libexec}/#{target_script}" "$@" + EOS end def install libexec.install Dir['*'] - Dir["#{libexec}/*.csh"].each do |f| + Dir["#{libexec}/*.sh"].each do |f| f = File.basename(f) (bin+f).write shim_script(f) end end def test - system "#{bin}/lexparser.csh", "#{libexec}/testsent.txt" + system "#{bin}/lexparser.sh", "#{libexec}/data/testsent.txt" end end |
