aboutsummaryrefslogtreecommitdiff
path: root/chinese/arphicttf/Makefile
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>1999-10-19 08:07:46 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>1999-10-19 08:07:46 +0000
commit8aab7760b3e579111e7fefa71768afd86a321cbe (patch)
tree3cf8f3cfa56c844e3cb242497a00b36b928c3bdd /chinese/arphicttf/Makefile
parent944bcef8cd24a709e95a179d425c2467499c3158 (diff)
downloadports-8aab7760b3e579111e7fefa71768afd86a321cbe.tar.gz
ports-8aab7760b3e579111e7fefa71768afd86a321cbe.zip
Notes
Diffstat (limited to 'chinese/arphicttf/Makefile')
-rw-r--r--chinese/arphicttf/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/chinese/arphicttf/Makefile b/chinese/arphicttf/Makefile
new file mode 100644
index 000000000000..254db874e580
--- /dev/null
+++ b/chinese/arphicttf/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: Arphic Chinese TrueType fonts
+# Version required: 1.0
+# Date created: 13 Oct 1999
+# Whom: Keith Jang <jtjang@gcn.net.tw>
+#
+# $FreeBSD$
+#
+
+DISTNAME= zh-arphicttf-1.0
+CATEGORIES= chinese x11-fonts
+MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/
+
+MAINTAINER= jtjang@gcn.net.tw
+
+LIB_DEPENDS= font.1:${PORTSDIR}/x11-servers/XttXF86srv-common
+
+USE_X_PREFIX= yes
+
+NO_BUILD= yes
+SHAREMODE= 644
+FONTDIR= ${PREFIX}/lib/X11/fonts/TrueType
+
+.include <bsd.port.pre.mk>
+
+do-install:
+.if !exists(${FONTDIR})
+ @${ECHO} "========================================================="
+ @${ECHO} "Please add ${FONTDIR} to your font path"
+ @${ECHO} "in /etc/XF86Config."
+ @${ECHO} "========================================================="
+ @${MKDIR} ${FONTDIR}
+.endif
+ @${INSTALL_DATA} ${WRKDIR}/bkai00mp.ttf ${FONTDIR}
+ @${INSTALL_DATA} ${WRKDIR}/bsmi00lp.ttf ${FONTDIR}
+ @${INSTALL_DATA} ${WRKDIR}/gbsn00lp.ttf ${FONTDIR}
+ @${INSTALL_DATA} ${WRKDIR}/gkai00mp.ttf ${FONTDIR}
+ @${INSTALL_DATA} ${WRKDIR}/ARPHICPL_Big5.TXT ${FONTDIR}
+ @${INSTALL_DATA} ${WRKDIR}/ARPHICPL_Eng.TXT ${FONTDIR}
+ @${INSTALL_DATA} ${WRKDIR}/ARPHICPL_GB.TXT ${FONTDIR}
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.post.mk>