head	1.3;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2
	RELEASE_4_4_0:1.2
	RELEASE_4_3_0:1.2
	RELEASE_4_2_0:1.2
	RELEASE_4_1_1:1.2
	RELEASE_4_1_0:1.2
	RELEASE_3_5_0:1.2
	RELEASE_4_0_0:1.2
	RELEASE_3_4_0:1.2
	RELEASE_3_3_0:1.2
	RELEASE_3_2_0:1.2
	RELEASE_3_1_0:1.2
	RELEASE_2_2_8:1.2
	RELEASE_3_0_0:1.2
	RELEASE_2_2_7:1.2
	RELEASE_2_2_6:1.2
	RELEASE_2_2_5:1.2
	RELEASE_2_2_1:1.2
	RELEASE_2_2_2:1.2
	cxterm_5_0_3:1.1.1.1
	OBRIEN:1.1.1;
locks; strict;
comment	@# @;


1.3
date	2008.04.19.17.46.59;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	96.11.03.09.40.42;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	96.09.17.22.51.49;	author chuckr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.09.17.22.51.49;	author chuckr;	state Exp;
branches;
next	;


desc
@@


1.3
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@#!/bin/sh -x

# set up the resource file
RESFILE=${PREFIX}/lib/X11/cxterm.dic
sed -e 's|^\(cxterm[*.].*hanziInputDir:\).*$|\1	'"${RESFILE}"'/gb|;
	    s|^\(cxtermb5[*.].*hanziInputDir:\).*$|\1	'"${RESFILE}"'/big5|
	    s|^\(cxtermjis[*.].*hanziInputDir:\).*$|\1	'"${RESFILE}"'/jis|
	    s|^\(cxtermks[*.].*hanziInputDir:\).*$|\1	'"${RESFILE}"'/ks|' \
		${WRKSRC}/cxterm/CXterm.ad > ${WRKDIR}/CXterm.ad


# setup helper script
echo "creating CXterm script for inexperienced users"
CXTERM_SH=${WRKDIR}/CXterm.sh

echo "#!/bin/sh"                                            > $CXTERM_SH
echo ""                                                    >> $CXTERM_SH
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 ${LOCALBASE}/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
@


1.2
log
@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
@
text
@d25 1
a25 1
if [ ! -f ${X11BASE}/lib/X11/fonts/misc/gb16st.pcf.Z ]; then
@


1.1
log
@Initial revision
@
text
@d22 9
@


1.1.1.1
log
@New chinese language port, cxterm, tested and ready!
Submitted by:	David O'Brien
@
text
@@
