aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-08-02 20:17:37 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-08-02 20:17:37 +0000
commit56e5e422e8852f4b17e076f9ce91a16495e326fe (patch)
tree55f47350d4750dd0268e4d1dbd62c9bf3898782a /x11-fonts
parent3403158a772d5dbba98b92960a77aa2eae3ba236 (diff)
downloadports-56e5e422e8852f4b17e076f9ce91a16495e326fe.tar.gz
ports-56e5e422e8852f4b17e076f9ce91a16495e326fe.zip
Add new port x11-fonts/khmeros:
A collection of Khmer OS TrueType fonts. The package contains: - KhmerOS - KhmerOS Battambang - KhmerOS Bokor - KhmerOS Content - KhmerOS Fasthand - KhmerOS Freehand - KhmerOS Metalchrieng - KhmerOS Muol - KhmerOS Muollight - KhmerOS Muolpali - KhmerOS Siemreap - KhmerOS Sys WWW: http://sourceforge.net/projects/khmer/ PR: ports/149109 Submitted by: Kuan-Chung Chiu <buganini at gmail.com>
Notes
Notes: svn path=/head/; revision=258657
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/khmeros/Makefile36
-rw-r--r--x11-fonts/khmeros/distinfo3
-rw-r--r--x11-fonts/khmeros/pkg-descr15
-rw-r--r--x11-fonts/khmeros/pkg-plist14
4 files changed, 68 insertions, 0 deletions
diff --git a/x11-fonts/khmeros/Makefile b/x11-fonts/khmeros/Makefile
new file mode 100644
index 000000000000..04bf1adb5ed1
--- /dev/null
+++ b/x11-fonts/khmeros/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: khmer
+# Date created: July 30 2010
+# Whom: Kuan-Chung Chiu <buganini@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= khmeros
+PORTVERSION= 5.0
+CATEGORIES= x11-fonts
+MASTER_SITES= SF/khmer/Fonts%20-%20KhmerOS/KhmerOS%20Fonts%205.0-%20LGPL%20Licence
+DISTNAME= All_KhmerOS_5.0
+
+MAINTAINER= buganini@gmail.com
+COMMENT= Khmer OS fonts
+
+RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+
+USE_ZIP= yes
+NO_BUILD= yes
+
+FONTSDIR= lib/X11/fonts/Khmer/
+PLIST_SUB+= FONTSDIR=${FONTSDIR}
+
+post-patch:
+ ${MV} "${WRKSRC}/KhmerOS .ttf" ${WRKSRC}/KhmerOS.ttf
+
+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/khmeros/distinfo b/x11-fonts/khmeros/distinfo
new file mode 100644
index 000000000000..ef758baf1d9a
--- /dev/null
+++ b/x11-fonts/khmeros/distinfo
@@ -0,0 +1,3 @@
+MD5 (All_KhmerOS_5.0.zip) = dc1ddeb526ccbc06603da880d1e89e7b
+SHA256 (All_KhmerOS_5.0.zip) = 62fec2273016fb6e69b18635e696fd2c91953af9cbe757b341721aec2232432e
+SIZE (All_KhmerOS_5.0.zip) = 944849
diff --git a/x11-fonts/khmeros/pkg-descr b/x11-fonts/khmeros/pkg-descr
new file mode 100644
index 000000000000..8e303b060217
--- /dev/null
+++ b/x11-fonts/khmeros/pkg-descr
@@ -0,0 +1,15 @@
+A collection of Khmer OS TrueType fonts. The package contains:
+- KhmerOS
+- KhmerOS Battambang
+- KhmerOS Bokor
+- KhmerOS Content
+- KhmerOS Fasthand
+- KhmerOS Freehand
+- KhmerOS Metalchrieng
+- KhmerOS Muol
+- KhmerOS Muollight
+- KhmerOS Muolpali
+- KhmerOS Siemreap
+- KhmerOS Sys
+
+WWW: http://sourceforge.net/projects/khmer/
diff --git a/x11-fonts/khmeros/pkg-plist b/x11-fonts/khmeros/pkg-plist
new file mode 100644
index 000000000000..f4189018d151
--- /dev/null
+++ b/x11-fonts/khmeros/pkg-plist
@@ -0,0 +1,14 @@
+%%FONTSDIR%%/KhmerOS.ttf
+%%FONTSDIR%%/KhmerOS_battambang.ttf
+%%FONTSDIR%%/KhmerOS_bokor.ttf
+%%FONTSDIR%%/KhmerOS_content.ttf
+%%FONTSDIR%%/KhmerOS_fasthand.ttf
+%%FONTSDIR%%/KhmerOS_freehand.ttf
+%%FONTSDIR%%/KhmerOS_metalchrieng.ttf
+%%FONTSDIR%%/KhmerOS_muol.ttf
+%%FONTSDIR%%/KhmerOS_muollight.ttf
+%%FONTSDIR%%/KhmerOS_muolpali.ttf
+%%FONTSDIR%%/KhmerOS_siemreap.ttf
+%%FONTSDIR%%/KhmerOS_sys.ttf
+@exec %D/bin/fc-cache -f -v %%FONTSDIR%%
+@dirrm %%FONTSDIR%%