aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2013-02-11 13:52:13 +0800
committertota <tota@FreeBSD.org>2013-02-11 13:52:13 +0800
commit319f59eaa35e335606e6f9998d186dbf8bab2fca (patch)
treea94f0bed1f53b45e6dc1c8f03eec7118a651848b
parent3b80219850bf3aa06b3f23811606baaaf3fa3bc0 (diff)
downloadfreebsd-ports-gnome-319f59eaa35e335606e6f9998d186dbf8bab2fca.tar.gz
freebsd-ports-gnome-319f59eaa35e335606e6f9998d186dbf8bab2fca.tar.zst
freebsd-ports-gnome-319f59eaa35e335606e6f9998d186dbf8bab2fca.zip
- Fix issue that option settings are saved in /var/db/ports/ja-mecab
rather than /var/db/ports/ja-mecab-ipadic - Revert change of pkg-descr in r310466 except Author: line since it is description of MeCab rather than that of IPA dictonary for MeCab - Update MASTER_SITES and WWW URL PR: ports/175536 (based on) Submitted by: Yasuhiro KIMURA <yasu_AT_utahime_DOT_org>
-rw-r--r--japanese/mecab-ipadic/Makefile15
-rw-r--r--japanese/mecab-ipadic/pkg-descr19
2 files changed, 9 insertions, 25 deletions
diff --git a/japanese/mecab-ipadic/Makefile b/japanese/mecab-ipadic/Makefile
index f09523238529..07b9636c6aa5 100644
--- a/japanese/mecab-ipadic/Makefile
+++ b/japanese/mecab-ipadic/Makefile
@@ -1,12 +1,11 @@
# Created by: TAKATSU Tomonari <tota@rtfm.jp>
# $FreeBSD$
-PORTNAME= mecab
+PORTNAME= mecab-ipadic
DISTVERSION= 2.7.0-20070801
CATEGORIES= japanese textproc
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-ipadic/2.7.0-20070801
-PKGNAMESUFFIX= -ipadic
-DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSION}
+MASTER_SITES= GOOGLE_CODE
+PROJECTHOST= mecab
MAINTAINER= yasu@utahime.org
COMMENT= Japanese Morphological Dictionary for MeCab
@@ -22,6 +21,10 @@ LICENSE_PERMS_ICOT= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BUILD_DEPENDS= ja-mecab>=0.94:${PORTSDIR}/japanese/mecab
+USE_PERL5_BUILD= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-dicdir=${PREFIX}/lib/mecab/dic/ipadic
+
OPTIONS_RADIO= CHARSET
OPTIONS_RADIO_CHARSET= EUCJP SHIFTJIS UTF8
@@ -29,10 +32,6 @@ EUCJP_DESC= Use EUC-JP as dictionary charset.
SHIFTJIS_DESC= Use SHIFT-JIS as dictionary charset.
UTF8_DESC= Use UTF-8 as dictionary charset.
-USE_PERL5_BUILD= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-dicdir=${PREFIX}/lib/mecab/dic/ipadic
-
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEUCJP}
diff --git a/japanese/mecab-ipadic/pkg-descr b/japanese/mecab-ipadic/pkg-descr
index 4c8cd6e868eb..801da95fd729 100644
--- a/japanese/mecab-ipadic/pkg-descr
+++ b/japanese/mecab-ipadic/pkg-descr
@@ -1,18 +1,3 @@
-MeCab the Graduate School of Informatics, Kyoto University Unit - Joint
-Research Project Communication Science Laboratories, Nippon Telegraph and
-Telephone Corporation morphological analysis engine that was developed
-through open source. The basic policy is to design a general-purpose
-language-independent, dictionary and corpus. (Conditional Random Fields
-for the estimation of the parameters CRF has been used), ChaSen performance
-has improved compared to the hidden Markov model is employed. In addition,
-on average ChaSen , Juman , KAKASI run faster than. Turnip Undaria pinnatifida
-(wear eye) is the way the author's favorite food.
+Japanese Morphological Dictionary for MeCab.
-* Generic design that does not depend dictionary, the corpus
-* Conditional Random Fields ( CRF on the basis of high analysis accuracy)
-* ChaSen and KAKASI faster than
-* Structure algorithm / data dictionary lookup is a fast TRIE structure Double-Array adopted.
-* Libraries that can be re-entrant
-* Various scripting language bindings (perl / ruby / python / java / C #)
-
-WWW: http://mecab.sourceforge.net/
+WWW: https://code.google.com/p/mecab/