diff options
| author | Mike McQuaid | 2014-12-09 15:56:49 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-09 15:56:49 +0000 |
| commit | 89d05a37fc76f5c0403afb217fe490a20b5aecac (patch) | |
| tree | 03adaaf5c8fd206dc37665f4ef24dcc30f8b69cd /Library | |
| parent | 169f8c18c0e48716fe9a7afd6303e79a814a4875 (diff) | |
| download | homebrew-89d05a37fc76f5c0403afb217fe490a20b5aecac.tar.bz2 | |
queequeg: general cleanup.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/queequeg.rb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Library/Formula/queequeg.rb b/Library/Formula/queequeg.rb index d4aea9c6e..c2ce9820b 100644 --- a/Library/Formula/queequeg.rb +++ b/Library/Formula/queequeg.rb @@ -16,22 +16,21 @@ class Queequeg < Formula depends_on "wordnet" def install - # Build the dictionary system "make", "dict", "WORDNETDICT=#{Formula["wordnet"].opt_prefix}/dict" - # Install python files and dictionary into libexec - install_list = ["abstfilter.py", "constraint.py", "convdict.py", + libexec.install "abstfilter.py", "constraint.py", "convdict.py", "dictionary.py", "document.py", "grammarerror.py", "markupbase_rev.py", "output.py", "postagfix.py", "pstring.py", "qq", "regpat.py", - "sentence.py", "sgmllib_rev.py", "texparser.py", "unification.py"] - libexec.install install_list + "sentence.py", "sgmllib_rev.py", "texparser.py", + "unification.py" + if File.exist? "dict.cdb" libexec.install "dict.cdb" else libexec.install "dict.txt" end - # Write a wrapper for qq + bin.write_exec_script "#{libexec}/qq" end |
