summaryrefslogtreecommitdiff
path: root/homebrew/mecabjumandic
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mecabjumandic')
-rw-r--r--homebrew/mecabjumandic/.beer29
-rw-r--r--homebrew/mecabjumandic/.make.sh-auto4
-rw-r--r--homebrew/mecabjumandic/_metadata/description1
-rw-r--r--homebrew/mecabjumandic/_metadata/homepage1
-rw-r--r--homebrew/mecabjumandic/_metadata/name1
-rw-r--r--homebrew/mecabjumandic/_metadata/version1
-rwxr-xr-xhomebrew/mecabjumandic/download.sh1
7 files changed, 38 insertions, 0 deletions
diff --git a/homebrew/mecabjumandic/.beer b/homebrew/mecabjumandic/.beer
new file mode 100644
index 000000000..1d512bef5
--- /dev/null
+++ b/homebrew/mecabjumandic/.beer
@@ -0,0 +1,29 @@
+{
+ "name": "MecabJumandic",
+ "description": "See mecab",
+ "url": "https://www.mirrorservice.org/sites/distfiles.macports.org/mecab/mecab-jumandic-7.0-20130310.tar.gz",
+ "mirror": "https://mirrors.ustc.edu.cn/macports/distfiles/mecab/mecab-jumandic-7.0-20130310.tar.gz",
+ "homepage": "https://taku910.github.io/mecab/",
+ "depends": [
+ {
+ "depend": "mecab",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "args = %W[",
+ "--disable-debug",
+ "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--with-charset=utf8",
+ "--with-dicdir=#{lib}/mecab/dic/jumandic",
+ "]",
+ "system \"./configure\", *args",
+ "system \"make\", \"install\""
+ ],
+ "version": "7.0",
+ "file": "mecab-jumandic.rb"
+} \ No newline at end of file
diff --git a/homebrew/mecabjumandic/.make.sh-auto b/homebrew/mecabjumandic/.make.sh-auto
new file mode 100644
index 000000000..93416e07d
--- /dev/null
+++ b/homebrew/mecabjumandic/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+args = %W[--disable-debug --disable-dependency-tracking --prefix=#{prefix} --with-charset=utf8 --with-dicdir=#{lib}/mecab/dic/jumandic ]
+pkg:configure *args
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/mecabjumandic/_metadata/description b/homebrew/mecabjumandic/_metadata/description
new file mode 100644
index 000000000..3c55f04d3
--- /dev/null
+++ b/homebrew/mecabjumandic/_metadata/description
@@ -0,0 +1 @@
+See mecab
diff --git a/homebrew/mecabjumandic/_metadata/homepage b/homebrew/mecabjumandic/_metadata/homepage
new file mode 100644
index 000000000..643671187
--- /dev/null
+++ b/homebrew/mecabjumandic/_metadata/homepage
@@ -0,0 +1 @@
+https://taku910.github.io/mecab/
diff --git a/homebrew/mecabjumandic/_metadata/name b/homebrew/mecabjumandic/_metadata/name
new file mode 100644
index 000000000..ce91c6ce4
--- /dev/null
+++ b/homebrew/mecabjumandic/_metadata/name
@@ -0,0 +1 @@
+MecabJumandic
diff --git a/homebrew/mecabjumandic/_metadata/version b/homebrew/mecabjumandic/_metadata/version
new file mode 100644
index 000000000..4fedf1d20
--- /dev/null
+++ b/homebrew/mecabjumandic/_metadata/version
@@ -0,0 +1 @@
+7.0
diff --git a/homebrew/mecabjumandic/download.sh b/homebrew/mecabjumandic/download.sh
new file mode 100755
index 000000000..68ee1fd7f
--- /dev/null
+++ b/homebrew/mecabjumandic/download.sh
@@ -0,0 +1 @@
+wget https://www.mirrorservice.org/sites/distfiles.macports.org/mecab/mecab-jumandic-7.0-20130310.tar.gz || wget https://mirrors.ustc.edu.cn/macports/distfiles/mecab/mecab-jumandic-7.0-20130310.tar.gz \ No newline at end of file