aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/padauk/Makefile
blob: 0e6b14d67dd21cc1a24b1dbeac21208ae90b25a3 (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
31
# Created by: Kuan-Chung Chiu <buganini@gmail.com>
# $FreeBSD$

PORTNAME=   padauk
PORTVERSION=    2.8
CATEGORIES= x11-fonts
MASTER_SITES=   http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=Mh_Padauk_zip&filename=/
DISTNAME=   ${PORTNAME}-${PORTVERSION}0

MAINTAINER= buganini@gmail.com
COMMENT=    Unicode font supporting all the Myanmar characters

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

FETCH_BEFORE_ARGS=  -o ${DISTFILES}
NO_BUILD=   yes
USE_ZIP=    yes

FONTSDIR=   lib/X11/fonts/Myanmar
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>