summaryrefslogtreecommitdiff
path: root/fonts/droid-ttf/Makefile
blob: 0270d9e880b265460f2a63676cab9e84afa845ef (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
# $NetBSD: Makefile,v 1.4 2014/06/01 16:35:33 wiz Exp $
#

DISTNAME=	droid-fonts-20111115
PKGNAME=	${DISTNAME:S/fonts/ttf/}
PKGREVISION=	1
CATEGORIES=	fonts
MASTER_SITES=	${MASTER_SITE_LOCAL}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts
COMMENT=	The Droid fonts family from Ascender Corporation
LICENSE=	apache-2.0

USE_LANGUAGES=	# none
USE_X11BASE=	YES
NO_BUILD=	YES

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

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

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

INSTALL_FONTS=	DroidKufi-Bold.ttf \
		DroidKufi-Regular.ttf \
		DroidNaskh-Bold.ttf \
		DroidNaskh-Regular.ttf \
		DroidSans-Bold.ttf \
		DroidSans.ttf \
		DroidSansArmenian.ttf \
		DroidSansEthiopic-Bold.ttf \
		DroidSansEthiopic-Regular.ttf \
		DroidSansFallback.ttf \
		DroidSansFallbackFull.ttf \
		DroidSansFallbackLegacy.ttf \
		DroidSansGeorgian.ttf \
		DroidSansHebrew-Bold.ttf \
		DroidSansHebrew-Regular.ttf \
		DroidSansJapanese.ttf \
		DroidSansMono.ttf \
		DroidSansThai.ttf \
		DroidSerif-Bold.ttf \
		DroidSerif-BoldItalic.ttf \
		DroidSerif-Italic.ttf \
		DroidSerif-Regular.ttf
INSTALL_DOCS=	NOTICE

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

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