aboutsummaryrefslogtreecommitdiffstats
path: root/korean/hlatex-psfonts-wansung/Makefile
blob: 47146f787008d741701d29d954f689c3f8935199 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:    HLaTeX PS fonts(wansung)
# Date created:                 2 Jul 2000
# Whom:                         CHOI Junho <cjh@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   HLaTeX-${FONT_TYPE}fonts-${FONT_ENCODING}
PORTVERSION=    0.98
CATEGORIES= korean print
MASTER_SITES=   ftp://ftp.kr.FreeBSD.org/pub/FreeBSD-kr/distfiles/hlatex/
DISTFILES=  ${HLATEX_FONTS_BASE}
DIST_SUBDIR=    hlatex
EXTRACT_ONLY=

MAINTAINER= cjh@FreeBSD.org
COMMENT=    PS font collection of HLaTeX-wansung

RUN_DEPENDS=    ${LOCALBASE}/share/texmf/doc/latex/hlatex/wansung.ks:${PORTSDIR}/korean/hlatex-wansung

FONT_TYPE=      ps
HLATEX_FONTS_BASE=  pkmj.tar.bz2 pkgt.tar.bz2 \
            pshanja-myoungjo.tar.bz2 pshanja-gothic.tar.bz2 \
            phsym.tar.bz2 ptaza.tar.bz2

NO_WRKSUBDIR=   YES
NO_BUILD=   YES
USE_BZIP2=  YES

TEXMF=      ${PREFIX}/share/texmf
FONT_ENCODING?= wansung
FONT_TYPE?= mf

# default font. includes complete Myoungjo and Gothic fonts.
HLATEX_FONTS_BASE?= common.tar.bz2 \
           wsmj.tar.bz2 wsgt.tar.bz2 \
           hanja-myoungjo.tar.bz2 hanja-gothic.tar.bz2 \
           hsym.tar.bz2 taza.tar.bz2

do-install:
    cd ${TEXMF}/fonts/; \
    for fonts in ${HLATEX_FONTS_BASE}; \
    do \
        ${EXTRACT_CMD} \
            ${EXTRACT_BEFORE_ARGS} \
            ${_DISTDIR}/$$fonts ${EXTRACT_AFTER_ARGS}; \
    done
# rehash ls-R
    ${PREFIX}/bin/texhash

.include <bsd.port.mk>