diff options
author | bsam <bsam@FreeBSD.org> | 2013-09-02 13:41:50 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2013-09-02 13:41:50 +0800 |
commit | 76068bedb30bd66dfe3e9cc6d7d202042d4f871c (patch) | |
tree | 329b9860cec2b8bc443912ad4a52d7732ffc9db3 /japanese/gjiten | |
parent | c2ec996ddec2412e5140b829f58ba8dd3bb0a038 (diff) | |
download | freebsd-ports-gnome-76068bedb30bd66dfe3e9cc6d7d202042d4f871c.tar.gz freebsd-ports-gnome-76068bedb30bd66dfe3e9cc6d7d202042d4f871c.tar.zst freebsd-ports-gnome-76068bedb30bd66dfe3e9cc6d7d202042d4f871c.zip |
1. Introduce using iconv with arguments:
. lib (default, implicit);
. build,
. patch.
The default is the same, all existing ports stay valid.
2. Introduce variable ICONV_CMD with default to ${LOCALBASE}/bin/iconv.
It is intended to get the value of /usr/bin/iconv at recent 10.x.
3. Adopt all ports to using USES+= icomv:build and iconv:patch and
change iconv (executable) at Makefile commands to ${ICONV_CMD} at those ports.
Submitted by: bsam (me, via e-mail)
Approved by: portmgr (bapt)
Diffstat (limited to 'japanese/gjiten')
-rw-r--r-- | japanese/gjiten/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/japanese/gjiten/Makefile b/japanese/gjiten/Makefile index e18e4885896d..3f3b95aa2a2b 100644 --- a/japanese/gjiten/Makefile +++ b/japanese/gjiten/Makefile @@ -46,7 +46,7 @@ RUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict-utf-8 EDICT_DIR= ${LOCALBASE}/share/dict/edict EDICT_FILE= ${EDICT_DIR}/edict RUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict -BUILD_DEPENDS+= ${LOCALBASE}/bin/iconv:${PORTSDIR}/converters/libiconv +USES+= iconv:build .endif DICTIONARIES= kanjidic edict compdic @@ -72,7 +72,7 @@ post-install: .endfor .else .for f in ${DICTIONARIES} - ${LOCALBASE}/bin/iconv -c -f EUC-JP -t UTF-8 ${EDICT_DIR}/${f} > ${GJITEN_DICS}/${f} + ${ICONV_CMD} -c -f EUC-JP -t UTF-8 ${EDICT_DIR}/${f} > ${GJITEN_DICS}/${f} .endfor .endif -@update-desktop-database |