summaryrefslogtreecommitdiff
path: root/japanese/platex-common
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-11-15 10:27:39 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-11-15 10:27:39 +0000
commit3c52816f1d6f13b34dfe553b33ed0e8dbc9a2a5c (patch)
tree1ad98301d7cdbeb34378dd2034dea0c8c9831fe1 /japanese/platex-common
parentNew version of ptex. Since it's somewhat incompatible with the previous (diff)
platex, a Japanese latex that runs under ptex2.
Submitted by: ohmon@sfc.keio.ac.jp
Notes
Notes: svn path=/head/; revision=2421
Diffstat (limited to 'japanese/platex-common')
-rw-r--r--japanese/platex-common/Makefile113
-rw-r--r--japanese/platex-common/distinfo5
-rw-r--r--japanese/platex-common/pkg-comment1
-rw-r--r--japanese/platex-common/pkg-descr5
-rw-r--r--japanese/platex-common/pkg-plist131
5 files changed, 255 insertions, 0 deletions
diff --git a/japanese/platex-common/Makefile b/japanese/platex-common/Makefile
new file mode 100644
index 000000000000..73adfcbf6427
--- /dev/null
+++ b/japanese/platex-common/Makefile
@@ -0,0 +1,113 @@
+# New ports collection makefile for: pLaTeX
+# Version required: ?
+# Date created: 5 Nov 1995
+# Whom: Hideaki Ohmon <ohmon@sfc.keio.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= platex2e
+PKGNAME= jp-platex2e-95.09
+CATEGORIES+= japanese printing
+MASTER_SITES= ftp://ftp.iij.ad.jp/pub/TeX/ASCII-pTeX/2.1.1/ \
+ ftp://ftp.iij.ad.jp/pub/TeX/CTAN/systems/knuth/lib/ \
+ ftp://ftp.iij.ad.jp/pub/TeX/ASCII-pTeX/2.1.1/corresponding-sources/ \
+ ftp://bash.cc.keio.ac.jp/pub/TeX/ASCII-pTeX-2.1.1/ \
+ ftp://bash.cc.keio.ac.jp/pub/TeX/ASCII-pTeX-2.1.1/corresponding-sources/ \
+ ftp://ftp.riken.go.jp/pub/tex-archive/systems/knuth/lib/ \
+ ftp://ftp.ascii.co.jp/pub/TeX/ASCII-pTeX-2.1.1/ \
+ ftp://ftp.ascii.co.jp/pub/TeX/ASCII-pTeX-2.1.1/corresponding-sources/
+DISTFILES= base-9506.tar.gz hyphen.tex
+EXTRACT_ONLY= base-9506.tar.gz
+
+# base-9506.tar.gz is on */*2.1.1/coresponding-sources/
+# hyphen.tex is on */systems/knuth/lib/
+# pl2e-jis.tar.gz, pl2e-sj.tar.gz and pl2e-euc.tar.gz are on
+# */*2.1.1/coresponding-sources/
+
+MAINTAINER= ohmon@sfc.keio.ac.jp
+
+BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex2
+RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex2
+
+IS_INTERACTIVE= yes
+WRKSRC= ${WRKDIR}/9509b
+
+pre-fetch:
+.if !defined(KANJI-CODE)
+ @echo "You can set KANJI-CODE value to JIS, SJIS or EUC."
+ @echo "Now default value JIS is set."
+KANJI-CODE= JIS
+.endif
+.if ${KANJI-CODE} == JIS
+DISTFILES+= pl2e-jis.tar.gz
+EXTRACT_ONLY+= pl2e-jis.tar.gz
+.endif
+.if ${KANJI-CODE} == SJIS
+DISTFILES+= pl2e-sj.tar.gz
+EXTRACT_ONLY+= pl2e-sj.tar.gz
+.endif
+.if ${KANJI-CODE} == EUC
+DISTFILES+= pl2e-euc.tar.gz
+EXTRACT_ONLY+= pl2e-euc.tar.gz
+.endif
+.if ${KANJI-CODE} != JIS && ${KANJI-CODE} != SJIS && ${KANJI-CODE} != EUC
+ @echo "Error: invalid value for KANJI-CODE: \"${KANJI-CODE}\""
+ @echo "Possible values are: JIS (default), SJIS, EUC."
+ exit 1
+.endif
+
+post-extract:
+ @rm ${WRKDIR}/base/hyphen.tex
+ @cp ${DISTDIR}/hyphen.tex ${WRKDIR}/base/hyphen.tex
+
+do-build:
+ @(cd ${WRKDIR}/base ; yes | initex unpack.ins ; initex latex.ltx)
+ @(cd ${WRKSRC} ; TEXINPUTS=".:${WRKDIR}/base" ; export TEXINPUTS ; \
+ yes | iniptex plcore.ins ; iniptex platex.ltx)
+
+pre-install:
+ @echo "*************************************************************"
+ @echo "* W a r n i n g *"
+ @echo "* This port will overwrite the existing latex installation. *"
+ @echo "*************************************************************"
+ @echo -n "Is this ok? (y/n) ==> "
+ @(read ans; \
+ case x"$$ans" in \
+ xy*|xY*) \
+ return 0; \
+ ;; \
+ *) \
+ echo "Okay, I won't install it then...."; \
+ echo "(Don't worry about the following \"*** Error code 1\"s)"; \
+ return 1; \
+ ;; \
+ esac)
+
+do-install:
+ @rm -rf /usr/local/lib/texmf/tex/latex2e/base/*
+.if !exists(/usr/local/lib/texmf/tex/latex2e)
+ @mkdir /usr/local/lib/texmf/tex/latex2e
+.endif
+.if !exists(/usr/local/lib/texmf/tex/latex2e/base)
+ @mkdir /usr/local/lib/texmf/tex/latex2e/base
+.endif
+ @(cd ${WRKDIR}/base ; cp -f *.cls *.clo *.sty *.fd *.def *.ltx \
+ /usr/local/lib/texmf/tex/latex2e/base ; \
+ mv latex.fmt /usr/local/lib/texmf/ini)
+ @rm -f /usr/local/bin/latex
+ @ln -s /usr/local/bin/virtex /usr/local/bin/latex
+.if !exists(/usr/local/lib/texmf/tex/platex2e)
+ @mkdir /usr/local/lib/texmf/tex/platex2e
+.endif
+.if !exists(/usr/local/lib/texmf/tex/platex2e/base)
+ @mkdir /usr/local/lib/texmf/tex/platex2e/base
+.endif
+ @(cd ${WRKSRC} ; cp -f *.cls *.clo *.sty *.fd *.def *.ltx *.cfg \
+ /usr/local/lib/texmf/tex/platex2e/base ; \
+ cp -f platex.fmt /usr/local/lib/texmf/ini)
+ @rm -f /usr/local/bin/platex
+ @ln -s /usr/local/bin/virptex /usr/local/bin/platex
+
+.include <bsd.port.mk>
+
diff --git a/japanese/platex-common/distinfo b/japanese/platex-common/distinfo
new file mode 100644
index 000000000000..67075e16f67b
--- /dev/null
+++ b/japanese/platex-common/distinfo
@@ -0,0 +1,5 @@
+MD5 (base-9506.tar.gz) = 365eb2d074412f5d2a13e0e85a7586b1
+MD5 (hyphen.tex) = dea0e2aa4f48ec20961e077b98c5f495
+MD5 (pl2e-jis.tar.gz) = 415e20995b861024fb85412b7038fc5c
+MD5 (pl2e-sj.tar.gz) = d88a079741f619b695b4f9f33c721ac9
+MD5 (pl2e-euc.tar.gz) = 456293a790b19b31c6c05be6bb2dfa68
diff --git a/japanese/platex-common/pkg-comment b/japanese/platex-common/pkg-comment
new file mode 100644
index 000000000000..a287b1ba58ae
--- /dev/null
+++ b/japanese/platex-common/pkg-comment
@@ -0,0 +1 @@
+ASCII Japanese LaTeX
diff --git a/japanese/platex-common/pkg-descr b/japanese/platex-common/pkg-descr
new file mode 100644
index 000000000000..956ec471a089
--- /dev/null
+++ b/japanese/platex-common/pkg-descr
@@ -0,0 +1,5 @@
+LaTeX is TeX macro package written by ASCII.
+
+This package is based on LaTeX2e <95/06>.
+
+This package can compile to use JIS, SJIS or Japanes-EUC. \ No newline at end of file
diff --git a/japanese/platex-common/pkg-plist b/japanese/platex-common/pkg-plist
new file mode 100644
index 000000000000..dc1dee132c8e
--- /dev/null
+++ b/japanese/platex-common/pkg-plist
@@ -0,0 +1,131 @@
+lib/texmf/tex/latex2e/base/OMLcmr.fd
+lib/texmf/tex/latex2e/base/OMLcmm.fd
+lib/texmf/tex/latex2e/base/OMLenc.def
+lib/texmf/tex/latex2e/base/OMLlcmm.fd
+lib/texmf/tex/latex2e/base/OMScmr.fd
+lib/texmf/tex/latex2e/base/OMScmsy.fd
+lib/texmf/tex/latex2e/base/OMSenc.def
+lib/texmf/tex/latex2e/base/OMSlcmsy.fd
+lib/texmf/tex/latex2e/base/OMXcmex.fd
+lib/texmf/tex/latex2e/base/OMXlcmex.fd
+lib/texmf/tex/latex2e/base/OT1cmdh.fd
+lib/texmf/tex/latex2e/base/OT1cmfib.fd
+lib/texmf/tex/latex2e/base/OT1cmfr.fd
+lib/texmf/tex/latex2e/base/OT1cmr.fd
+lib/texmf/tex/latex2e/base/OT1cmss.fd
+lib/texmf/tex/latex2e/base/OT1cmtt.fd
+lib/texmf/tex/latex2e/base/OT1enc.def
+lib/texmf/tex/latex2e/base/OT1lcmss.fd
+lib/texmf/tex/latex2e/base/OT1lcmtt.fd
+lib/texmf/tex/latex2e/base/T1cmdh.fd
+lib/texmf/tex/latex2e/base/T1cmfib.fd
+lib/texmf/tex/latex2e/base/T1cmfr.fd
+lib/texmf/tex/latex2e/base/T1cmr.fd
+lib/texmf/tex/latex2e/base/T1cmss.fd
+lib/texmf/tex/latex2e/base/T1cmtt.fd
+lib/texmf/tex/latex2e/base/T1enc.def
+lib/texmf/tex/latex2e/base/Ucmr.fd
+lib/texmf/tex/latex2e/base/Ucmss.fd
+lib/texmf/tex/latex2e/base/Ucmtt.fd
+lib/texmf/tex/latex2e/base/Ulasy.fd
+lib/texmf/tex/latex2e/base/Ullasy.fd
+lib/texmf/tex/latex2e/base/alltt.sty
+lib/texmf/tex/latex2e/base/applemac.def
+lib/texmf/tex/latex2e/base/article.cls
+lib/texmf/tex/latex2e/base/article.sty
+lib/texmf/tex/latex2e/base/ascii.def
+lib/texmf/tex/latex2e/base/bezier.sty
+lib/texmf/tex/latex2e/base/bk10.clo
+lib/texmf/tex/latex2e/base/bk11.clo
+lib/texmf/tex/latex2e/base/bk12.clo
+lib/texmf/tex/latex2e/base/book.cls
+lib/texmf/tex/latex2e/base/book.sty
+lib/texmf/tex/latex2e/base/cp437.def
+lib/texmf/tex/latex2e/base/cp850.def
+lib/texmf/tex/latex2e/base/doc.sty
+lib/texmf/tex/latex2e/base/exscale.sty
+lib/texmf/tex/latex2e/base/flafter.sty
+lib/texmf/tex/latex2e/base/fleqn.clo
+lib/texmf/tex/latex2e/base/fontenc.sty
+lib/texmf/tex/latex2e/base/fontmath.ltx
+lib/texmf/tex/latex2e/base/fonttext.ltx
+lib/texmf/tex/latex2e/base/graphpap.sty
+lib/texmf/tex/latex2e/base/hyphen.ltx
+lib/texmf/tex/latex2e/base/ifthen.sty
+lib/texmf/tex/latex2e/base/inputenc.sty
+lib/texmf/tex/latex2e/base/latex.ltx
+lib/texmf/tex/latex2e/base/latex209.def
+lib/texmf/tex/latex2e/base/latexsym.sty
+lib/texmf/tex/latex2e/base/latin1.def
+lib/texmf/tex/latex2e/base/latin2.def
+lib/texmf/tex/latex2e/base/leqno.clo
+lib/texmf/tex/latex2e/base/letter.cls
+lib/texmf/tex/latex2e/base/letter.sty
+lib/texmf/tex/latex2e/base/ltnews.cls
+lib/texmf/tex/latex2e/base/ltpatch.ltx
+lib/texmf/tex/latex2e/base/ltxdoc.cls
+lib/texmf/tex/latex2e/base/ltxguide.cls
+lib/texmf/tex/latex2e/base/makeidx.sty
+lib/texmf/tex/latex2e/base/newlfont.sty
+lib/texmf/tex/latex2e/base/oldlfont.sty
+lib/texmf/tex/latex2e/base/pict2e.sty
+lib/texmf/tex/latex2e/base/preload.ltx
+lib/texmf/tex/latex2e/base/proc.cls
+lib/texmf/tex/latex2e/base/proc.sty
+lib/texmf/tex/latex2e/base/report.cls
+lib/texmf/tex/latex2e/base/report.sty
+lib/texmf/tex/latex2e/base/sfonts.def
+lib/texmf/tex/latex2e/base/shortvrb.sty
+lib/texmf/tex/latex2e/base/showidx.sty
+lib/texmf/tex/latex2e/base/size10.clo
+lib/texmf/tex/latex2e/base/size11.clo
+lib/texmf/tex/latex2e/base/size12.clo
+lib/texmf/tex/latex2e/base/slides.cls
+lib/texmf/tex/latex2e/base/slides.def
+lib/texmf/tex/latex2e/base/slides.sty
+lib/texmf/tex/latex2e/base/syntonly.sty
+lib/texmf/tex/latex2e/base/t1enc.sty
+lib/texmf/tex/latex2e/base/tracefnt.sty
+lib/texmf/ini/latex.fmt
+bin/latex
+lib/texmf/tex/platex2e/base/JT1gt.fd
+lib/texmf/tex/platex2e/base/JT1mc.fd
+lib/texmf/tex/platex2e/base/JY1gt.fd
+lib/texmf/tex/platex2e/base/JY1mc.fd
+lib/texmf/tex/platex2e/base/ascmac.sty
+lib/texmf/tex/platex2e/base/jarticle.cls
+lib/texmf/tex/platex2e/base/jarticle.sty
+lib/texmf/tex/platex2e/base/jbk10.clo
+lib/texmf/tex/platex2e/base/jbk11.clo
+lib/texmf/tex/platex2e/base/jbk12.clo
+lib/texmf/tex/platex2e/base/jbook.cls
+lib/texmf/tex/platex2e/base/jbook.sty
+lib/texmf/tex/platex2e/base/jltxdoc.cls
+lib/texmf/tex/platex2e/base/jltxguid.cls
+lib/texmf/tex/platex2e/base/jreport.cls
+lib/texmf/tex/platex2e/base/jreport.sty
+lib/texmf/tex/platex2e/base/jsize10.clo
+lib/texmf/tex/platex2e/base/jsize11.clo
+lib/texmf/tex/platex2e/base/jsize12.clo
+lib/texmf/tex/platex2e/base/oldpfont.sty
+lib/texmf/tex/platex2e/base/pl209.def
+lib/texmf/tex/platex2e/base/platex.ltx
+lib/texmf/tex/platex2e/base/plcore.ltx
+lib/texmf/tex/platex2e/base/pldefs.ltx
+lib/texmf/tex/platex2e/base/ptrace.sty
+lib/texmf/tex/platex2e/base/tarticle.cls
+lib/texmf/tex/platex2e/base/tarticle.sty
+lib/texmf/tex/platex2e/base/tascmac.sty
+lib/texmf/tex/platex2e/base/tbk10.clo
+lib/texmf/tex/platex2e/base/tbk11.clo
+lib/texmf/tex/platex2e/base/tbk12.clo
+lib/texmf/tex/platex2e/base/tbook.cls
+lib/texmf/tex/platex2e/base/tbook.sty
+lib/texmf/tex/platex2e/base/texsys.cfg
+lib/texmf/tex/platex2e/base/treport.cls
+lib/texmf/tex/platex2e/base/treport.sty
+lib/texmf/tex/platex2e/base/tsize10.clo
+lib/texmf/tex/platex2e/base/tsize11.clo
+lib/texmf/tex/platex2e/base/tsize12.clo
+lib/texmf/ini/platex.fmt
+bin/platex