diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2014-06-17 14:36:11 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2014-06-17 14:36:11 +0000 |
commit | 24328f6c1f6d741e1852f5366d2f7842cda3b75e (patch) | |
tree | 153ae9b47cf20bfd69426f90bb98dfc60de01d8f /japanese/cmigemo | |
parent | 3143a73f6d60d7cd358a99d8f69f94650097eefa (diff) | |
download | ports-24328f6c1f6d741e1852f5366d2f7842cda3b75e.tar.gz ports-24328f6c1f6d741e1852f5366d2f7842cda3b75e.zip |
Notes
Diffstat (limited to 'japanese/cmigemo')
-rw-r--r-- | japanese/cmigemo/Makefile | 5 | ||||
-rw-r--r-- | japanese/cmigemo/files/patch-compile_config.mk.in | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/japanese/cmigemo/Makefile b/japanese/cmigemo/Makefile index 494ef0533c26..f00a97710d59 100644 --- a/japanese/cmigemo/Makefile +++ b/japanese/cmigemo/Makefile @@ -26,7 +26,7 @@ DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME} PORTDOCS= README_j.txt .endif -USES+= iconv gmake zip +USES+= iconv:build,wchar_t gmake zip HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${STAGEDIR}${PREFIX} @@ -42,4 +42,7 @@ post-extract: ${CHMOD} a+x ${WRKSRC}/configure .endif +post-patch: + ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/compile/config.mk.in + .include <bsd.port.mk> diff --git a/japanese/cmigemo/files/patch-compile_config.mk.in b/japanese/cmigemo/files/patch-compile_config.mk.in index bc103f0c5663..289f58adfb4e 100644 --- a/japanese/cmigemo/files/patch-compile_config.mk.in +++ b/japanese/cmigemo/files/patch-compile_config.mk.in @@ -1,5 +1,5 @@ --- compile/config.mk.in.orig 2011-02-27 19:45:40.000000000 +0900 -+++ compile/config.mk.in 2011-08-17 00:07:28.000000000 +0900 ++++ compile/config.mk.in 2014-06-17 21:59:03.000000000 +0900 @@ -18,8 +18,8 @@ incdir = $(prefix)/include # WARNING: Directories $(dictdir) and $(docdir) will be deleted whole the @@ -11,14 +11,16 @@ ############################################################################## # Commands -@@ -33,8 +33,8 @@ +@@ -33,9 +33,9 @@ PERL = perl BUNZIP2 = bzip2 -d GUNZIP = gzip -d -FILTER_CP932 = ${PROGRAM_ENCODEFILTER} -s -FILTER_EUCJP = ${PROGRAM_ENCODEFILTER} -e -+FILTER_CP932 = iconv -t cp932 -f euc-jp -+FILTER_EUCJP = iconv -t euc-jp -f cp932 - FILTER_UTF8 = iconv -t utf-8 -f cp932 +-FILTER_UTF8 = iconv -t utf-8 -f cp932 ++FILTER_CP932 = %%LOCALBASE%%/bin/iconv -t cp932 -f euc-jp ++FILTER_EUCJP = %%LOCALBASE%%/bin/iconv -t euc-jp -f cp932 ++FILTER_UTF8 = %%LOCALBASE%%/bin/iconv -t utf-8 -f cp932 INSTALL = ${PROGRAM_INSTALL} -c INSTALL_PROGRAM = $(INSTALL) -m 755 + INSTALL_DATA = $(INSTALL) -m 644 |