summaryrefslogtreecommitdiffstats
path: root/korean/hlatex-psfonts-wansung/Makefile
blob: 055e9c090dc9c8396b2387d37fb12f5c52b3a7c1 (plain)
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
# New ports collection makefile for:    HLaTeX PS fonts-wansungstd
# Version required:             0.98
# Date created:                 Sun Aug  9 18:05:29 KST 1998
# Whom:                         CHOI Junho <cjh@kr.freebsd.org>
#
# $FreeBSD$
#

DISTNAME=               HLaTeXpsfonts-wansung-0.98
PKGNAME=                ko-HLaTeXpsfonts-${HLATEX_ENCODING}std-0.98
CATEGORIES=             korean print
MASTER_SITES=		ftp://ftp.linguistik.uni-erlangen.de/pub/hangul/HLaTeX/packed/unsupported/
DISTFILES=              ${HLATEX_PSFONTS_BASE}

MAINTAINER=             cjh@kr.freebsd.org

# it depends ko-HLaTeX.
RUN_DEPENDS=		${PREFIX}/share/texmf/doc/latex/hlatex/wansung.ks:${PORTSDIR}/korean/hlatex-${HLATEX_ENCODING}std
BUILD_DEPENDS=		${PREFIX}/share/texmf/doc/latex/hlatex/wansung.ks:${PORTSDIR}/korean/hlatex-${HLATEX_ENCODING}std

# just install directly
EXTRACT_ONLY=
NO_BUILD=		yes
USE_BZIP2=		yes
DIST_SUBDIR=            hlatex98        # too many distfiles

TEXMF=			${PREFIX}/share/texmf
# default encoding
HLATEX_ENCODING=        wansung
# default font. includes complete Myoungjo and Gothic fonts.
HLATEX_PSFONTS_BASE     = pkmj.tar.bz2 pkgt.tar.bz2 \
			  pshanja-myoungjo.tar.bz2 pshanja-gothic.tar.bz2 \
			  phsym.tar.bz2 ptaza.tar.bz2

# it is a trick
pre-extract:
	${MKDIR} ${WRKDIR}

# Installation according to readme.ks
do-install:
	cd ${TEXMF}/fonts/; \
	for fonts in ${HLATEX_PSFONTS_BASE}; \
	do \
		${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
			${_DISTDIR}/$$fonts ${EXTRACT_AFTER_ARGS}; \
	done; \
	${PREFIX}/bin/texhash

.include <bsd.port.mk>
OpenPOWER on IntegriCloud