diff options
| author | David James | 2013-04-27 14:23:52 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2013-05-22 21:24:37 -0700 |
| commit | 4b2ef7bf703d943689d710195a1f56ef1141b144 (patch) | |
| tree | 5d855f5f066be4a42e5b54dac376731abc25fec4 /Library | |
| parent | 924351345b27011e9b8dbd982840d3037a375a58 (diff) | |
| download | homebrew-4b2ef7bf703d943689d710195a1f56ef1141b144.tar.bz2 | |
WordNet 3.1
Closes #19473.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/wordnet.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/wordnet.rb b/Library/Formula/wordnet.rb index 105dd8fd7..f28ad2d14 100644 --- a/Library/Formula/wordnet.rb +++ b/Library/Formula/wordnet.rb @@ -1,13 +1,25 @@ require 'formula' +class WordnetDictionaryUpdate < Formula + homepage 'http://wordnet.princeton.edu/' + url 'http://wordnetcode.princeton.edu/wn3.1.dict.tar.gz' + sha1 '67dee39f6e83c9a05d98c5790722b807812cda87' + version '3.1' +end + class Wordnet < Formula homepage 'http://wordnet.princeton.edu/' url 'http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.bz2' sha1 'aeb7887cb4935756cf77deb1ea86973dff0e32fb' + # Version 3.1 is version 3.0 with the 3.1 dictionary. + version '3.1' depends_on :x11 def install + WordnetDictionaryUpdate.new.brew do + (prefix+"dict").install Dir['*'] + end system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--mandir=#{man}" |
