From 12d0e8b18d1d728aa0c040ead56aa026e1a247aa Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Mon, 18 Apr 2011 10:02:15 +0000 Subject: [PATCH] - Update to 2.8 - Tweak DISTNAME PR: ports/156458 Submitted by: Kuan-Chung Chiu (maintainer) --- x11-fonts/padauk/Makefile | 13 +++++++------ x11-fonts/padauk/distinfo | 4 ++-- x11-fonts/padauk/pkg-plist | 4 +++- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/x11-fonts/padauk/Makefile b/x11-fonts/padauk/Makefile index 7247f7218833..48c9bccd09c1 100644 --- a/x11-fonts/padauk/Makefile +++ b/x11-fonts/padauk/Makefile @@ -6,21 +6,22 @@ # PORTNAME= padauk -PORTVERSION= 2.6.1 +PORTVERSION= 2.8 CATEGORIES= x11-fonts -MASTER_SITES= http://security-hole.info/distfile/ -DISTNAME= ttf-sil-padauk-${PORTVERSION} +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 -NO_WRKSUBDIR= yes -FONTSDIR= lib/X11/fonts/Myanmar/ -PLIST_SUB+= FONTSDIR=${FONTSDIR} +FONTSDIR= lib/X11/fonts/Myanmar +PLIST_SUB= FONTSDIR=${FONTSDIR} do-install: ${MKDIR} ${PREFIX}/${FONTSDIR} diff --git a/x11-fonts/padauk/distinfo b/x11-fonts/padauk/distinfo index 79c99432b5a2..cb27aa2ac89d 100644 --- a/x11-fonts/padauk/distinfo +++ b/x11-fonts/padauk/distinfo @@ -1,2 +1,2 @@ -SHA256 (ttf-sil-padauk-2.6.1.tar.gz) = 81e327305b2c088807f01b8c4c936ba512aa3e0542fd98ac1f1ca1e3bf2bd412 -SIZE (ttf-sil-padauk-2.6.1.tar.gz) = 1839397 +SHA256 (padauk-2.80.zip) = c92049f10a0bfbeeb369ae6e252e6a9d557a6dbb6e8bb51858abd3d41887dc3c +SIZE (padauk-2.80.zip) = 556033 diff --git a/x11-fonts/padauk/pkg-plist b/x11-fonts/padauk/pkg-plist index a3688980aada..a03744b6c316 100644 --- a/x11-fonts/padauk/pkg-plist +++ b/x11-fonts/padauk/pkg-plist @@ -1,4 +1,6 @@ +%%FONTSDIR%%/Padauk-bold.ttf +%%FONTSDIR%%/Padauk-book.ttf +%%FONTSDIR%%/Padauk-bookbold.ttf %%FONTSDIR%%/Padauk.ttf -%%FONTSDIR%%/Padauk-Bold.ttf @exec %D/bin/fc-cache -f -v %%FONTSDIR%% @dirrm %%FONTSDIR%%