diff options
author | knu <knu@FreeBSD.org> | 2003-04-23 06:51:56 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-04-23 06:51:56 +0000 |
commit | cb9cffd4fe0b742a5e9d445134197decf77eeb94 (patch) | |
tree | eb8c0511ffd0e0e0cd852d820fa59042b7d76a73 /japanese | |
parent | 40aff5cf5c824007093830d94953b17808440066 (diff) | |
download | FreeBSD-ports-cb9cffd4fe0b742a5e9d445134197decf77eeb94.zip FreeBSD-ports-cb9cffd4fe0b742a5e9d445134197decf77eeb94.tar.gz |
Add mecab, yet another part-of-speech and morphological analyzer.
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/mecab/Makefile | 47 | ||||
-rw-r--r-- | japanese/mecab/distinfo | 2 | ||||
-rw-r--r-- | japanese/mecab/pkg-descr | 4 | ||||
-rw-r--r-- | japanese/mecab/pkg-plist | 35 |
5 files changed, 89 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index 00d5d78..79eecaa 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -196,6 +196,7 @@ SUBDIR += man SUBDIR += man-doc SUBDIR += marumoji-fonts + SUBDIR += mecab SUBDIR += mendexk-euc SUBDIR += mendexk-sjis SUBDIR += mh diff --git a/japanese/mecab/Makefile b/japanese/mecab/Makefile new file mode 100644 index 0000000..d4c7956 --- /dev/null +++ b/japanese/mecab/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: mecab +# Date created: 2 April 2003 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= mecab +PORTVERSION= 0.74 +CATEGORIES= japanese textproc +MASTER_SITES= http://cl.aist-nara.ac.jp/~taku-ku/software/mecab/src/ \ + http://chasen.aist-nara.ac.jp/stable/ipadic/:dic +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + ${IPADIC_DISTNAME}${EXTRACT_SUFX}:dic + +MAINTAINER= knu@FreeBSD.org +COMMENT= Yet Another Part-of-Speech and Morphological Analyzer + +IPADIC_DISTNAME= ipadic-2.5.0 + +USE_PERL= yes + +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes + +MAN1= mecab.1 + +EXAMPLES= example/* +DOCS= AUTHORS README doc/*.html doc/*.css + +post-extract: + ${LN} -s ${WRKDIR}/${IPADIC_DISTNAME} ${WRKSRC}/dic/ + +post-install: + ${RM} -f ${PREFIX}/lib/libmecab.la +.if !defined(NOPORTDOCS) + ${MKDIR} ${EXAMPLESDIR} +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}/ +.endfor + ${MKDIR} ${DOCSDIR} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/japanese/mecab/distinfo b/japanese/mecab/distinfo new file mode 100644 index 0000000..75f9374 --- /dev/null +++ b/japanese/mecab/distinfo @@ -0,0 +1,2 @@ +MD5 (mecab-0.74.tar.gz) = ed918a12d401c69215a33a10bb273f2c +MD5 (ipadic-2.5.0.tar.gz) = 40943ea615d707e699196e7039242a4d diff --git a/japanese/mecab/pkg-descr b/japanese/mecab/pkg-descr new file mode 100644 index 0000000..696ab07 --- /dev/null +++ b/japanese/mecab/pkg-descr @@ -0,0 +1,4 @@ +MeCab: Yet Another Part-of-Speech and Morphological Analyzer + +Author: Taku Kudoh <taku-ku@is.aist-nara.ac.jp> +WWW: http://cl.aist-nara.ac.jp/~taku-ku/software/mecab/ diff --git a/japanese/mecab/pkg-plist b/japanese/mecab/pkg-plist new file mode 100644 index 0000000..3661ca3 --- /dev/null +++ b/japanese/mecab/pkg-plist @@ -0,0 +1,35 @@ +bin/mecab +bin/mecab-config +bin/mkmecabdic +etc/mecabrc +include/mecab.h +lib/libmecab.a +lib/libmecab.so +lib/libmecab.so.0 +lib/mecab/dic/ipadic/connect.csv +lib/mecab/dic/ipadic/da.me +lib/mecab/dic/ipadic/dic.csv +lib/mecab/dic/ipadic/dicrc +lib/mecab/dic/ipadic/feature.me +lib/mecab/dic/ipadic/info.me +lib/mecab/dic/ipadic/matrix.me +lib/mecab/dic/ipadic/token.me +@dirrm lib/mecab/dic/ipadic +@dirrm lib/mecab/dic +@dirrm lib/mecab +%%PORTDOCS%%%%EXAMPLESDIR%%/example-thread.c +%%PORTDOCS%%%%EXAMPLESDIR%%/example-thread2.c +%%PORTDOCS%%%%EXAMPLESDIR%%/example-win32-dll.c +%%PORTDOCS%%%%EXAMPLESDIR%%/example.c +%%PORTDOCS%%%%EXAMPLESDIR%%/example2.cpp +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/bindings.html +%%PORTDOCS%%%%DOCSDIR%%/dic.html +%%PORTDOCS%%%%DOCSDIR%%/format.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/libmecab.html +%%PORTDOCS%%%%DOCSDIR%%/mecab.css +%%PORTDOCS%%%%DOCSDIR%%/mecab.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% |