summaryrefslogtreecommitdiff
path: root/fonts/lohit-fonts/Makefile
blob: 8890526987fc78519a7619fd5aee98e691d6d750 (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
# $NetBSD: Makefile,v 1.6 2017/11/01 05:19:33 maya Exp $

DISTNAME=		lohit-fonts-2.3.8
CATEGORIES=		fonts
MASTER_SITES=		https://releases.pagure.org/lohit/
MASTER_SITES+=		${MASTER_SITE_GENTOO:=distfiles/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://pagure.io/lohit
COMMENT=		Free fonts for Indian languages
LICENSE=		gnu-gpl-v2

NO_CONFIGURE=		yes
NO_BUILD=		yes

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

INSTALLATION_DIRS=	share/fonts/X11/TTF

do-install:
	${INSTALL_DATA} ${WRKSRC}/bengali/lohit_bn.ttf	${DESTDIR}${FONTDIR}/
	${INSTALL_DATA} ${WRKSRC}/gujarati/lohit_gu.ttf	${DESTDIR}${FONTDIR}/
	${INSTALL_DATA} ${WRKSRC}/hindi/lohit_hi.ttf	${DESTDIR}${FONTDIR}/
	${INSTALL_DATA} ${WRKSRC}/kannada/lohit_kn.ttf	${DESTDIR}${FONTDIR}/
	${INSTALL_DATA} ${WRKSRC}/kashmiri/lohit_ks.ttf	${DESTDIR}${FONTDIR}/
	${INSTALL_DATA} ${WRKSRC}/konkani/lohit_kok.ttf	${DESTDIR}${FONTDIR}/
	${INSTALL_DATA} ${WRKSRC}/maithili/lohit_mai.ttf	${DESTDIR}${FONTDIR}/
	${INSTALL_DATA} ${WRKSRC}/malayalam/lohit_ml.ttf	${DESTDIR}${FONTDIR}/
	${INSTALL_DATA} ${WRKSRC}/marathi/lohit_mr.ttf	${DESTDIR}${FONTDIR}/
	${INSTALL_DATA} ${WRKSRC}/nepali/lohit_ne.ttf	${DESTDIR}${FONTDIR}/
	${INSTALL_DATA} ${WRKSRC}/oriya/lohit_or.ttf	${DESTDIR}${FONTDIR}/
	${INSTALL_DATA} ${WRKSRC}/punjabi/lohit_pa.ttf	${DESTDIR}${FONTDIR}/
	${INSTALL_DATA} ${WRKSRC}/sindhi/lohit_sd.ttf	${DESTDIR}${FONTDIR}/
	${INSTALL_DATA} ${WRKSRC}/tamil/lohit_ta.ttf	${DESTDIR}${FONTDIR}/
	${INSTALL_DATA} ${WRKSRC}/telugu/lohit_te.ttf	${DESTDIR}${FONTDIR}/

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