diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2013-09-02 05:41:50 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2013-09-02 05:41:50 +0000 |
commit | 41aa63fa0bee5444822b549f9b5edeaf3923f0a0 (patch) | |
tree | 329b9860cec2b8bc443912ad4a52d7732ffc9db3 /japanese/platex-japanese | |
parent | f5447d93be8416343a7bdfd7332194300bedd22c (diff) | |
download | ports-41aa63fa0bee5444822b549f9b5edeaf3923f0a0.tar.gz ports-41aa63fa0bee5444822b549f9b5edeaf3923f0a0.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)
Notes
Notes:
svn path=/head/; revision=325937
Diffstat (limited to 'japanese/platex-japanese')
-rw-r--r-- | japanese/platex-japanese/Makefile | 6 |
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} && \ |