summaryrefslogtreecommitdiff
path: root/japanese/p5-Text-MeCab
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-07-31 03:23:19 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-07-31 03:23:19 +0000
commit4dc74a6a23ad94a91dc26a93563ced520a80f422 (patch)
treeca3fb9b383c48f621aba441a8ebb1a631481fbae /japanese/p5-Text-MeCab
parentAdd p5-POE-Component-Client-Telnet 0.06, a POE component that provides (diff)
Add p5-Text-MeCab 0.12, alternate Interface To libmecab.
PR: ports/101039 Submitted by: TAOKA Fumiyoshi <fmysh at iijmio-mail.jp>
Notes
Notes: svn path=/head/; revision=169171
Diffstat (limited to 'japanese/p5-Text-MeCab')
-rw-r--r--japanese/p5-Text-MeCab/Makefile32
-rw-r--r--japanese/p5-Text-MeCab/distinfo3
-rw-r--r--japanese/p5-Text-MeCab/pkg-descr10
-rw-r--r--japanese/p5-Text-MeCab/pkg-plist10
4 files changed, 55 insertions, 0 deletions
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 <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>
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 <dmaki@cpan.org>
+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