head	1.7;
access;
symbols
	PRE_XORG_7:1.6
	RELEASE_4_EOL:1.6
	RELEASE_6_2_0:1.6
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.6
	RELEASE_5_4_0:1.5
	RELEASE_4_11_0:1.5
	RELEASE_5_3_0:1.5
	RELEASE_4_10_0:1.5
	RELEASE_5_2_1:1.5
	RELEASE_5_2_0:1.5
	RELEASE_4_9_0:1.5
	RELEASE_5_1_0:1.5
	RELEASE_4_8_0:1.5
	RELEASE_5_0_0:1.4
	RELEASE_4_7_0:1.4
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.4
	RELEASE_4_5_0:1.4
	RELEASE_4_4_0:1.4
	RELEASE_4_3_0:1.4
	RELEASE_4_2_0:1.4
	RELEASE_4_1_1:1.3
	RELEASE_4_1_0:1.3
	RELEASE_3_5_0:1.3
	RELEASE_4_0_0:1.3
	RELEASE_3_4_0:1.2
	RELEASE_3_3_0:1.2
	RELEASE_3_2_0:1.1;
locks; strict;
comment	@# @;


1.7
date	2007.08.19.03.39.30;	author rafan;	state dead;
branches;
next	1.6;

1.6
date	2005.08.01.15.18.40;	author lawrance;	state Exp;
branches;
next	1.5;

1.5
date	2003.02.20.16.26.58;	author ijliao;	state Exp;
branches;
next	1.4;

1.4
date	2000.10.04.14.54.30;	author kevlo;	state Exp;
branches;
next	1.3;

1.3
date	2000.01.24.06.28.34;	author steve;	state Exp;
branches;
next	1.2;

1.2
date	99.09.10.10.10.34;	author foxfair;	state Exp;
branches;
next	1.1;

1.1
date	99.03.08.22.03.33;	author steve;	state Exp;
branches;
next	;


desc
@@


1.7
log
@- Finish move chinese/CJK to print/latex-cjk

PR:		115451
Submitted by:	Koji Yokota <yokota at res.otaru-uc.ac.jp>
@
text
@#!/bin/sh
PATH=/bin:/usr/bin; export PATH

# Check if teTeX is installed.
if [ ! -f ${LOCALBASE}/share/texmf/doc/tetex/teTeX-FAQ ]; then
  echo "-----------------------------------------"
  echo "teTeX is not installed!"
  echo "It's recommended to use CJK upon teTeX!"
  echo "-----------------------------------------"
  exit 1
# Juse grep for 1.0 is not a preferred method, but it seems there is no
# other way identifying whether teTeX 1.0 or above is installed.
#elif [ -z "`head -1 ${PREFIX}/share/texmf/doc/tetex/README |grep 1\.0`" ]; then
#  echo "-------------------------------------------" 
#  echo " You do not have teTeX-1.0 installed!"
#  echo " CJK 4.3.0 needs it to function properly."
#  echo "-------------------------------------------"
#  exit 1
fi
@


1.6
log
@- unbreak
- depend on print/freetype-tools, instead of installing itself
- use %%DOCSDIR%% and %%EXAMPLEDIR%%
- rename files/patch-texinput::Bg5::c00bsmi.fd to make portlint happy
- remove files/UBig5.sfd.diff (included in print/freetype-tools)
- fix installation looping problem (ln -s -> ln -fs)

Submitter takes maintainership!  The crowd goes wild!

PR:		ports/84415
Submitted by:	Rong-En Fan <rafan@@infor.org>
@
text
@@


1.5
log
@make it work with teTeX 2.0.1
@
text
@d5 1
a5 1
if [ ! -f ${PREFIX}/share/texmf/doc/tetex/teTeX-FAQ ]; then
@


1.4
log
@Update to the lastest version.

PR: 21733
Submitted by: MAINTAINER
@
text
@d5 1
a5 1
if [ ! -f ${PREFIX}/share/texmf/doc/tetex/README ]; then
d13 6
a18 6
elif [ -z "`head -1 ${PREFIX}/share/texmf/doc/tetex/README |grep 1\.0`" ]; then
  echo "-------------------------------------------" 
  echo " You do not have teTeX-1.0 installed!"
  echo " CJK 4.3.0 needs it to function properly."
  echo "-------------------------------------------"
  exit 1
@


1.3
log
@Fromm maintainer:

1. Change freetype-1.2 to freetype-1.3 in post-install, so
   it can find freetype sources to build ttf2pk & ttf2tfm.
2. It no longer uses moettf, but Arphic ttf instead, which
   has no character loss and IMHO much more beautiful. :)
3. Generates GB tfms from Arphic fonts.
4. Update maintainer's address.

PR:		16042
Submitted by:	maintainer
@
text
@d12 1
a12 1
# other way solving this.
@


1.2
log
@Update to CJK v4.3.0.

Submitted by:maintainer.
@
text
@d3 9
a11 3
#
# Check to see if we have teTeX-0.9 installed, just grep ttf2pk
# in mktexpk. Not a preferred method, but it seems there is no
d13 6
a18 8
#
if [ -z "`head -1 ${PREFIX}/share/texmf/doc/tetex/README |grep 1\.0`" ]
then
	echo "-------------------------------------------" 
	echo " You do not have teTeX-1.0 installed!"
	echo " CJK 4.3.0 needs that to function properly."
	echo "-------------------------------------------"
	exit 1
@


1.1
log
@Update to version 4.2.0.

PR:		10406
Submitted by:	Keith Jang <keith@@gcn.net.tw>
@
text
@d2 1
a2 5
echo "---------------------------------------------------------"
echo "Define NOTTF if you do not want to install BIG5 MOE TTF,"
echo "and NOCHMOD to disable chmod 1777 pk/tfm fonts directory."
echo "---------------------------------------------------------"

d8 1
a8 1
if [ -z "`grep ttf2pk ${PREFIX}/bin/mktexpk`" ]
d10 5
a14 6
	echo "------------------------------------" 
	echo "You do not have teTeX-0.9 installed!"
	echo "CJK needs that to function correctly."
	echo "Press Ctrl-C to exit."
	echo "------------------------------------"
	read key
@

