# Created by: Hyogeol Lee # $FreeBSD$ PORTNAME= ko.TeX-fonts-extra PORTVERSION= 0.1.0 PORTREVISION= 4 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 USE_TEX= latex CONFLICTS= hlatex-[0-9]* NO_WRKSUBDIR= yes NO_BUILD= yes TEXMF= ${PREFIX}/share/texmf-local TEXMF_FONTS= ${TEXMF}/fonts TEXMF_TEX= ${TEXMF}/tex MKTEXLSR= ${PREFIX}/bin/mktexlsr UPDMAP_SYS= ${PREFIX}/bin/updmap-sys PLIST_SUB+= MKTEXLSR=${MKTEXLSR} \ UPDMAP_SYS=${UPDMAP_SYS} NO_STAGE= yes do-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} (cd ${WRKDIR}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR}) .endif (cd ${WRKDIR}/fonts/ && ${COPYTREE_SHARE} \* ${TEXMF_FONTS}) (cd ${WRKDIR}/tex/ && ${COPYTREE_SHARE} \* ${TEXMF_TEX}) post-install: ${MKTEXLSR} ${UPDMAP_SYS} --enable Map=kotex-extra-hlfont.map ${UPDMAP_SYS} --enable Map=kotex-extra.map .include