aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese/unicode-uhoai/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-11-28 08:31:47 +0800
committerobrien <obrien@FreeBSD.org>2001-11-28 08:31:47 +0800
commit8e40699344c75c3fb7d3e67e56902d3734c9d753 (patch)
treee0ee315e41ced0eb2e7b2226b6ccd7ccd58320d4 /vietnamese/unicode-uhoai/Makefile
parent4cc5d76e3000213f13a4a879bc93e7cbdf12c5d5 (diff)
downloadfreebsd-ports-gnome-8e40699344c75c3fb7d3e67e56902d3734c9d753.tar.gz
freebsd-ports-gnome-8e40699344c75c3fb7d3e67e56902d3734c9d753.tar.zst
freebsd-ports-gnome-8e40699344c75c3fb7d3e67e56902d3734c9d753.zip
Unicode TrueType Font with UHoai Vietnamese encoding
Diffstat (limited to 'vietnamese/unicode-uhoai/Makefile')
-rw-r--r--vietnamese/unicode-uhoai/Makefile38
1 files changed, 38 insertions, 0 deletions
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