aboutsummaryrefslogtreecommitdiffstats
path: root/korean/ko.TeX-fonts-extra/Makefile
blob: fea8d433dd203b10bd0d50f932e3eb104802af8c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Created by: Hyogeol Lee <hyogeollee@gmail.com>
# $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}

OPTIONS_DEFINE= DOCS

do-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKDIR}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
    (cd ${WRKDIR}/fonts && ${COPYTREE_SHARE} . ${STAGEDIR}${TEXMF_FONTS})
    (cd ${WRKDIR}/tex && ${COPYTREE_SHARE} . ${STAGEDIR}${TEXMF_TEX})

.include <bsd.port.mk>