From 9fff8e356c62949daa6acaf73f937558c640fc72 Mon Sep 17 00:00:00 2001 From: clsung Date: Mon, 31 Jul 2006 03:23:19 +0000 Subject: Add p5-Text-MeCab 0.12, alternate Interface To libmecab. PR: ports/101039 Submitted by: TAOKA Fumiyoshi --- japanese/Makefile | 1 + japanese/p5-Text-MeCab/Makefile | 32 ++++++++++++++++++++++++++++++++ japanese/p5-Text-MeCab/distinfo | 3 +++ japanese/p5-Text-MeCab/pkg-descr | 10 ++++++++++ japanese/p5-Text-MeCab/pkg-plist | 10 ++++++++++ 5 files changed, 56 insertions(+) create mode 100644 japanese/p5-Text-MeCab/Makefile create mode 100644 japanese/p5-Text-MeCab/distinfo create mode 100644 japanese/p5-Text-MeCab/pkg-descr create mode 100644 japanese/p5-Text-MeCab/pkg-plist (limited to 'japanese') diff --git a/japanese/Makefile b/japanese/Makefile index abdd73c9aaa3..bd415cfd7080 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -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 diff --git a/japanese/p5-Text-MeCab/Makefile b/japanese/p5-Text-MeCab/Makefile new file mode 100644 index 000000000000..87da68aa54c9 --- /dev/null +++ b/japanese/p5-Text-MeCab/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: p5-TexT-MeCab +# Date created: 30 July 2006 +# Whom: TAOKA Fumiyoshi +# +# $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 + +PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- + +.include diff --git a/japanese/p5-Text-MeCab/distinfo b/japanese/p5-Text-MeCab/distinfo new file mode 100644 index 000000000000..a334bef7893d --- /dev/null +++ b/japanese/p5-Text-MeCab/distinfo @@ -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 diff --git a/japanese/p5-Text-MeCab/pkg-descr b/japanese/p5-Text-MeCab/pkg-descr new file mode 100644 index 000000000000..f459a3e7badf --- /dev/null +++ b/japanese/p5-Text-MeCab/pkg-descr @@ -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 +WWW: http://search.cpan.org/dist/Text-MeCab/ diff --git a/japanese/p5-Text-MeCab/pkg-plist b/japanese/p5-Text-MeCab/pkg-plist new file mode 100644 index 000000000000..89922c6d3675 --- /dev/null +++ b/japanese/p5-Text-MeCab/pkg-plist @@ -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 -- cgit