freebsd-ports/korean/ko.TeX-fonts-extra/Makefile
Muhammad Moinur Rahman 721e5776c9 Mk/**tex.mk: Convert bsd.tex.mk to USES=tex
- Update all the consumers to use USES=tex
- USE_TEX=yes is the old way of writing USES=tex which has been removed
  and replaced in all ports
- Almost all of the USE_TEX features remains unchanged
- Some consumers had the same variables defined both in the mk
  infrastructure and also in the ports which have been removed from the
  ports as those are redundant.

In case any of the consumers are failing to build please make sure that
the nexessary USES=tex is there. Unlike previous USE_TEX=yes will no
longer load the required VARS for tex and related dependencies.

Reviewed by:	portmgr
Approved by:	portmgr (blanket)
2022-12-19 08:44:58 -06:00

41 lines
1.1 KiB
Makefile

PORTNAME= ko.TeX-fonts-extra
PORTVERSION= 0.1.0
PORTREVISION= 6
CATEGORIES= korean print
MASTER_SITES= http://ftp.ktug.or.kr/KTUG/ko.TeX/extrafonts/
DISTFILES= ko.tex-extra-hlfont.tar.gz \
ko.tex-unfonts-extra.tar.gz
MAINTAINER= hyogeollee@gmail.com
COMMENT= Korean TeX extra fonts
WWW= http://project.ktug.or.kr/ko.TeX/
USES= tex
USE_TEX= dvipsk latex
CONFLICTS= hlatex
NO_BUILD= yes
NO_WRKSUBDIR= yes
TEXMF= ${PREFIX}/share/texmf-local
TEXMF_FONTS= ${TEXMF}/fonts
TEXMF_TEX= ${TEXMF}/tex
OPTIONS_DEFINE= DOCS
PORTDOCS= fonts/*
do-install:
(cd ${WRKSRC}/fonts && ${COPYTREE_SHARE} . ${STAGEDIR}${TEXMF_FONTS})
(cd ${WRKSRC}/tex && ${COPYTREE_SHARE} . ${STAGEDIR}${TEXMF_TEX})
${FIND} -s ${STAGEDIR}${PREFIX}/share/texmf-local -not -type d | ${SORT} | \
${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
${FIND} -s ${STAGEDIR}${PREFIX}/share/texmf-local -type d -empty | ${SORT} -r | \
${SED} -e 's#^${STAGEDIR}${PREFIX}/#@dir #' >> ${TMPPLIST}
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>