mecab-ipadic: style nits

This commit is contained in:
Adam Vandenberg 2013-01-28 21:17:58 -08:00
parent ce74bce44b
commit 727f65f24b

View file

@ -1,14 +1,18 @@
require 'formula' require 'formula'
class MecabIpadic < Formula class MecabIpadic < Formula
url 'http://downloads.sourceforge.net/project/mecab/mecab-ipadic/2.7.0-20070801/mecab-ipadic-2.7.0-20070801.tar.gz'
homepage 'http://mecab.sourceforge.net/' homepage 'http://mecab.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/mecab/mecab-ipadic/2.7.0-20070801/mecab-ipadic-2.7.0-20070801.tar.gz'
sha1 '0d9d021853ba4bb4adfa782ea450e55bfe1a229b' sha1 '0d9d021853ba4bb4adfa782ea450e55bfe1a229b'
depends_on "mecab" depends_on "mecab"
def install def install
args = ["--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"] args = %w[
--disable-debug
--disable-dependency-tracking
--prefix=#{prefix}
]
args << ARGV.find(Proc.new {"--with-charset=utf8"}) { |arg| /^--with-charset/.match(arg) } args << ARGV.find(Proc.new {"--with-charset=utf8"}) { |arg| /^--with-charset/.match(arg) }
system "./configure", *args system "./configure", *args