aboutsummaryrefslogtreecommitdiff
path: root/japanese/mecab-ipadic
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-09-09 11:50:34 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-09-09 11:50:34 +0000
commitdc375268a6530fb5925178dad39f887bf6d04e78 (patch)
treef0c6ce3bf95f313f995aa8ecf6c9c235e91ae110 /japanese/mecab-ipadic
parent13fc517adf6e0d0b9cf63fffd245b5f0cf2cacb4 (diff)
downloadports-dc375268a6530fb5925178dad39f887bf6d04e78.tar.gz
ports-dc375268a6530fb5925178dad39f887bf6d04e78.zip
Notes
Diffstat (limited to 'japanese/mecab-ipadic')
-rw-r--r--japanese/mecab-ipadic/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/japanese/mecab-ipadic/Makefile b/japanese/mecab-ipadic/Makefile
index 0e1d93262498..75043dd962f2 100644
--- a/japanese/mecab-ipadic/Makefile
+++ b/japanese/mecab-ipadic/Makefile
@@ -24,4 +24,14 @@ SUB_DIR= 20904
USE_PERL5_BUILD= yes
GNU_CONFIGURE= yes
+# Set charset (euc-jp/sjis_jis/utf-8)
+.if defined(WITH_CHARSET)
+CONFIGURE_ARGS= --with-charset=${WITH_CHARSET}
+.endif
+
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " WITH_CHARSET=charset sets default charset (euc-jp/sjis_jis/utf-8)"
+ @${ECHO_MSG} ""
+
.include <bsd.port.mk>