summaryrefslogtreecommitdiff
path: root/fonts/koruri-ttf/Makefile
blob: 511c98418b8e6eb89cf2b228d328e8740b7d145c (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
# $NetBSD: Makefile,v 1.12 2016/11/05 12:40:54 nonaka Exp $
#

DISTNAME=	Koruri-${KORURI_VERSION}
PKGNAME=	koruri-ttf-${KORURI_VERSION}
CATEGORIES=	fonts japanese
MASTER_SITES=	${MASTER_SITE_OSDN:=koruri/66647/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	nonakap@gmail.com
HOMEPAGE=	http://koruri.lindwurm.biz/
COMMENT=	Koruri Japanese TrueType fonts
LICENSE=	apache-2.0

KORURI_VERSION=	20161105

NO_CONFIGURE=	YES
NO_BUILD=	YES

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

INSTALLATION_DIRS=	share/fonts/X11/TTF \
			share/doc/${PKGBASE}

INSTALL_FONTS=	Koruri-Bold.ttf \
		Koruri-Extrabold.ttf \
		Koruri-Light.ttf \
		Koruri-Regular.ttf \
		Koruri-Semibold.ttf
INSTALL_DOCS=	LICENSE \
		LICENSE_E.mplus \
		LICENSE_J.mplus \
		LICENSE_opensans \
		README.md \
		README_E.mplus \
		README_J.mplus \
		README_ja.md


USE_LANGUAGES=	# none

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

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