aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-09-02 05:41:50 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-09-02 05:41:50 +0000
commit41aa63fa0bee5444822b549f9b5edeaf3923f0a0 (patch)
tree329b9860cec2b8bc443912ad4a52d7732ffc9db3 /japanese
parentf5447d93be8416343a7bdfd7332194300bedd22c (diff)
downloadports-41aa63fa0bee5444822b549f9b5edeaf3923f0a0.tar.gz
ports-41aa63fa0bee5444822b549f9b5edeaf3923f0a0.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/gjiten/Makefile4
-rw-r--r--japanese/platex-japanese/Makefile6
2 files changed, 4 insertions, 6 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
diff --git a/japanese/platex-japanese/Makefile b/japanese/platex-japanese/Makefile
index 4898c7eeb928..2fe06d452f5d 100644
--- a/japanese/platex-japanese/Makefile
+++ b/japanese/platex-japanese/Makefile
@@ -18,10 +18,9 @@ DIST_SUBDIR= latex
MAINTAINER= yokota@res.otaru-uc.ac.jp
COMMENT= pLaTeX package that literally provides Japanese option to babel
-BUILD_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
-
USE_ZIP= yes
USE_TEX= latex ptex
+USES= iconv:build
TEXMFDIR= share/texmf
STYDIR= tex/generic/babel
@@ -33,7 +32,6 @@ SAMPLEFILE= sample.tex
PDFFILE= sample.pdf
TEXTFILE= README
ENCODING?= EUC-JP
-ICONV= ${LOCALBASE}/bin/iconv
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
.SILENT::
@@ -49,7 +47,7 @@ post-configure:
${SED} -e 's/\(sample\.tex\)/j\1/g' ${INSFILE:S/$/.orig/} \
> ${INSFILE} && \
${MV} ${DTXFILE} ${DTXFILE}.orig && \
- ${ICONV} -f ISO-2022-JP -t ${ENCODING} ${DTXFILE}.orig > ${DTXFILE} )
+ ${ICONV_CMD} -f ISO-2022-JP -t ${ENCODING} ${DTXFILE}.orig > ${DTXFILE} )
do-build:
( cd ${WRKSRC} && platex ${INSFILE} && \