From owner-svn-ports-head@FreeBSD.ORG Tue Jan 15 21:51:02 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3F81C919; Tue, 15 Jan 2013 21:51:02 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 3111BA4E; Tue, 15 Jan 2013 21:51:02 +0000 (UTC) Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0FLp2rp055381; Tue, 15 Jan 2013 21:51:02 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0FLp1om055379; Tue, 15 Jan 2013 21:51:01 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201301152151.r0FLp1om055379@svn.freebsd.org> From: Jason Helfman Date: Tue, 15 Jan 2013 21:51:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r310466 - head/japanese/mecab-ipadic X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 21:51:02 -0000 Author: jgh Date: Tue Jan 15 21:51:01 2013 New Revision: 310466 URL: http://svnweb.freebsd.org/changeset/ports/310466 Log: - trim historical header, add LICENSES, convert CHARSET to optionsNG and drop pre-everything target - update pkg-descr PR: 175195 Submitted by: maintainer, yasu@utahime.org Modified: head/japanese/mecab-ipadic/Makefile (contents, props changed) head/japanese/mecab-ipadic/pkg-descr (contents, props changed) Modified: head/japanese/mecab-ipadic/Makefile ============================================================================== --- head/japanese/mecab-ipadic/Makefile Tue Jan 15 21:45:33 2013 (r310465) +++ head/japanese/mecab-ipadic/Makefile Tue Jan 15 21:51:01 2013 (r310466) @@ -1,9 +1,5 @@ -# New ports collection makefile for: mecab-ipadic -# Date created: 2006-05-07 -# Whom: TAKATSU Tomonari -# +# Created by: TAKATSU Tomonari # $FreeBSD$ -# PORTNAME= mecab DISTVERSION= 2.7.0-20070801 @@ -15,20 +11,36 @@ DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${ MAINTAINER= yasu@utahime.org COMMENT= Japanese Morphological Dictionary for MeCab +LICENSE= NAIST ICOT +LICENSE_COMB= multi +LICENSE_NAME_NAIST= NAIST +LICENSE_NAME_ICOT= ICOT +LICENSE_FILE_NAIST= ${WRKSRC}/COPYING +LICENSE_FILE_ICOT= ${WRKSRC}/COPYING +LICENSE_PERMS_NAIST= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept +LICENSE_PERMS_ICOT= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + BUILD_DEPENDS= ja-mecab>=0.94:${PORTSDIR}/japanese/mecab +OPTIONS_RADIO= CHARSET +OPTIONS_RADIO_CHARSET= EUCJP SHIFTJIS UTF8 + +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 -# Set charset (euc-jp/shift_jis/utf-8) -.if defined(WITH_CHARSET) -CONFIGURE_ARGS+= --with-charset=${WITH_CHARSET} -.endif +.include -pre-everything:: - @${ECHO_MSG} "" - @${ECHO_MSG} " WITH_CHARSET=charset sets default charset (euc-jp/shift_jis/utf-8)" - @${ECHO_MSG} "" +.if ${PORT_OPTIONS:MEUCJP} +CONFIGURE_ARGS+= --with-charset=euc-jp +.elif ${PORT_OPTIONS:MSHIFTJIS} +CONFIGURE_ARGS+= --with-charset=shift_jis +.elif ${PORT_OPTIONS:MUTF8} +CONFIGURE_ARGS+= --with-charset=utf-8 +.endif .include Modified: head/japanese/mecab-ipadic/pkg-descr ============================================================================== --- head/japanese/mecab-ipadic/pkg-descr Tue Jan 15 21:45:33 2013 (r310465) +++ head/japanese/mecab-ipadic/pkg-descr Tue Jan 15 21:51:01 2013 (r310466) @@ -1,4 +1,18 @@ -Japanese Morphological Dictionary for MeCab. +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. + +* 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 #) -Author: Taku Kudo WWW: http://mecab.sourceforge.net/