aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-08-03 04:17:17 +0800
committermakc <makc@FreeBSD.org>2010-08-03 04:17:17 +0800
commit917f48b644289e1486ddf9cd4f9f1ba2beef954f (patch)
tree19446c5d68ce231346094eb1dc6931a9ae69df81 /x11-fonts
parent28925764acbb7373147d5f4908183c9c8c560899 (diff)
downloadfreebsd-ports-graphics-917f48b644289e1486ddf9cd4f9f1ba2beef954f.tar.gz
freebsd-ports-graphics-917f48b644289e1486ddf9cd4f9f1ba2beef954f.tar.zst
freebsd-ports-graphics-917f48b644289e1486ddf9cd4f9f1ba2beef954f.zip
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>
Diffstat (limited to 'x11-fonts')
-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 00000000000..7247f721883
--- /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 00000000000..ac976644fbf
--- /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 00000000000..3c09062ae07
--- /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 00000000000..a3688980aad
--- /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%%