blob: fcbcdaad6505eabb38ebcaacfac51afacc140ea1 (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# $NetBSD: Makefile,v 1.4 2006/03/13 01:43:36 minskim Exp $
#
DISTNAME= fonts-unttf-20060215
PKGNAME= ${DISTNAME:S/fonts-unttf-/tex-unttf-1.0.1./}
CATEGORIES= fonts
MASTER_SITES= http://ftp.ktug.or.kr/KTUG/hangul-ucs/fonts/
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://faq.ktug.or.kr/faq/DHUcs
COMMENT= TeX fonts based on Un fonts
DEPENDS+= ttf2pk>=1.3.1:../../fonts/ttf2pk
DEPENDS+= un-core-ttf>=1.0:../../fonts/un-core-ttf
DEPENDS+= un-extra-ttf>=1.0.1:../../fonts/un-extra-ttf
WRKSRC= ${WRKDIR}/fonts-unttf
NO_CONFIGURE= yes
TEX_FONTMAPS= unttf-pdftex.map
DVIPDFMX_FONTMAPS= cid-unttf.map
.include "../../print/dvipdfmx/map.mk"
.include "../../print/teTeX/module.mk"
SYSTTFDIR= ${LOCALBASE}/lib/X11/fonts/TTF
TEXTTFDIR= ${PKG_LOCALTEXMFPREFIX}/fonts/truetype/unttf
do-build:
${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
do-install:
cd ${WRKSRC}/fonts; ${PAX} -rw . ${PKG_LOCALTEXMFPREFIX}/fonts/
${INSTALL_DATA_DIR} ${TEXTTFDIR}/unbt
${LN} -sf ${SYSTTFDIR}/UnBatang.ttf ${TEXTTFDIR}/unbt/
${LN} -sf ${SYSTTFDIR}/UnBatangBold.ttf ${TEXTTFDIR}/unbt/
${INSTALL_DATA_DIR} ${TEXTTFDIR}/ungt
${LN} -sf ${SYSTTFDIR}/UnDotum.ttf ${TEXTTFDIR}/ungt/
${LN} -sf ${SYSTTFDIR}/UnDotumBold.ttf ${TEXTTFDIR}/ungt/
${INSTALL_DATA_DIR} ${TEXTTFDIR}/ungr
${LN} -sf ${SYSTTFDIR}/UnGraphic.ttf ${TEXTTFDIR}/ungr/
${LN} -sf ${SYSTTFDIR}/UnGraphixBold.ttf ${TEXTTFDIR}/ungr/
${INSTALL_DATA_DIR} ${TEXTTFDIR}/ungs
${LN} -sf ${SYSTTFDIR}/UnGungseo.ttf ${TEXTTFDIR}/ungs/
${INSTALL_DATA_DIR} ${TEXTTFDIR}/unbm
${LN} -sf ${SYSTTFDIR}/UnBom.ttf ${TEXTTFDIR}/unbm/
${INSTALL_DATA_DIR} ${TEXTTFDIR}/unpn
${LN} -sf ${SYSTTFDIR}/UnPen.ttf ${TEXTTFDIR}/unpn/
${INSTALL_DATA_DIR} ${TEXTTFDIR}/unph
${LN} -sf ${SYSTTFDIR}/UnPenheulim.ttf ${TEXTTFDIR}/unph/
${INSTALL_DATA_DIR} ${TEXTTFDIR}/unpg
${LN} -sf ${SYSTTFDIR}/UnPilgi.ttf ${TEXTTFDIR}/unpg/
${LN} -sf ${SYSTTFDIR}/UnPilgiBold.ttf ${TEXTTFDIR}/unpg/
${INSTALL_DATA_DIR} ${TEXTTFDIR}/unsh
${LN} -sf ${SYSTTFDIR}/UnShinmun.ttf ${TEXTTFDIR}/unsh/
${INSTALL_DATA_DIR} ${TEXTTFDIR}/unyt
${LN} -sf ${SYSTTFDIR}/UnYetgul.ttf ${TEXTTFDIR}/unyt/
${INSTALL_DATA_DIR} ${TEXTTFDIR}/unjbt
${LN} -sf ${SYSTTFDIR}/UnJamoBatang.ttf ${TEXTTFDIR}/unjbt/
${INSTALL_DATA_DIR} ${TEXTTFDIR}/unjgt
${LN} -sf ${SYSTTFDIR}/UnJamoDotum.ttf ${TEXTTFDIR}/unjgt/
${INSTALL_DATA_DIR} ${TEXTTFDIR}/unjnv
${LN} -sf ${SYSTTFDIR}/UnJamoNovel.ttf ${TEXTTFDIR}/unjnv/
${INSTALL_DATA_DIR} ${TEXTTFDIR}/unjsr
${LN} -sf ${SYSTTFDIR}/UnJamoSora.ttf ${TEXTTFDIR}/unjsr/
.include "../../mk/bsd.pkg.mk"
|