diff options
author | obrien <obrien@FreeBSD.org> | 1996-11-03 17:40:42 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1996-11-03 17:40:42 +0800 |
commit | f3106d17174d72f883884468959ae001abf8a7ba (patch) | |
tree | 0cae9414f3e36d7cda73e28b90254a5fb7528e16 | |
parent | 2b1ec5bf4bb13b43c3f119b03ed12d5240894629 (diff) | |
download | freebsd-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-install | 9 |
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 |