aboutsummaryrefslogtreecommitdiff
path: root/chinese/CJK
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1998-10-08 15:37:34 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1998-10-08 15:37:34 +0000
commit489f82430e1622ef117411d1d1e931180ac33981 (patch)
tree8ad7285929b28f591a39421616da142414ae1250 /chinese/CJK
parentafd8ab948b670f51915dc76503dedbb85ea790bd (diff)
downloadports-489f82430e1622ef117411d1d1e931180ac33981.tar.gz
ports-489f82430e1622ef117411d1d1e931180ac33981.zip
Notes
Diffstat (limited to 'chinese/CJK')
-rw-r--r--chinese/CJK/Makefile56
-rw-r--r--chinese/CJK/distinfo5
-rw-r--r--chinese/CJK/files/patch-aa21
-rw-r--r--chinese/CJK/files/patch-ab43
-rw-r--r--chinese/CJK/files/patch-ac12
-rw-r--r--chinese/CJK/pkg-comment1
-rw-r--r--chinese/CJK/pkg-descr9
-rw-r--r--chinese/CJK/pkg-plist229
-rw-r--r--chinese/CJK/scripts/post-install21
9 files changed, 397 insertions, 0 deletions
diff --git a/chinese/CJK/Makefile b/chinese/CJK/Makefile
new file mode 100644
index 000000000000..1386d19c9782
--- /dev/null
+++ b/chinese/CJK/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: zh-CJK
+# Version required: 4.1.3
+# Date created: 17 June 1998
+# Whom: J.T. Jang (keith@email.gcn.net.tw)
+#
+# $Id$
+#
+
+DISTNAME= CJK-4.1.3.src
+PKGNAME= zh-CJK-4.1.3
+CATEGORIES= chinese
+MASTER_SITES= ftp://ftp.edu.tw/Chinese/ifcss/software/tex/ \
+ ftp://ntcuccca.edu.tw/Chinese/ifcss/software/tex/ \
+ ftp://ftp.ifcss.org/pub/software/tex/ \
+ ${MASTER_SITE_TEX_CTAN}
+MASTER_SITE_SUBDIR= language/chinese
+
+MAINTAINER= keith@email.gcn.net.tw
+
+BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
+
+USE_GMAKE= yes
+WRKSRC= ${WRKDIR}/CJK
+
+.if defined $(USE_NTUTTF)
+MASTER_SITES+= ftp://ftp.edu.tw/Chinese/ifcss/software/fonts/big5/ms-win/ \
+ ftp://ntcuccca.edu.tw/Chinese/ifcss/software/fonts/big5/ms-win/ \
+ ftp://ftp.ifcss.org/pub/software/software/fonts/big5/ms-win/
+DISTFILES+= ntu_kai.a01 ntu_kai.a02 ntu_kai.a03 ntu_kai.arj
+BUILD_DEPENDS+= unarj:${PORTSDIR}/archivers/unarj
+EXTRACT_ONLY= CJK-4.1.3.src.tar.gz
+.endif
+
+pre-fetch:
+ @echo
+ @echo You can use \"$(MAKE) USE_NTUTTF=YES\" to install
+ @echo NTU truetype fonts, aka. ntu_kai.ttf as default.
+ @echo
+
+pre-install:
+ @echo
+ @echo You can use \"$(MAKE) test-teTeX-patch\" to test whether
+ @echo this patch actually applies cleanly on your teTeX system.
+ @echo "(It doesn't modify any existing files.)"
+ @echo
+
+post-install:
+ @${SETENV} PREFIX=${PREFIX} ${SH} ${FILESDIR}/install-note
+
+test-teTeX-patch: patch
+ (cd $(WRKSRC); $(GMAKE) test-teTeX-patch)
+
+MAN1= hbf2gf.1 bg5conv.1 ttf2pk.1
+
+.include <bsd.port.mk>
diff --git a/chinese/CJK/distinfo b/chinese/CJK/distinfo
new file mode 100644
index 000000000000..d9a14623130d
--- /dev/null
+++ b/chinese/CJK/distinfo
@@ -0,0 +1,5 @@
+MD5 (CJK-4.1.3.src.tar.gz) = 871a0d607695861a4084a5d8a5cfc6df
+MD5 (ntu_kai.a01) = b0ece97e82328676a4475c8a55594274
+MD5 (ntu_kai.a02) = c9291b4059acc8f7f1576713986b6e93
+MD5 (ntu_kai.a03) = e08f8f0280297076e7a709c9deb4e474
+MD5 (ntu_kai.arj) = 51ca9f0a4e7a650f207cefa029497b13
diff --git a/chinese/CJK/files/patch-aa b/chinese/CJK/files/patch-aa
new file mode 100644
index 000000000000..15c9c627b56b
--- /dev/null
+++ b/chinese/CJK/files/patch-aa
@@ -0,0 +1,21 @@
+--- Makefile.orig Fri Oct 2 17:33:23 1998
++++ Makefile Fri Oct 2 17:33:23 1998
+@@ -0,0 +1,18 @@
++#
++# Makefile for CJK to apply on Unix systems more smoothly.
++#
++# keith@email.gcn.net.tw
++#
++
++all:
++ $(MAKE) -C 4_1.3 $@
++
++install: all
++ $(MAKE) -C 4_1.3 $@
++
++test-teTeX-patch:
++ $(MAKE) -C 4_1.3 test-teTeX-patch
++
++clean:
++ $(MAKE) -C 4_1.3 $@
++
diff --git a/chinese/CJK/files/patch-ab b/chinese/CJK/files/patch-ab
new file mode 100644
index 000000000000..2ce7e350a391
--- /dev/null
+++ b/chinese/CJK/files/patch-ab
@@ -0,0 +1,43 @@
+--- 4_1.3/Makefile.orig Fri Oct 2 17:33:22 1998
++++ 4_1.3/Makefile Fri Oct 2 17:33:22 1998
+@@ -0,0 +1,40 @@
++#
++# Makefile for CJK to apply on Unix systems more smoothly.
++#
++# keith@email.gcn.net.tw
++#
++
++CP = /bin/cp
++CHOWN = /usr/sbin/chown
++
++LATEX_DIR = $(PREFIX)/share/texmf/tex/latex
++CJK_DIR = $(LATEX_DIR)/CJK
++
++all:
++ $(MAKE) -C contrib $@
++ $(MAKE) -C utils $@
++
++install: install-texinput install-teTeX-patch
++ $(MAKE) -C contrib $@
++ $(MAKE) -C doc $@
++ $(MAKE) -C examples $@
++ $(MAKE) -C utils $@
++
++install-texinput:
++ (mkdir -p $(CJK_DIR)); && \
++ ($(CP) -R texinput/* $(CJK_DIR)); && \
++ ($(CHOWN) -R $(SHAREOWN).$(SHAREGRP) $(CJK_DIR));
++
++install-teTeX-patch:
++ $(MAKE) -C doc/teTeX patch
++
++test-teTeX-patch:
++ $(MAKE) -C doc/teTeX test-patch
++
++uninstall-teTeX-patch:
++ $(MAKE) -C doc/teTeX uninstall-patch
++
++clean:
++ $(MAKE) -C contrib $@
++ $(MAKE) -C utils $@
++
diff --git a/chinese/CJK/files/patch-ac b/chinese/CJK/files/patch-ac
new file mode 100644
index 000000000000..6055bfbd5b63
--- /dev/null
+++ b/chinese/CJK/files/patch-ac
@@ -0,0 +1,12 @@
+--- 4_1.3/contrib/Makefile.orig Fri Oct 2 17:33:22 1998
++++ 4_1.3/contrib/Makefile Fri Oct 2 18:25:46 1998
+@@ -0,0 +1,9 @@
++#
++# This directory contains some DOS and NTU fonts specific utils, so
++# I don't plan to compilethem, for now.
++#
++
++all:
++install:
++clean:
++
diff --git a/chinese/CJK/pkg-comment b/chinese/CJK/pkg-comment
new file mode 100644
index 000000000000..e7c415cb3a0b
--- /dev/null
+++ b/chinese/CJK/pkg-comment
@@ -0,0 +1 @@
+A Chinese/Japanese/Korean support package to LaTeX2e/teTeX.
diff --git a/chinese/CJK/pkg-descr b/chinese/CJK/pkg-descr
new file mode 100644
index 000000000000..69a60c37837e
--- /dev/null
+++ b/chinese/CJK/pkg-descr
@@ -0,0 +1,9 @@
+Welcome to the CJK version 4.1.3 (20-Jun-1997), a LaTeX2e macro package
+which enables the use of CJK scripts (Chinese/Japanese/Korean) in various
+encodings.
+
+=====
+This port only adds Chinese support. To support other Asian languages, see
+CJK documents for details.
+
+J.T. Jang <keith@email.gcn.net.tw>
diff --git a/chinese/CJK/pkg-plist b/chinese/CJK/pkg-plist
new file mode 100644
index 000000000000..0d36ef30f8e6
--- /dev/null
+++ b/chinese/CJK/pkg-plist
@@ -0,0 +1,229 @@
+@cwd /usr/local
+@exec echo "Backup %D/bin/MakeXXX and config files to *.orig."
+@exec cp -i %D/bin/MakeTeXPK %D/bin/MakeTeXPK.orig
+@exec cp -i %D/bin/MakeTeXTFM %D/bin/MakeTeXTFM.orig
+@exec cp -i %D/bin/MakeTeXnames %D/bin/MakeTeXnames.orig
+@exec cp -i %D/share/texmf/fontname/special.map %D/share/texmf/fontname/special.map.orig
+@exec cp -i %D/share/texmf/web2c/texmf.cnf %D/share/texmf/web2c/texmf.cnf.orig
+bin/MakeTeXPK
+bin/MakeTeXTFM
+bin/MakeTTFPK
+bin/MakeTeXnames
+bin/bg5conv
+bin/bg5latex
+bin/hbf2gf
+bin/ttf2pk
+share/examples/CJK/00Contents
+share/examples/CJK/Big5.tex
+share/examples/CJK/Big5vert.tex
+share/examples/CJK/CEF_test.tex
+share/examples/CJK/GB.tex
+share/examples/CJK/JIS.tex
+share/examples/CJK/KS.tex
+share/examples/CJK/Makefile
+share/examples/CJK/Makefile.orig
+share/examples/CJK/UTF8.tex
+share/examples/CJK/muletest.tex
+share/examples/CJK/py_test.tex
+share/examples/CJK/rubytest.tex
+share/doc/CJK/chinese/00Contents
+share/doc/CJK/chinese/NTeXb5.doc
+share/texmf/fontname/special.map
+share/texmf/web2c/texmf.cnf
+share/texmf/tex/latex/CJK/thai/c90cmr.fd
+share/texmf/tex/latex/CJK/thai/thai.sty
+share/texmf/tex/latex/CJK/thai/00Contents
+share/texmf/tex/latex/CJK/SJIS/SJIS.bdg
+share/texmf/tex/latex/CJK/SJIS/SJIS.cap
+share/texmf/tex/latex/CJK/SJIS/SJIS.chr
+share/texmf/tex/latex/CJK/SJIS/SJIS.enc
+share/texmf/tex/latex/CJK/SJIS/c49song.fd
+share/texmf/tex/latex/CJK/SJIS/00Contents
+share/texmf/tex/latex/CJK/UTF8/UTF8.bdg
+share/texmf/tex/latex/CJK/UTF8/UTF8.chr
+share/texmf/tex/latex/CJK/UTF8/UTF8.enc
+share/texmf/tex/latex/CJK/UTF8/c70song.fd
+share/texmf/tex/latex/CJK/UTF8/00Contents
+share/texmf/tex/latex/CJK/mule/MULEenc.sty
+share/texmf/tex/latex/CJK/mule/00Contents
+share/texmf/tex/latex/CJK/KS/00Contents
+share/texmf/tex/latex/CJK/KS/HLaTeX.chr
+share/texmf/tex/latex/CJK/KS/KS.chr
+share/texmf/tex/latex/CJK/KS/KS.enc
+share/texmf/tex/latex/CJK/KS/KSHL.enc
+share/texmf/tex/latex/CJK/KS/c60dr.fd
+share/texmf/tex/latex/CJK/KS/c60gr.fd
+share/texmf/tex/latex/CJK/KS/c60gs.fd
+share/texmf/tex/latex/CJK/KS/c60gt.fd
+share/texmf/tex/latex/CJK/KS/c60hgt.fd
+share/texmf/tex/latex/CJK/KS/c60hmj.fd
+share/texmf/tex/latex/CJK/KS/c60hol.fd
+share/texmf/tex/latex/CJK/KS/c60hpg.fd
+share/texmf/tex/latex/CJK/KS/c60mj.fd
+share/texmf/tex/latex/CJK/KS/c61dr.fd
+share/texmf/tex/latex/CJK/KS/c61gr.fd
+share/texmf/tex/latex/CJK/KS/c61gs.fd
+share/texmf/tex/latex/CJK/KS/c61gt.fd
+share/texmf/tex/latex/CJK/KS/c61hgt.fd
+share/texmf/tex/latex/CJK/KS/c61hmj.fd
+share/texmf/tex/latex/CJK/KS/c61hol.fd
+share/texmf/tex/latex/CJK/KS/c61hpg.fd
+share/texmf/tex/latex/CJK/KS/c61mj.fd
+share/texmf/tex/latex/CJK/KS/c62song.fd
+share/texmf/tex/latex/CJK/KS/c63gr.fd
+share/texmf/tex/latex/CJK/KS/c63gs.fd
+share/texmf/tex/latex/CJK/KS/c63gt.fd
+share/texmf/tex/latex/CJK/KS/c63mg.fd
+share/texmf/tex/latex/CJK/KS/c63mj.fd
+share/texmf/tex/latex/CJK/KS/c63ol.fd
+share/texmf/tex/latex/CJK/KS/c63pgr.fd
+share/texmf/tex/latex/CJK/KS/c63pgs.fd
+share/texmf/tex/latex/CJK/KS/c63pgt.fd
+share/texmf/tex/latex/CJK/KS/c63pmg.fd
+share/texmf/tex/latex/CJK/KS/c63pmj.fd
+share/texmf/tex/latex/CJK/KS/c63pol.fd
+share/texmf/tex/latex/CJK/KS/c63pyt.fd
+share/texmf/tex/latex/CJK/KS/c63yt.fd
+share/texmf/tex/latex/CJK/KS/c64gr.fd
+share/texmf/tex/latex/CJK/KS/c64gs.fd
+share/texmf/tex/latex/CJK/KS/c64gt.fd
+share/texmf/tex/latex/CJK/KS/c64mg.fd
+share/texmf/tex/latex/CJK/KS/c64mj.fd
+share/texmf/tex/latex/CJK/KS/c64ol.fd
+share/texmf/tex/latex/CJK/KS/c64pgr.fd
+share/texmf/tex/latex/CJK/KS/c64pgs.fd
+share/texmf/tex/latex/CJK/KS/c64pgt.fd
+share/texmf/tex/latex/CJK/KS/c64pmg.fd
+share/texmf/tex/latex/CJK/KS/c64pmj.fd
+share/texmf/tex/latex/CJK/KS/c64pol.fd
+share/texmf/tex/latex/CJK/KS/c64pyt.fd
+share/texmf/tex/latex/CJK/KS/c64yt.fd
+share/texmf/tex/latex/CJK/KS/c65gr.fd
+share/texmf/tex/latex/CJK/KS/c65gs.fd
+share/texmf/tex/latex/CJK/KS/c65gt.fd
+share/texmf/tex/latex/CJK/KS/c65mg.fd
+share/texmf/tex/latex/CJK/KS/c65mj.fd
+share/texmf/tex/latex/CJK/KS/c65ol.fd
+share/texmf/tex/latex/CJK/KS/c65pgr.fd
+share/texmf/tex/latex/CJK/KS/c65pgs.fd
+share/texmf/tex/latex/CJK/KS/c65pgt.fd
+share/texmf/tex/latex/CJK/KS/c65pmg.fd
+share/texmf/tex/latex/CJK/KS/c65pmj.fd
+share/texmf/tex/latex/CJK/KS/c65pol.fd
+share/texmf/tex/latex/CJK/KS/c65pyt.fd
+share/texmf/tex/latex/CJK/KS/c65yt.fd
+share/texmf/tex/latex/CJK/KS/c66gr.fd
+share/texmf/tex/latex/CJK/KS/c66gs.fd
+share/texmf/tex/latex/CJK/KS/c66gt.fd
+share/texmf/tex/latex/CJK/KS/c66mg.fd
+share/texmf/tex/latex/CJK/KS/c66mj.fd
+share/texmf/tex/latex/CJK/KS/c66ol.fd
+share/texmf/tex/latex/CJK/KS/c66pgr.fd
+share/texmf/tex/latex/CJK/KS/c66pgs.fd
+share/texmf/tex/latex/CJK/KS/c66pgt.fd
+share/texmf/tex/latex/CJK/KS/c66pmg.fd
+share/texmf/tex/latex/CJK/KS/c66pmj.fd
+share/texmf/tex/latex/CJK/KS/c66pol.fd
+share/texmf/tex/latex/CJK/KS/c66pyt.fd
+share/texmf/tex/latex/CJK/KS/c66yt.fd
+share/texmf/tex/latex/CJK/KS/hangul.cap
+share/texmf/tex/latex/CJK/KS/hanja.cap
+share/texmf/tex/latex/CJK/KS/pshan.sty
+share/texmf/tex/latex/CJK/KS/hangul2.cap
+share/texmf/tex/latex/CJK/CEF/00Contents
+share/texmf/tex/latex/CJK/CEF/c32song.fd
+share/texmf/tex/latex/CJK/CEF/c33song.fd
+share/texmf/tex/latex/CJK/CEF/c34song.fd
+share/texmf/tex/latex/CJK/CEF/c35song.fd
+share/texmf/tex/latex/CJK/CEF/c36song.fd
+share/texmf/tex/latex/CJK/CEF/c37song.fd
+share/texmf/tex/latex/CJK/CEF/c80song.fd
+share/texmf/tex/latex/CJK/CEF/c81song.fd
+share/texmf/tex/latex/CJK/CEF/c31song.fd
+share/texmf/tex/latex/CJK/GB/c11song.fd
+share/texmf/tex/latex/CJK/GB/GB.cap
+share/texmf/tex/latex/CJK/GB/c10song.fd
+share/texmf/tex/latex/CJK/GB/c10fs.fd
+share/texmf/tex/latex/CJK/GB/c20song.fd
+share/texmf/tex/latex/CJK/GB/c21song.fd
+share/texmf/tex/latex/CJK/GB/00Contents
+share/texmf/tex/latex/CJK/JIS/00Contents
+share/texmf/tex/latex/CJK/JIS/JISdnp.enc
+share/texmf/tex/latex/CJK/JIS/c40song.fd
+share/texmf/tex/latex/CJK/JIS/c41song.fd
+share/texmf/tex/latex/CJK/JIS/c42song.fd
+share/texmf/tex/latex/CJK/JIS/c43song.fd
+share/texmf/tex/latex/CJK/JIS/c50song.fd
+share/texmf/tex/latex/CJK/JIS/JIS.cap
+share/texmf/tex/latex/CJK/Bg5/c00kair.fd.orig
+share/texmf/tex/latex/CJK/Bg5/Bg5.chr
+share/texmf/tex/latex/CJK/Bg5/Bg5.enc
+share/texmf/tex/latex/CJK/Bg5/c00cns.fd
+share/texmf/tex/latex/CJK/Bg5/c00fs.fd
+share/texmf/tex/latex/CJK/Bg5/c00kai.fd
+share/texmf/tex/latex/CJK/Bg5/c00kair.fd
+share/texmf/tex/latex/CJK/Bg5/c00song.fd
+share/texmf/tex/latex/CJK/Bg5/c01song.fd
+share/texmf/tex/latex/CJK/Bg5/00Contents
+share/texmf/tex/latex/CJK/Bg5/c00kai.fd.orig
+share/texmf/tex/latex/CJK/Bg5/Bg5.cap
+share/texmf/tex/latex/CJK/ruby.sty
+share/texmf/tex/latex/CJK/00Contents
+share/texmf/tex/latex/CJK/standard.chr
+share/texmf/tex/latex/CJK/standard.enc
+share/texmf/tex/latex/CJK/CJKvert.sty
+share/texmf/tex/latex/CJK/CJK.enc
+share/texmf/tex/latex/CJK/CJK.sty
+share/texmf/tex/latex/CJK/pmCsmall.enc
+share/texmf/tex/latex/CJK/pinyin.sty
+share/texmf/tex/latex/CJK/pmC.chr
+share/texmf/tex/latex/CJK/pmCbig.enc
+share/texmf/tex/latex/CJK/standard.bdg
+share/texmf/ttf2pk/ttf2pk.cfg
+share/texmf/hbf2gf/b5ka12.cfg
+share/doc/CJK/chinese/README
+share/doc/CJK/chinese/READMEb5.tex
+share/doc/CJK/chinese/READMEgb.tex
+share/doc/CJK/chinese/emTeXb5.doc
+share/doc/CJK/cjk-enc.doc
+share/doc/CJK/CEF.doc
+share/doc/CJK/CJK.doc
+share/doc/CJK/COPYING
+share/doc/CJK/INSTALL
+share/doc/CJK/TDS.doc
+share/doc/CJK/commands.doc
+share/doc/CJK/compile.doc
+share/doc/CJK/fonts.doc
+share/doc/CJK/hbf2gf.doc
+share/doc/CJK/history.2_5
+share/doc/CJK/history.txt
+share/doc/CJK/pinyin.doc
+share/doc/CJK/ruby.doc
+share/doc/CJK/ttf2pk.doc
+share/doc/CJK/vertical.doc
+share/doc/CJK/00Contents
+share/doc/CJK/Makefile
+share/doc/CJK/Makefile.orig
+@dirrm share/texmf/tex/latex/CJK/thai
+@dirrm share/texmf/tex/latex/CJK/SJIS
+@dirrm share/texmf/tex/latex/CJK/UTF8
+@dirrm share/texmf/tex/latex/CJK/mule
+@dirrm share/texmf/tex/latex/CJK/KS
+@dirrm share/texmf/tex/latex/CJK/CEF
+@dirrm share/texmf/tex/latex/CJK/GB
+@dirrm share/texmf/tex/latex/CJK/JIS
+@dirrm share/texmf/tex/latex/CJK/Bg5
+@dirrm share/texmf/tex/latex/CJK
+@dirrm share/texmf/hbf2gf
+@dirrm share/texmf/ttf2pk
+@dirrm share/examples/CJK
+@dirrm share/doc/CJK/chinese
+@dirrm share/doc/CJK
+@unexec echo "Restore %D/bin/MakeXXX & config files"
+@unexec mv %D/bin/MakeTeXPK.orig %D/bin/MakeTeXPK
+@unexec mv %D/bin/MakeTeXTFM.orig %D/bin/MakeTeXTFM
+@unexec mv %D/bin/MakeTeXnames.orig %D/bin/MakeTeXnames
+@unexec mv %D/share/texmf/fontname/special.map.orig %D/share/texmf/fontname/special.map
+@unexec mv %D/share/texmf/web2c/texmf.cnf.orig %D/share/texmf/web2c/texmf.cnf
+@unexec %D/bin/texconfig rehash
+@unexec %D/bin/texconfig hyphen
diff --git a/chinese/CJK/scripts/post-install b/chinese/CJK/scripts/post-install
new file mode 100644
index 000000000000..bbd2fc7fa498
--- /dev/null
+++ b/chinese/CJK/scripts/post-install
@@ -0,0 +1,21 @@
+#!/bin/sh
+PATH=/bin:/usr/bin
+
+TeX_FONT_PATH=${PREFIX}/share/texmf/fonts
+export TeX_FONT_PATH
+
+#
+# Creating Chinese TTF & HBF font directories
+#
+if [ ! -d ${TeX_FONT_PATH}/truetype/chinese ];
+then mkdir -p ${TeX_FONT_PATH}/truetype/chinese; fi
+if [ ! -d ${TeX_FONT_PATH}/hbf/chinese ];
+then mkdir -p ${TeX_FONT_PATH}/hbf/chinese; fi
+
+#
+# Install ntu_kai.ttf if USE_NTUTTF is defined.
+#
+if [ ${USE_NTUTTF} ]
+then
+ install -o root -g wheel -m 644 ${WRKDIR}/ntu_kai.ttf ${TeX_FONT_PATH}/truetype/chinese
+fi