2006-07-31 05:23:19 +02:00
|
|
|
# New ports collection makefile for: p5-TexT-MeCab
|
|
|
|
# Date created: 30 July 2006
|
|
|
|
# Whom: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Text-MeCab
|
2008-03-14 17:34:22 +01:00
|
|
|
PORTVERSION= 0.20007
|
2006-07-31 05:23:19 +02:00
|
|
|
CATEGORIES= japanese textproc perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2006-07-31 05:23:19 +02:00
|
|
|
|
|
|
|
MAINTAINER= fmysh@iijmio-mail.jp
|
|
|
|
COMMENT= Alternate Interface To libmecab
|
|
|
|
|
|
|
|
LIB_DEPENDS= mecab.1:${PORTSDIR}/japanese/mecab
|
|
|
|
|
|
|
|
MAN3= Text::MeCab.3 \
|
2008-03-06 21:24:10 +01:00
|
|
|
Text::MeCab::Dict.3 \
|
2006-07-31 05:23:19 +02:00
|
|
|
Text::MeCab::Node.3
|
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
2006-08-09 10:33:30 +02:00
|
|
|
CONFIGURE_ARGS= </dev/null
|
2006-07-31 05:23:19 +02:00
|
|
|
|
2008-03-06 21:24:10 +01:00
|
|
|
# dictionary encoding (euc-jp, shift_jis, utf-8)
|
|
|
|
ENCODING?= utf-8
|
2007-04-24 09:32:23 +02:00
|
|
|
|
2006-07-31 05:23:19 +02:00
|
|
|
post-patch:
|
2008-03-06 21:24:10 +01:00
|
|
|
@${REINPLACE_CMD} -e "/default_encoding = /s/utf-8/${ENCODING}/" \
|
2007-04-24 09:32:23 +02:00
|
|
|
${WRKSRC}/tools/probe_mecab.pl
|
2008-03-06 21:24:10 +01:00
|
|
|
|
2006-07-31 05:23:19 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|