aboutsummaryrefslogtreecommitdiff
path: root/vietnamese
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-11-28 00:31:47 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-11-28 00:31:47 +0000
commit99a6bf6458bb79a9e64e905385f52f5db81d0b2c (patch)
treeaca27cc7bf18a2885e7c6212f48a130bd6cc1535 /vietnamese
parent0e678323c7e39cacb8625d2a76b8e9aaba4d2cd7 (diff)
downloadports-99a6bf6458bb79a9e64e905385f52f5db81d0b2c.tar.gz
ports-99a6bf6458bb79a9e64e905385f52f5db81d0b2c.zip
Unicode TrueType Font with UHoai Vietnamese encoding
Notes
Notes: svn path=/head/; revision=50665
Diffstat (limited to 'vietnamese')
-rw-r--r--vietnamese/Makefile1
-rw-r--r--vietnamese/unicode-uhoai/Makefile38
-rw-r--r--vietnamese/unicode-uhoai/distinfo1
-rw-r--r--vietnamese/unicode-uhoai/fonts.dir1
-rw-r--r--vietnamese/unicode-uhoai/pkg-comment1
-rw-r--r--vietnamese/unicode-uhoai/pkg-descr4
-rw-r--r--vietnamese/unicode-uhoai/pkg-install11
-rw-r--r--vietnamese/unicode-uhoai/pkg-plist3
8 files changed, 60 insertions, 0 deletions
diff --git a/vietnamese/Makefile b/vietnamese/Makefile
index 154c9449212b..ca26001e116e 100644
--- a/vietnamese/Makefile
+++ b/vietnamese/Makefile
@@ -2,6 +2,7 @@
#
SUBDIR += libviet
+ SUBDIR += unicode-uhoai
SUBDIR += vis2u
SUBDIR += vn7to8
SUBDIR += vnconvert
diff --git a/vietnamese/unicode-uhoai/Makefile b/vietnamese/unicode-uhoai/Makefile
new file mode 100644
index 000000000000..e99c5fb8f50a
--- /dev/null
+++ b/vietnamese/unicode-uhoai/Makefile
@@ -0,0 +1,38 @@
+# ex:ts=8
+# Ports collection makefile for: unicode-uhoai
+# Date created: Tue Nov 27, 2001
+# Whom: David O'Brien (obrien@NUXI.com)
+#
+# $FreeBSD$
+#
+
+PORTNAME= unicode-uhoai
+PORTVERSION= 2.1
+CATEGORIES= vietnamese x11-fonts
+MASTER_SITES= http://www.geocities.com/~starkville/mozilla/
+DISTNAME= uhoaiw21
+
+MAINTAINER= obrien@FreeBSD.org
+
+USE_ZIP= yes
+NO_WRKSUBDIR= yes
+USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
+BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir
+.if ${XFREE86_VERSION} == 4
+BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
+do-install:
+ @${MKDIR} ${PREFIX}/lib/X11/fonts/TrueType
+ ${INSTALL_DATA} ${WRKSRC}/uhoaiw21.ttf \
+ ${PREFIX}/lib/X11/fonts/TrueType
+ @${SETENV} PKG_PREFIX=${PREFIX} \
+ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.post.mk>
+
+EXTRACT_BEFORE_ARGS+= -L
diff --git a/vietnamese/unicode-uhoai/distinfo b/vietnamese/unicode-uhoai/distinfo
new file mode 100644
index 000000000000..2ce5618e7777
--- /dev/null
+++ b/vietnamese/unicode-uhoai/distinfo
@@ -0,0 +1 @@
+MD5 (uhoaiw21.zip) = da418b3bef11cc49272532701ac24fc7
diff --git a/vietnamese/unicode-uhoai/fonts.dir b/vietnamese/unicode-uhoai/fonts.dir
new file mode 100644
index 000000000000..573541ac9702
--- /dev/null
+++ b/vietnamese/unicode-uhoai/fonts.dir
@@ -0,0 +1 @@
+0
diff --git a/vietnamese/unicode-uhoai/pkg-comment b/vietnamese/unicode-uhoai/pkg-comment
new file mode 100644
index 000000000000..ff41e09c1301
--- /dev/null
+++ b/vietnamese/unicode-uhoai/pkg-comment
@@ -0,0 +1 @@
+Unicode TrueType Font with UHoai Vietnamese encoding
diff --git a/vietnamese/unicode-uhoai/pkg-descr b/vietnamese/unicode-uhoai/pkg-descr
new file mode 100644
index 000000000000..d433ea0e97e9
--- /dev/null
+++ b/vietnamese/unicode-uhoai/pkg-descr
@@ -0,0 +1,4 @@
+Experimental Unicode TrueType Font with UHoai Vietnamese encoding
+for use with Netscape 4.0+.
+
+WWW: http://www.geocities.com/~starkville/mozilla/vn.htm
diff --git a/vietnamese/unicode-uhoai/pkg-install b/vietnamese/unicode-uhoai/pkg-install
new file mode 100644
index 000000000000..3795ab95170e
--- /dev/null
+++ b/vietnamese/unicode-uhoai/pkg-install
@@ -0,0 +1,11 @@
+#!/bin/sh
+# $FreeBSD$
+
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+
+cd ${PKG_PREFIX}/lib/X11/fonts/TrueType
+${PKG_PREFIX}/bin/mkfontdir >/dev/null 2>&1
+${PKG_PREFIX}/bin/ttmkfdir -o fonts.scale
+chmod a+r fonts.scale
diff --git a/vietnamese/unicode-uhoai/pkg-plist b/vietnamese/unicode-uhoai/pkg-plist
new file mode 100644
index 000000000000..dc35bab3b91c
--- /dev/null
+++ b/vietnamese/unicode-uhoai/pkg-plist
@@ -0,0 +1,3 @@
+@comment $FreeBSD$
+lib/X11/fonts/TrueType/uhoaiw21.ttf
+@dirrm lib/X11/fonts/TrueType/vietnamese-unicode