aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-08-18 19:14:53 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-08-18 19:14:53 +0000
commit01ce3d8af279cf1e80c45354452e6ad2bb4aa91b (patch)
treefd4ea08280e982cb1186fc763108594236cd30a4 /x11-fonts
parentaf170502faa40e85b61fe590a952af8ab5a89c9a (diff)
downloadports-01ce3d8af279cf1e80c45354452e6ad2bb4aa91b.tar.gz
ports-01ce3d8af279cf1e80c45354452e6ad2bb4aa91b.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/mondulkiri/Makefile35
-rw-r--r--x11-fonts/mondulkiri/distinfo3
-rw-r--r--x11-fonts/mondulkiri/pkg-descr9
-rw-r--r--x11-fonts/mondulkiri/pkg-plist8
4 files changed, 55 insertions, 0 deletions
diff --git a/x11-fonts/mondulkiri/Makefile b/x11-fonts/mondulkiri/Makefile
new file mode 100644
index 000000000000..81cc771dbf66
--- /dev/null
+++ b/x11-fonts/mondulkiri/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: mondulkiri
+# Date created: August 8 2010
+# Whom: Kuan-Chung Chiu <buganini@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mondulkiri
+PORTVERSION= 2
+CATEGORIES= x11-fonts
+MASTER_SITES= SF/khmer/Fonts%20-%20Mondulkiri/Mondulkiri%20Unicode%20Fonts%20v2E3s/
+DISTNAME= Mondulkiri_Unicode_fonts_V2E3s
+
+MAINTAINER= buganini@gmail.com
+COMMENT= Mondulkiri khmer fonts
+
+RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+
+USE_ZIP= yes
+NO_BUILD= yes
+
+FONTSDIR= lib/X11/fonts/Khmer/
+PLIST_SUB+= FONTSDIR=${FONTSDIR}
+
+WRKSRC= ${WRKDIR}/Opentype\ only\ fonts
+
+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/mondulkiri/distinfo b/x11-fonts/mondulkiri/distinfo
new file mode 100644
index 000000000000..1e6c442815ba
--- /dev/null
+++ b/x11-fonts/mondulkiri/distinfo
@@ -0,0 +1,3 @@
+MD5 (Mondulkiri_Unicode_fonts_V2E3s.zip) = 87ecf3087505d66744fe5d16b2290b0b
+SHA256 (Mondulkiri_Unicode_fonts_V2E3s.zip) = cb722e3cc95329b17325e6d718a5aae48e3c4a422adb4c00d6c5b725f3bf68d7
+SIZE (Mondulkiri_Unicode_fonts_V2E3s.zip) = 1007869
diff --git a/x11-fonts/mondulkiri/pkg-descr b/x11-fonts/mondulkiri/pkg-descr
new file mode 100644
index 000000000000..bddf8f7dbe9d
--- /dev/null
+++ b/x11-fonts/mondulkiri/pkg-descr
@@ -0,0 +1,9 @@
+A collection of Mondulkiri Opentype fonts. The package contains:
+- Mondulkiri Normal text font
+- Mondulkiri Bold form of normal text font
+- Mondulkiri Very bold font for titles etc.
+- Mondulkiri 4 characters have the shapes found in the Chuon Nath dictionary
+- Mondulkiri high line-spacing font
+- Mondulkiri diagnostic font showing spaces and zero-width (non-)joiner
+
+WWW: http://sourceforge.net/projects/khmer/
diff --git a/x11-fonts/mondulkiri/pkg-plist b/x11-fonts/mondulkiri/pkg-plist
new file mode 100644
index 000000000000..a40e2ed3ecce
--- /dev/null
+++ b/x11-fonts/mondulkiri/pkg-plist
@@ -0,0 +1,8 @@
+%%FONTSDIR%%/kMon40hV2E3s.ttf
+%%FONTSDIR%%/kMons40V2E3.ttf
+%%FONTSDIR%%/kMons40dicV2E3s.ttf
+%%FONTSDIR%%/kMons40spcV2E3s.ttf
+%%FONTSDIR%%/kMons60bV2E3s.ttf
+%%FONTSDIR%%/kMons99V1E2s.ttf
+@exec %D/bin/fc-cache -f -v %%FONTSDIR%%
+@dirrm %%FONTSDIR%%