aboutsummaryrefslogtreecommitdiff
path: root/japanese/platex-japanese/Makefile
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/platex-japanese/Makefile
parentf5447d93be8416343a7bdfd7332194300bedd22c (diff)
downloadports-41aa63fa0bee5444822b549f9b5edeaf3923f0a0.tar.gz
ports-41aa63fa0bee5444822b549f9b5edeaf3923f0a0.zip
Notes
Diffstat (limited to 'japanese/platex-japanese/Makefile')
-rw-r--r--japanese/platex-japanese/Makefile6
1 files changed, 2 insertions, 4 deletions
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} && \