summaryrefslogtreecommitdiff
path: root/fonts/ko-baekmuk/Makefile
blob: c3ffa7181fba3b8be90aace8a0dd2722fa68ec5d (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
# $NetBSD: Makefile,v 1.15 2006/03/04 21:29:39 jlam Exp $
#

DISTNAME=	baekmuk-2.0
PKGNAME=	ko-baekmuk-20010718
PKGREVISION=	5
CATEGORIES=	fonts x11 korean
MASTER_SITES+=	ftp://ftp.mizi.com/pub/baekmuk/ \
		http://zinc.skku.ac.kr/~wkpark/baekmuk/

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	X11 fonts for KSX 1001 Korean standard (baekmuk foundry)

CONFLICTS+=	ksc5601fonts-[0-9]*

USE_TOOLS+=	bdftopcf gzip

MAKE_ENV+=	FONTDIR=${FONTDIR:Q} GZIP_CMD=${GZIP_CMD:Q}

# fonts
BAEKMUK_BDF=	batang10.bdf batang10b.bdf batang12.bdf batang12b.bdf \
		batang14.bdf batang14b.bdf batang16.bdf batang16b.bdf \
		batang18.bdf batang18b.bdf batang20.bdf batang20b.bdf \
		batang24.bdf batang24b.bdf dotum10.bdf dotum12.bdf dotum14.bdf \
		dotum16.bdf dotum18.bdf dotum20.bdf dotum24.bdf gulim10.bdf \
		gulim10b.bdf gulim12.bdf gulim12b.bdf gulim14.bdf gulim14b.bdf \
		gulim16.bdf gulim16b.bdf gulim18.bdf gulim18b.bdf gulim20.bdf \
		gulim20b.bdf gulim24.bdf gulim24b.bdf hline10.bdf hline12.bdf \
		hline14.bdf hline16.bdf hline18.bdf hline20.bdf hline24.bdf

FONTDIR=		${PREFIX}/lib/X11/fonts/local
FONTS_DIRS.x11+=	${FONTDIR}
REQD_DIRS+=		${FONTDIR}

post-extract:
	${MKDIR} ${WRKSRC}
	${CP} ${.CURDIR}/../../fonts/ko-x11fonts/files/Makefile ${WRKSRC}
	cd ${WRKSRC} && ${MAKE} prepare

pre-install:
	${CP} ${WRKSRC}/../fonts.alias ${FONTDIR}

.include "../../mk/bsd.pkg.mk"