freebsd-ports/x11-fonts/padauk/Makefile

31 lines
797 B
Makefile

# 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>