summaryrefslogtreecommitdiff
path: root/x11-fonts/padauk
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-08-02 20:17:17 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-08-02 20:17:17 +0000
commit3403158a772d5dbba98b92960a77aa2eae3ba236 (patch)
tree88f5056365ff59341a51b78490c7f1c22661353a /x11-fonts/padauk
parentAdd new port x11-fonts/pingwi: (diff)
Add new port x11-fonts/padauk
Padauk is a fully capable Unicode 5.1 font supporting all the Myanmar characters in the standard. Thus it provides support for minority languages as well, in both local and Burmese rendering style. WWW: http://scripts.sil.org/Padauk PR: ports/149110 Submitted by: Kuan-Chung Chiu <buganini at gmail.com>
Notes
Notes: svn path=/head/; revision=258656
Diffstat (limited to 'x11-fonts/padauk')
-rw-r--r--x11-fonts/padauk/Makefile33
-rw-r--r--x11-fonts/padauk/distinfo3
-rw-r--r--x11-fonts/padauk/pkg-descr5
-rw-r--r--x11-fonts/padauk/pkg-plist4
4 files changed, 45 insertions, 0 deletions
diff --git a/x11-fonts/padauk/Makefile b/x11-fonts/padauk/Makefile
new file mode 100644
index 000000000000..7247f7218833
--- /dev/null
+++ b/x11-fonts/padauk/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: padauk
+# Date created: July 30 2010
+# Whom: Kuan-Chung Chiu <buganini@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= padauk
+PORTVERSION= 2.6.1
+CATEGORIES= x11-fonts
+MASTER_SITES= http://security-hole.info/distfile/
+DISTNAME= ttf-sil-padauk-${PORTVERSION}
+
+MAINTAINER= buganini@gmail.com
+COMMENT= Unicode font supporting all the Myanmar characters
+
+RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+
+NO_BUILD= yes
+
+NO_WRKSUBDIR= 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>
diff --git a/x11-fonts/padauk/distinfo b/x11-fonts/padauk/distinfo
new file mode 100644
index 000000000000..ac976644fbfe
--- /dev/null
+++ b/x11-fonts/padauk/distinfo
@@ -0,0 +1,3 @@
+MD5 (ttf-sil-padauk-2.6.1.tar.gz) = 106e5ac364dfa2bb5329913bf26b1bd5
+SHA256 (ttf-sil-padauk-2.6.1.tar.gz) = 81e327305b2c088807f01b8c4c936ba512aa3e0542fd98ac1f1ca1e3bf2bd412
+SIZE (ttf-sil-padauk-2.6.1.tar.gz) = 1839397
diff --git a/x11-fonts/padauk/pkg-descr b/x11-fonts/padauk/pkg-descr
new file mode 100644
index 000000000000..3c09062ae07d
--- /dev/null
+++ b/x11-fonts/padauk/pkg-descr
@@ -0,0 +1,5 @@
+Padauk is a fully capable Unicode 5.1 font supporting all the Myanmar
+characters in the standard. Thus it provides support for minority languages
+as well, in both local and Burmese rendering style.
+
+WWW: http://scripts.sil.org/Padauk
diff --git a/x11-fonts/padauk/pkg-plist b/x11-fonts/padauk/pkg-plist
new file mode 100644
index 000000000000..a3688980aada
--- /dev/null
+++ b/x11-fonts/padauk/pkg-plist
@@ -0,0 +1,4 @@
+%%FONTSDIR%%/Padauk.ttf
+%%FONTSDIR%%/Padauk-Bold.ttf
+@exec %D/bin/fc-cache -f -v %%FONTSDIR%%
+@dirrm %%FONTSDIR%%