aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/padauk/Makefile
blob: 48c9bccd09c1e49fc4c65a69eac2e8982b736e3d (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
32
33
34
# New ports collection makefile for:    padauk
# Date created:     July 30 2010
# Whom:         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}

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>