aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/fonts-indic/Makefile
blob: 3bef283a008ce999c2545e62e29e80619d113b1f (plain) (blame)
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
# Created by: Naresh Venkateshappa <nareshov@gmail.com>
# $FreeBSD$

PORTNAME=   fonts-indic
PORTVERSION=    2.1.5
PORTREVISION=   1
CATEGORIES= x11-fonts
MASTER_SITES=   http://gentoo.osuosl.org/distfiles/

MAINTAINER= nareshov@gmail.com
COMMENT=    The Lohit family of Indic fonts

RUN_DEPENDS=    fc-cache:${PORTSDIR}/x11-fonts/fontconfig

NO_BUILD=   yes

NO_WRKSUBDIR=   yes
FONTSDIR=   lib/X11/fonts/${PORTNAME}/
PLIST_SUB+= FONTSDIR=${FONTSDIR}

NO_STAGE=   yes
do-install:
    ${MKDIR} ${PREFIX}/${FONTSDIR}
    ${INSTALL_DATA} ${WRKSRC}/*/*/*.ttf ${PREFIX}/${FONTSDIR}

post-install:
    @${ECHO_MSG} "==> Running fc-cache"
    @${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR}

.include <bsd.port.mk>