summaryrefslogtreecommitdiff
path: root/fonts/konatu-ttf/Makefile
blob: dee3cf236cd93c172f4f3e9ce3d6fdab69e65fc4 (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
# $NetBSD: Makefile,v 1.1.1.1 2011/05/08 11:10:14 ryoon Exp $
#

DISTNAME=	Konatu_ver_26
PKGNAME=	${DISTNAME:tl:S/_ver_/-ttf-/}
CATEGORIES=	fonts japanese
MASTER_SITES=	http://www.masuseki.com/be/konatu/
EXTRACT_SUFX=	.zip

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	http://www.masuseki.com/?u=be/konatu.htm
COMMENT=	Japanese TrueType gothic (sans-serif) fonts, Konatu fonts
LICENSE=	cc-by-sa-v3.0

PKG_DESTDIR_SUPPORT=	user-destdir

USE_X11BASE=	YES
NO_CONFIGURE=	YES
NO_BUILD=	YES

DOCSDIR=	${PREFIX}/share/doc/${PKGBASE}

FONTDIR=	${PREFIX}/lib/X11/fonts/TTF
FONTS_DIRS.ttf=	${FONTDIR}

INSTALLATION_DIRS=	lib/X11/fonts/TTF \
			${DOCSDIR}

INSTALL_FONTS=	Konatu.ttf \
		KonatuTohaba.ttf

INSTALL_DOCS=	README.txt \
		README_Japanese.txt

USE_LANGUAGES=	# none

do-install:
.for f in ${INSTALL_FONTS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${FONTDIR}
.endfor
.for f in ${INSTALL_DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCSDIR}
.endfor

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