1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/korean/ko.TeX/Makefile
Adam Weinberger ec95e90e42 Remove NOPORTDOCS and NOPORTEXAMPLES from unstaged ports. Stage a couple while
we're here. Remove any other references to NOPORT*.

Approved by:	portmgr (blanket for modernization)
2014-07-05 00:28:04 +00:00

78 lines
2.2 KiB
Makefile

# Created by: Hyogeol Lee <hyogeollee@gmail.com>
# $FreeBSD$
PORTNAME= ko.TeX
PORTVERSION= 0.1.1.20080329
PORTREVISION= 4
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
RUN_DEPENDS= ${BASE_MAP}:${PORTSDIR}/korean/ko.TeX-fonts-base
USE_TEX= latex
CONFLICTS= hlatex-[0-9]*
NO_WRKSUBDIR= yes
TEXMF= ${PREFIX}/share/texmf-local
BASE_MAP= ${TEXMF}/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} ${WRKDIR}/build
@${CC} ${CFLAGS} -o ${WRKDIR}/build/hbibtex \
${WRKDIR}/util/hbibtex.c
@${CC} ${CFLAGS} -o ${WRKDIR}/build/hmakeindex \
${WRKDIR}/util/hmakeindex.c
@${RM} -rf ${WRKDIR}/latex/euc/unfonts
@${RM} -rf ${WRKDIR}/latex/utf/unfonts
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${KOTEX_DOC}
(cd ${WRKDIR}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${KOTEX_DOC})
@${MKDIR} ${STAGEDIR}${KOTEX_BIBTEX}
(cd ${WRKDIR}/bibtex && ${COPYTREE_SHARE} . ${STAGEDIR}${KOTEX_BIBTEX})
@${MKDIR} ${STAGEDIR}${KOTEX_LATEX}
(cd ${WRKDIR}/latex && ${COPYTREE_SHARE} . ${STAGEDIR}${KOTEX_LATEX})
@${MKDIR} ${STAGEDIR}${KOTEX_MKIDX}
(cd ${WRKDIR}/makeindex && ${COPYTREE_SHARE} . ${STAGEDIR}${KOTEX_MKIDX})
@${MKDIR} ${STAGEDIR}${KOTEX_PLAIN}
(cd ${WRKDIR}/plain && ${COPYTREE_SHARE} . ${STAGEDIR}${KOTEX_PLAIN})
@${MKDIR} ${STAGEDIR}${KOTEX_SFD}
(cd ${WRKDIR}/sfd && ${COPYTREE_SHARE} . ${STAGEDIR}${KOTEX_SFD})
@${MKDIR} ${STAGEDIR}${KOTEX_UTIL}
@${INSTALL_SCRIPT} ${WRKDIR}/util/*.pl ${STAGEDIR}${KOTEX_UTIL}
@${INSTALL_PROGRAM} ${WRKDIR}/build/* ${STAGEDIR}${PREFIX}/bin
@${CHMOD} a+x ${WRKDIR}/util/*.pl
@${INSTALL_SCRIPT} ${WRKDIR}/util/*.pl ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>