aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/font-std
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2009-05-31 17:19:10 +0800
committerhrs <hrs@FreeBSD.org>2009-05-31 17:19:10 +0800
commit2d6c1c335f7da84184c928e71005108a81b7a49c (patch)
tree0b71f26548d713c59e615d22ca5e8eec7b2a1a50 /chinese/font-std
parente108b1d688b6fbd6d4c5dab75af56f0d50d70156 (diff)
downloadfreebsd-ports-gnome-2d6c1c335f7da84184c928e71005108a81b7a49c.tar.gz
freebsd-ports-gnome-2d6c1c335f7da84184c928e71005108a81b7a49c.tar.zst
freebsd-ports-gnome-2d6c1c335f7da84184c928e71005108a81b7a49c.zip
japanese/font-std, chinese/font-std, and dependency fixups due
to it have been added. These are to install standard fonts used in the Ports Collection. Currently they contain: std.ja_JP/Mincho std.ja_JP/Gothic std.ja_JP/Ryumin-Light std.ja_JP/GothicBBB-Medium std.zh_CN/STHeiti-Regular std.zh_CN/STSong-Light std.zh_CN/MSung-Light std.zh_CN/MHei-Medium under ${PREFIX}/share/fonts/. They are just symlinks to corresponding font files. The symlink names are based on popular PostScript font names. Applications should refer the font files via XLFD or fontconfig first. If they need a direct reference to the font file, please use files in std.*/*. This is because direct reference to a specific font name in an application configuration file makes the maintenance difficult when the font file name is changed, for example.
Diffstat (limited to 'chinese/font-std')
-rw-r--r--chinese/font-std/Makefile40
-rw-r--r--chinese/font-std/pkg-descr2
2 files changed, 42 insertions, 0 deletions
diff --git a/chinese/font-std/Makefile b/chinese/font-std/Makefile
new file mode 100644
index 000000000000..8017f3b47b8a
--- /dev/null
+++ b/chinese/font-std/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: font-std
+# Date created: 15 May 2009
+# Whom: hrs
+#
+# $FreeBSD$
+#
+
+PORTNAME= font-std
+PORTVERSION= 0.0.20090515
+CATEGORIES= chinese x11-fonts
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= Chinese Standard Fonts
+
+BUILD_DEPENDS= ${LOCALBASE}/share/fonts/TrueType/bkai00mp.ttf:${PORTSDIR}/chinese/arphicttf \
+ ${LOCALBASE}/share/fonts/TrueType/gbsn00lp.ttf:${PORTSDIR}/chinese/arphicttf \
+ ${LOCALBASE}/share/fonts/TrueType/bsmi00lp.ttf:${PORTSDIR}/chinese/arphicttf \
+ ${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf:${PORTSDIR}/chinese/arphicttf
+
+NO_BUILD= yes
+PLIST_FILES= ${FONTSDIR}/std.zh_CN/STHeiti-Regular \
+ ${FONTSDIR}/std.zh_CN/STSong-Light \
+ ${FONTSDIR}/std.zh_CN/MSung-Light \
+ ${FONTSDIR}/std.zh_CN/MHei-Medium
+PLIST_DIRS= ${FONTSDIR}/std.zh_CN
+FONTSDIR= ${PREFIX}/share/fonts
+
+do-fetch:
+ @${DO_NADA}
+
+do-install:
+ ${MKDIR} ${FONTSDIR}/std.zh_CN
+ ${LN} -s -f ${LOCALBASE}/share/fonts/TrueType/bkai00mp.ttf ${FONTSDIR}/std.zh_CN/STHeiti-Regular
+ ${LN} -s -f ${LOCALBASE}/share/fonts/TrueType/gbsn00lp.ttf ${FONTSDIR}/std.zh_CN/STSong-Light
+ ${LN} -s -f ${LOCALBASE}/share/fonts/TrueType/bsmi00lp.ttf ${FONTSDIR}/std.zh_CN/MSung-Light
+ ${LN} -s -f ${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf ${FONTSDIR}/std.zh_CN/MHei-Medium
+
+.include <bsd.port.mk>
diff --git a/chinese/font-std/pkg-descr b/chinese/font-std/pkg-descr
new file mode 100644
index 000000000000..50ef9d65aa22
--- /dev/null
+++ b/chinese/font-std/pkg-descr
@@ -0,0 +1,2 @@
+This port installs standard fonts for Chinese used in the Ports
+Collection.