diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-09-09 19:50:34 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-09-09 19:50:34 +0800 |
commit | b7592536ddc5667a90935c1894ec3c3640921fb3 (patch) | |
tree | ca04872519c62ec4d2801377976010b6d59bfc61 /japanese | |
parent | 14dc80448935e88926a34126b269e9ce349b2cce (diff) | |
download | freebsd-ports-gnome-b7592536ddc5667a90935c1894ec3c3640921fb3.tar.gz freebsd-ports-gnome-b7592536ddc5667a90935c1894ec3c3640921fb3.tar.zst freebsd-ports-gnome-b7592536ddc5667a90935c1894ec3c3640921fb3.zip |
Add WITH_CHARSET knob to allow user to set default charset.
PR: ports/101252
Submitted by: TAOKA Fumiyoshi
Approved by: TAKATSU Tomonari (maintainer)
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/mecab-ipadic/Makefile | 10 |
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> |