mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
721e5776c9
- 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)
78 lines
2.3 KiB
Makefile
78 lines
2.3 KiB
Makefile
PORTNAME= ko.TeX
|
|
PORTVERSION= 0.1.1.20080329
|
|
PORTREVISION= 5
|
|
CATEGORIES= korean print
|
|
MASTER_SITES= http://ftp.ktug.or.kr/KTUG/ko.TeX/current/
|
|
DISTNAME= ko.tex-macro-20080329
|
|
|
|
MAINTAINER= hyogeollee@gmail.com
|
|
COMMENT= Korean TeX macro and utilities
|
|
WWW= http://project.ktug.or.kr/ko.TeX/
|
|
|
|
RUN_DEPENDS= ${BASE_MAP}:korean/ko.TeX-fonts-base
|
|
|
|
USES= shebangfix tex
|
|
SHEBANG_FILES= util/*.pl
|
|
USE_TEX= latex
|
|
CONFLICTS= hlatex
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
TEXMF= ${PREFIX}/share/texmf-local
|
|
BASE_MAP= ${LOCALBASE}/share/texmf-local/fonts/map/dvips/kotex/base/kotex-base.map
|
|
KOTEX_BIBTEX= ${TEXMF}/bibtex/bst/kotex
|
|
KOTEX_DOC= ${TEXMF}/doc/latex/kotex
|
|
KOTEX_LATEX= ${TEXMF}/tex/latex/kotex
|
|
KOTEX_MKIDX= ${TEXMF}/makeindex/kotex
|
|
KOTEX_PLAIN= ${TEXMF}/tex/plain/kotex
|
|
KOTEX_SFD= ${TEXMF}/fonts/sfd
|
|
KOTEX_UTIL= ${TEXMF}/scripts/kotex/perl
|
|
TEXHASH= ${PREFIX}/bin/texhash
|
|
|
|
PLIST_SUB+= TEXHASH=${TEXHASH}
|
|
|
|
DOCS= ChangLog INSTALL LICENSE VERSION manifest.txt news-0.1.0.txt \
|
|
news-0.1.1.txt
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-build:
|
|
@${MKDIR} ${WRKSRC}/build
|
|
@${CC} ${CFLAGS} -o ${WRKSRC}/build/hbibtex \
|
|
${WRKSRC}/util/hbibtex.c
|
|
@${CC} ${CFLAGS} -o ${WRKSRC}/build/hmakeindex \
|
|
${WRKSRC}/util/hmakeindex.c
|
|
|
|
@${RM} -r ${WRKSRC}/latex/euc/unfonts
|
|
@${RM} -r ${WRKSRC}/latex/utf/unfonts
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
@${MKDIR} ${STAGEDIR}${KOTEX_DOC}
|
|
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${KOTEX_DOC})
|
|
|
|
@${MKDIR} ${STAGEDIR}${KOTEX_BIBTEX}
|
|
(cd ${WRKSRC}/bibtex && ${COPYTREE_SHARE} . ${STAGEDIR}${KOTEX_BIBTEX})
|
|
|
|
@${MKDIR} ${STAGEDIR}${KOTEX_LATEX}
|
|
(cd ${WRKSRC}/latex && ${COPYTREE_SHARE} . ${STAGEDIR}${KOTEX_LATEX})
|
|
|
|
@${MKDIR} ${STAGEDIR}${KOTEX_MKIDX}
|
|
(cd ${WRKSRC}/makeindex && ${COPYTREE_SHARE} . ${STAGEDIR}${KOTEX_MKIDX})
|
|
|
|
@${MKDIR} ${STAGEDIR}${KOTEX_PLAIN}
|
|
(cd ${WRKSRC}/plain && ${COPYTREE_SHARE} . ${STAGEDIR}${KOTEX_PLAIN})
|
|
|
|
@${MKDIR} ${STAGEDIR}${KOTEX_SFD}
|
|
(cd ${WRKSRC}/sfd && ${COPYTREE_SHARE} . ${STAGEDIR}${KOTEX_SFD})
|
|
|
|
@${MKDIR} ${STAGEDIR}${KOTEX_UTIL}
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/util/*.pl ${STAGEDIR}${KOTEX_UTIL}
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/build/* ${STAGEDIR}${PREFIX}/bin
|
|
|
|
@${CHMOD} a+x ${WRKSRC}/util/*.pl
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/util/*.pl ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|