aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/arphicttf/Makefile
diff options
context:
space:
mode:
authorfoxfair <foxfair@FreeBSD.org>1999-10-19 16:07:46 +0800
committerfoxfair <foxfair@FreeBSD.org>1999-10-19 16:07:46 +0800
commitab71158e2a1d88cc0fbd8f363e55ac4a60c96520 (patch)
tree943c488690415486b28480fac2b387938ca9af9b /chinese/arphicttf/Makefile
parentfd8313e943e4b0e492591246d01c0a39c878d7a9 (diff)
downloadfreebsd-ports-gnome-ab71158e2a1d88cc0fbd8f363e55ac4a60c96520.tar.gz
freebsd-ports-gnome-ab71158e2a1d88cc0fbd8f363e55ac4a60c96520.tar.zst
freebsd-ports-gnome-ab71158e2a1d88cc0fbd8f363e55ac4a60c96520.zip
PR: 14393
Submitted by: Keith Jang <jtjang@gcn.net.tw> Import new port: Free-distributable Chinese Big5/GB TTFs. This port installs four Chinese Big5/GB TrueType fonts, includes Kaiti/Mingti(Big5) and Kaiti/Sungti(GB). It then can be used along with X Window System or typesetting software like CJK. Thanks to Arphic Technology, you may freely distribute these high-quality fonts under a GPL-based license. See ARPHIC_*.TXT for details.
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>