aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-12-09 15:56:49 +0000
committerMike McQuaid2014-12-09 15:56:49 +0000
commit89d05a37fc76f5c0403afb217fe490a20b5aecac (patch)
tree03adaaf5c8fd206dc37665f4ef24dcc30f8b69cd /Library
parent169f8c18c0e48716fe9a7afd6303e79a814a4875 (diff)
downloadhomebrew-89d05a37fc76f5c0403afb217fe490a20b5aecac.tar.bz2
queequeg: general cleanup.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/queequeg.rb11
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