aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorYusuke Miyazaki2015-01-26 07:41:45 +0900
committerMike McQuaid2015-01-26 16:10:25 +0000
commitaf384e756f66c9afc72811931da4ac49771de95d (patch)
tree43985056fd06a45c87f9847834aa1be65fa66571 /Library/Formula
parent160843e6d342a8159ff2e3069823b4a918c866e3 (diff)
downloadhomebrew-af384e756f66c9afc72811931da4ac49771de95d.tar.bz2
juman 7.01 (new formula)
Add JUMAN (a User-Extensible Morphological Analyzer for Japanese). Closes #36218. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/juman.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/juman.rb b/Library/Formula/juman.rb
new file mode 100644
index 000000000..0c20c7a37
--- /dev/null
+++ b/Library/Formula/juman.rb
@@ -0,0 +1,17 @@
+class Juman < Formula
+ homepage "http://nlp.ist.i.kyoto-u.ac.jp/index.php?JUMAN"
+ url "http://nlp.ist.i.kyoto-u.ac.jp/nl-resource/juman/juman-7.01.tar.bz2"
+ sha1 "e22eb113f40216b8a04d811484a94f93f834ae9a"
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make"
+ system "make", "install"
+ end
+
+ test do
+ result = `echo \xe4\xba\xac\xe9\x83\xbd\xe5\xa4\xa7\xe5\xad\xa6 | juman | md5`.chomp
+ assert_equal "a5dd58c8ffa618649c5791f67149ab56", result
+ end
+end