diff options
Diffstat (limited to 'homebrew/cabocha')
-rw-r--r-- | homebrew/cabocha/.beer | 32 | ||||
-rw-r--r-- | homebrew/cabocha/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/cabocha/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/cabocha/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/cabocha/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/cabocha/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/cabocha/download.sh | 1 |
7 files changed, 42 insertions, 0 deletions
diff --git a/homebrew/cabocha/.beer b/homebrew/cabocha/.beer new file mode 100644 index 000000000..32204c400 --- /dev/null +++ b/homebrew/cabocha/.beer @@ -0,0 +1,32 @@ +{ + "name": "Cabocha", + "description": "Yet Another Japanese Dependency Structure Analyzer", + "url": "https://dl.bintray.com/homebrew/mirror/cabocha-0.69.tar.bz2", + "mirror": "https://mirrorservice.org/sites/ftp.netbsd.org/pub/pkgsrc/distfiles/cabocha-20160909/cabocha-0.69.tar.bz2", + "homepage": "https://taku910.github.io/cabocha/", + "depends": [ + { + "depend": "crf++", + "build-depend": false + }, + { + "depend": "mecab", + "build-depend": false + }, + { + "depend": "mecab-ipadic", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "ENV[\"LIBS\"] = \"-liconv\"", + "inreplace \"Makefile.in\" do |s|", + "s.change_make_var! \"CFLAGS\", ENV.cflags", + "s.change_make_var! \"CXXFLAGS\", ENV.cflags" + ], + "version": "0.69", + "file": "cabocha.rb" +}
\ No newline at end of file diff --git a/homebrew/cabocha/.make.sh-auto b/homebrew/cabocha/.make.sh-auto new file mode 100644 index 000000000..6f2d13475 --- /dev/null +++ b/homebrew/cabocha/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +ENV["LIBS"] = "-liconv" +inreplace "Makefile.in" do |s| +s.change_make_var! "CFLAGS", ENV.cflags +s.change_make_var! "CXXFLAGS", ENV.cflags diff --git a/homebrew/cabocha/_metadata/description b/homebrew/cabocha/_metadata/description new file mode 100644 index 000000000..8e568a5ff --- /dev/null +++ b/homebrew/cabocha/_metadata/description @@ -0,0 +1 @@ +Yet Another Japanese Dependency Structure Analyzer diff --git a/homebrew/cabocha/_metadata/homepage b/homebrew/cabocha/_metadata/homepage new file mode 100644 index 000000000..ec6fdb409 --- /dev/null +++ b/homebrew/cabocha/_metadata/homepage @@ -0,0 +1 @@ +https://taku910.github.io/cabocha/ diff --git a/homebrew/cabocha/_metadata/name b/homebrew/cabocha/_metadata/name new file mode 100644 index 000000000..d76de3647 --- /dev/null +++ b/homebrew/cabocha/_metadata/name @@ -0,0 +1 @@ +Cabocha diff --git a/homebrew/cabocha/_metadata/version b/homebrew/cabocha/_metadata/version new file mode 100644 index 000000000..b04c64745 --- /dev/null +++ b/homebrew/cabocha/_metadata/version @@ -0,0 +1 @@ +0.69 diff --git a/homebrew/cabocha/download.sh b/homebrew/cabocha/download.sh new file mode 100755 index 000000000..d8bec163e --- /dev/null +++ b/homebrew/cabocha/download.sh @@ -0,0 +1 @@ +wget https://dl.bintray.com/homebrew/mirror/cabocha-0.69.tar.bz2 || wget https://mirrorservice.org/sites/ftp.netbsd.org/pub/pkgsrc/distfiles/cabocha-20160909/cabocha-0.69.tar.bz2
\ No newline at end of file |