summaryrefslogtreecommitdiff
path: root/fonts/droid-ttf/Makefile
blob: 88bb989f7c7edbe78b734da1e1c08ca8bd3845f0 (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
61
# $NetBSD: Makefile,v 1.2 2011/11/17 19:16:08 ryoon Exp $
#

DISTNAME=	droid-fonts-20111115
PKGNAME=	${DISTNAME:S/fonts/ttf/}
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

PKG_DESTDIR_SUPPORT=	user-destdir

USE_LANGUAGES=	# none
USE_X11BASE=	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=	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"