summaryrefslogtreecommitdiff
path: root/fonts/uni-vga/Makefile
blob: 3f92e244a0f6f6384fd0a7c3655dd6ac0bc296c6 (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
# $NetBSD: Makefile,v 1.4 2012/10/03 18:28:32 asau Exp $
#

DISTNAME=	uni-vga
PKGNAME=	${DISTNAME}-1
CATEGORIES=	fonts x11
MASTER_SITES=	http://www.inp.nsk.su/~bolkhov/files/fonts/univga/
EXTRACT_SUFX=	.tgz

MAINTAINER=	mw+pkgsrc@wzff.de
HOMEPAGE=	http://www.inp.nsk.su/~bolkhov/files/fonts/univga/
COMMENT=	Monospaced Unicode font based on the original IBM VGA font
LICENSE=	mit

USE_TOOLS+=		bdftopcf gzip

FONTDIR=		${PREFIX}/lib/X11/fonts/uni-vga
FONTS_DIRS.x11+=	${FONTDIR}
WRKSRC=			${WRKDIR}/uni_vga

INSTALLATION_DIRS=	${FONTDIR}

do-build:
	${TOOLS_PATH.bdftopcf} -o ${WRKSRC}/u_vga16.pcf ${WRKSRC}/u_vga16.bdf
	${TOOLS_PATH.gzip} -9 ${WRKSRC}/u_vga16.pcf

do-install:
	${INSTALL_DATA} ${WRKSRC}/u_vga16.pcf.gz ${DESTDIR}${FONTDIR}

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