ports/121399: Update port: japanese/p5-Text-MeCab to 0.2004
TAOKA Fumiyoshi
fmysh at iijmio-mail.jp
Wed Mar 5 18:40:06 UTC 2008
>Number: 121399
>Category: ports
>Synopsis: Update port: japanese/p5-Text-MeCab to 0.2004
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 05 18:40:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: TAOKA Fumiyoshi
>Release:
>Organization:
>Environment:
>Description:
Update Text::MeCab to 0.20004.
The default encoding was changed to utf-8.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/p5-Text-MeCab/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile 1 May 2007 10:04:18 -0000 1.6
+++ Makefile 5 Mar 2008 08:36:32 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= Text-MeCab
-PORTVERSION= 0.17
+PORTVERSION= 0.20004
CATEGORIES= japanese textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
@@ -17,25 +17,21 @@
LIB_DEPENDS= mecab.1:${PORTSDIR}/japanese/mecab
MAN3= Text::MeCab.3 \
+ Text::MeCab::Dict.3 \
Text::MeCab::Node.3
PERL_CONFIGURE= yes
CONFIGURE_ARGS= </dev/null
-# dictionary encoding (euc-jp, shift_jis, utf8)
-ENCODING?= euc-jp
+# dictionary encoding (euc-jp, shift_jis, utf-8)
+ENCODING?= utf-8
post-patch:
-# To prevent CCFLAGS value from being overwritten by the ports system
- @${REINPLACE_CMD} -e 's|CCFLAGS|DEFINE|g' ${WRKSRC}/Makefile.PL
-
-.if ${ENCODING} == "shift_jis"
- @${REINPLACE_CMD} -e '/my \$$encoding = /s/euc-jp/shift_jis/' \
- ${WRKSRC}/tools/probe_mecab.pl
-.elif ${ENCODING} == "utf8"
- @${REINPLACE_CMD} -e '/my \$$encoding = /s/euc-jp/utf8/' \
+ @${REINPLACE_CMD} -e "/default_encoding = /s/utf-8/${ENCODING}/" \
${WRKSRC}/tools/probe_mecab.pl
-.endif
+
+ # To prevent CCFLAGS value from being overwritten by the ports system
+ @${REINPLACE_CMD} -e "s|CCFLAGS|INC|g" ${WRKSRC}/Makefile.PL
.include <bsd.port.pre.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/japanese/p5-Text-MeCab/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo 1 May 2007 10:04:18 -0000 1.4
+++ distinfo 5 Mar 2008 07:25:44 -0000
@@ -1,3 +1,3 @@
-MD5 (Text-MeCab-0.17.tar.gz) = b6ce27be20a55124db5822a2088a0e22
-SHA256 (Text-MeCab-0.17.tar.gz) = ebb7457def93b4c81b5e98c9ebf21f8fac42010085f89c3e07b66f1cf6db16b5
-SIZE (Text-MeCab-0.17.tar.gz) = 49484
+MD5 (Text-MeCab-0.20004.tar.gz) = 304468a5a07924e4575d66d3fb7be7b0
+SHA256 (Text-MeCab-0.20004.tar.gz) = 0ed0c9625a833484823f0d3f076f4a3d177a78271c979f9b7abc3a271dbd6fd0
+SIZE (Text-MeCab-0.20004.tar.gz) = 57802
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/japanese/p5-Text-MeCab/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist 31 Jul 2006 03:23:19 -0000 1.1
+++ pkg-plist 5 Mar 2008 08:30:44 -0000
@@ -1,5 +1,6 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Text/MeCab.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Text/MeCab.xs
+%%SITE_PERL%%/%%PERL_ARCH%%/Text/MeCab/Dict.pm
%%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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list