aboutsummaryrefslogtreecommitdiff
path: root/chinese/cxterm
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1996-11-03 09:40:42 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1996-11-03 09:40:42 +0000
commitf4bbcde9f50bf43bcbc807b0f69715fe3080f29a (patch)
tree7e5842308f306f90c3c240e24c8b2fd803f952f3 /chinese/cxterm
parentb4e4890f8911eeb5f2d3535925f6acc6279ffe13 (diff)
downloadports-f4bbcde9f50bf43bcbc807b0f69715fe3080f29a.tar.gz
ports-f4bbcde9f50bf43bcbc807b0f69715fe3080f29a.zip
Don't install the fonts that are part of the X11R6 misc fonts dist.
==> warn installer if they don't have the required fonts installed Requested by: Satoshi
Notes
Notes: svn path=/head/; revision=4277
Diffstat (limited to 'chinese/cxterm')
-rw-r--r--chinese/cxterm/scripts/pre-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/chinese/cxterm/scripts/pre-install b/chinese/cxterm/scripts/pre-install
index 00ffeed0a712..a03377bc3ca5 100644
--- a/chinese/cxterm/scripts/pre-install
+++ b/chinese/cxterm/scripts/pre-install
@@ -19,3 +19,12 @@ echo "CXTERM_AD=${PREFIX}/lib/X11/cxterm.dic/CXterm.ad" >> $CXTERM_SH
echo "XFONTDIR=${PREFIX}/lib/X11/fonts/chinese" >> $CXTERM_SH
echo "" >> $CXTERM_SH
/bin/cat ${WRKSRC}/scripts/CXterm.sh >> $CXTERM_SH
+
+
+# look for Simple fonts from the X11R6 misc fonts collection
+if [ ! -f ${X11BASE}/lib/X11/fonts/misc/gb16st.pcf.Z ]; then
+ echo ""
+ echo "You need to install the X11R6 misc fonts in order to get the"
+ echo "Simple Chinese fonts."
+ echo ""
+fi