aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1996-11-03 17:40:42 +0800
committerobrien <obrien@FreeBSD.org>1996-11-03 17:40:42 +0800
commitf3106d17174d72f883884468959ae001abf8a7ba (patch)
tree0cae9414f3e36d7cda73e28b90254a5fb7528e16
parent2b1ec5bf4bb13b43c3f119b03ed12d5240894629 (diff)
downloadfreebsd-ports-gnome-f3106d17174d72f883884468959ae001abf8a7ba.tar.gz
freebsd-ports-gnome-f3106d17174d72f883884468959ae001abf8a7ba.tar.zst
freebsd-ports-gnome-f3106d17174d72f883884468959ae001abf8a7ba.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
-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