summaryrefslogtreecommitdiff
path: root/fonts/ko-baekmuk/Makefile
blob: ddd4ce6b7ac7376a7431484044c84e1ff70bcd14 (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
# $NetBSD: Makefile,v 1.21 2012/10/03 18:28:26 asau Exp $
#

DISTNAME=	baekmuk-2.1
PKGNAME=	ko-${DISTNAME}
CATEGORIES=	fonts x11 korean
MASTER_SITES+=	ftp://ftp.mizi.com/pub/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=${DESTDIR}${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}

INSTALLATION_DIRS=	${FONTDIR}

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

do-configure:
	cd ${WRKSRC} && ${MAKE} prepare

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