From 89d05a37fc76f5c0403afb217fe490a20b5aecac Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 9 Dec 2014 15:56:49 +0000 Subject: queequeg: general cleanup. --- Library/Formula/queequeg.rb | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3