git: f7aaddf034b8 - main - japanese/mecab-jawiki: New port: MeCab dictionary from Wikipedia (Japanese edition)

From: MANTANI Nobutaka <nobutaka_at_FreeBSD.org>
Date: Sun, 18 Aug 2024 06:44:39 UTC
The branch main has been updated by nobutaka:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f7aaddf034b8b8c606e24f6acf57add28fed9d29

commit f7aaddf034b8b8c606e24f6acf57add28fed9d29
Author:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
AuthorDate: 2024-08-18 06:41:50 +0000
Commit:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
CommitDate: 2024-08-18 06:41:50 +0000

    japanese/mecab-jawiki: New port: MeCab dictionary from Wikipedia (Japanese edition)
    
    MeCab is open source Japanese dependency structure analyzer developed
    through the joint research project between Graduate School of Informatics
    Kyoto University and NTT (Nippon Telegraph and Telephone)
    Communication Science Laboratories.
    This package provides dictionary from Wikipedia (Japanese edition).
    
    PR:     279239
    Reported by:    mew14930xvi <mew14930xvi@inbox.lv>
---
 japanese/Makefile               |  1 +
 japanese/mecab-jawiki/Makefile  | 10 ++++++++++
 japanese/mecab-jawiki/pkg-descr |  5 +++++
 3 files changed, 16 insertions(+)

diff --git a/japanese/Makefile b/japanese/Makefile
index ddf8c0e2389f..6bcd8776bf6a 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -174,6 +174,7 @@
     SUBDIR += mecab-ipadic-eucjp
     SUBDIR += mecab-ipadic-sjis
     SUBDIR += mecab-ipadic-utf8
+    SUBDIR += mecab-jawiki
     SUBDIR += mh
     SUBDIR += migemo
     SUBDIR += migemo.el
diff --git a/japanese/mecab-jawiki/Makefile b/japanese/mecab-jawiki/Makefile
new file mode 100644
index 000000000000..3678bdf3cd04
--- /dev/null
+++ b/japanese/mecab-jawiki/Makefile
@@ -0,0 +1,10 @@
+PKGNAMEPREFIX=	ja-mecab-
+
+COMMENT=	MeCab dictionary from Wikipedia (Japanese edition)
+
+MASTERDIR=	${.CURDIR}/../skk-jawiki
+DESCR=		${.CURDIR}/pkg-descr
+
+MECAB=		yes
+
+.include "${MASTERDIR}/Makefile"
diff --git a/japanese/mecab-jawiki/pkg-descr b/japanese/mecab-jawiki/pkg-descr
new file mode 100644
index 000000000000..ac1916a5d4f1
--- /dev/null
+++ b/japanese/mecab-jawiki/pkg-descr
@@ -0,0 +1,5 @@
+MeCab is open source Japanese dependency structure analyzer developed
+through the joint research project between Graduate School of Informatics
+Kyoto University and NTT (Nippon Telegraph and Telephone)
+Communication Science Laboratories.
+This package provides dictionary from Wikipedia (Japanese edition).