Add p5-Text-MeCab 0.12, alternate Interface To libmecab.

PR:		ports/101039
Submitted by:	TAOKA Fumiyoshi <fmysh at iijmio-mail.jp>
This commit is contained in:
Cheng-Lung Sung 2006-07-31 03:23:19 +00:00
parent 41215fdc2f
commit 4dc74a6a23
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169171
5 changed files with 56 additions and 0 deletions

View File

@ -282,6 +282,7 @@
SUBDIR += p5-PDFJ
SUBDIR += p5-Text-ChaSen
SUBDIR += p5-Text-Kakasi
SUBDIR += p5-Text-MeCab
SUBDIR += p5-WWW-2ch
SUBDIR += p5-jcode.pl
SUBDIR += p5-manual

View File

@ -0,0 +1,32 @@
# New ports collection makefile for: p5-TexT-MeCab
# Date created: 30 July 2006
# Whom: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
#
# $FreeBSD$
#
PORTNAME= Text-MeCab
PORTVERSION= 0.12
CATEGORIES= japanese textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
MAINTAINER= fmysh@iijmio-mail.jp
COMMENT= Alternate Interface To libmecab
LIB_DEPENDS= mecab.1:${PORTSDIR}/japanese/mecab
MAN3= Text::MeCab.3 \
Text::MeCab::Node.3
PERL_CONFIGURE= yes
post-patch:
# To prevent from overwriting CCFLAGS value by FreeBSD Ports system
@${REINPLACE_CMD} -e 's|CCFLAGS|DEFINE|g' ${WRKSRC}/Makefile.PL
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (Text-MeCab-0.12.tar.gz) = d7cb03ee5620b2ee74d8c99b28442bd7
SHA256 (Text-MeCab-0.12.tar.gz) = cf1e54461cac81a759f2023492332bdba3463a69883920010f2b7e87f85000da
SIZE (Text-MeCab-0.12.tar.gz) = 48437

View File

@ -0,0 +1,10 @@
libmecab (http://mecab.sourceforge.ne.jp) already has a perl interface
built with it, so why a new module? I just feel that while a subtle
difference, making the perl interface through a tied hash is just...
weird.
So Text::MeCab gives you a more natural, Perl-ish way to access
libmecab!
Author: Daisuke Maki <dmaki@cpan.org>
WWW: http://search.cpan.org/dist/Text-MeCab/

View File

@ -0,0 +1,10 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Text/MeCab.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Text/MeCab.xs
%%SITE_PERL%%/%%PERL_ARCH%%/Text/MeCab/Node.pod
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/MeCab/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/MeCab/MeCab.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/MeCab/MeCab.so
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/MeCab
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Text/MeCab
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Text