aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese/ptex/Makefile1
-rw-r--r--print/teTeX-base/Makefile2
-rw-r--r--print/teTeX-texmf/Makefile5
-rw-r--r--print/teTeX-texmf/files/extra-patch-latex.ltx37
4 files changed, 43 insertions, 2 deletions
diff --git a/japanese/ptex/Makefile b/japanese/ptex/Makefile
index bed5db6bf4f5..48303388d5bb 100644
--- a/japanese/ptex/Makefile
+++ b/japanese/ptex/Makefile
@@ -6,6 +6,7 @@
PORTNAME= ptex
PORTVERSION= 3.1.10
+PORTREVISION= 1
CATEGORIES= japanese print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/tetex/:1 \
diff --git a/print/teTeX-base/Makefile b/print/teTeX-base/Makefile
index b8847049bd3e..591081e10c12 100644
--- a/print/teTeX-base/Makefile
+++ b/print/teTeX-base/Makefile
@@ -7,7 +7,7 @@
PORTNAME= teTeX-base
PORTVERSION= 3.0
-PORTREVISION= 14
+PORTREVISION= 15
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/dvips/:1
diff --git a/print/teTeX-texmf/Makefile b/print/teTeX-texmf/Makefile
index b061e63c3e5f..d9cddff6f7f3 100644
--- a/print/teTeX-texmf/Makefile
+++ b/print/teTeX-texmf/Makefile
@@ -6,7 +6,7 @@
PORTNAME= teTeX-texmf
PORTVERSION= 3.0
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/dvips/:1
@@ -63,6 +63,9 @@ do-install:
cd ${PREFIX}/${TEXMFDISTDIR} && \
${TAR} -x -z -U -f ${DISTDIR}/${DIST_SUBDIR}/${TETEX_TEXMF_SRC} \
${EXCLUDE_LIST:S,^,--exclude ,g}
+ cd ${PREFIX}/${TEXMFDISTDIR} && \
+ ${PATCH} < ${FILESDIR}/extra-patch-latex.ltx && \
+ ${RM} -f tex/latex/base/latex.ltx.orig
${INSTALL_DATA} ${FILESDIR}/cslatex.ini ${PREFIX}/${TEXMFDISTDIR}/tex/cslatex/cslatex.ini
${INSTALL_DATA} ${FILESDIR}/csplain.ini ${PREFIX}/${TEXMFDISTDIR}/tex/csplain/csplain.ini
${INSTALL_DATA} ${FILESDIR}/t1code.tex ${PREFIX}/${TEXMFDISTDIR}/tex/csplain/t1code.tex
diff --git a/print/teTeX-texmf/files/extra-patch-latex.ltx b/print/teTeX-texmf/files/extra-patch-latex.ltx
new file mode 100644
index 000000000000..9a4fb9f91d32
--- /dev/null
+++ b/print/teTeX-texmf/files/extra-patch-latex.ltx
@@ -0,0 +1,37 @@
+--- tex/latex/base/latex.ltx.orig 2009-06-03 16:44:07.000000000 +0900
++++ tex/latex/base/latex.ltx 2009-06-03 16:48:28.000000000 +0900
+@@ -525,20 +525,20 @@
+ \advance\count@\month
+ \advance\count@-#2\relax}
+ \expandafter\reserved@a\fmtversion\@nil
+-\ifnum\count@>65
+- \typeout{^^J%
+-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J%
+-! You are attempting to make a LaTeX format from a source file^^J%
+-! That is more than five years old.^^J%
+-!^^J%
+-! If you enter <return> to scroll past this message then the format^^J%
+-! will be built, but please consider obtaining newer source files^^J%
+-! before continuing to build LaTeX.^^J%
+-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J%
+-}
+- \errhelp{To avoid this error message, obtain new LaTeX sources.}
+- \errmessage{LaTeX source files more than 5 years old!}
+-\fi
++%\ifnum\count@>65
++% \typeout{^^J%
++%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J%
++%! You are attempting to make a LaTeX format from a source file^^J%
++%! That is more than five years old.^^J%
++%!^^J%
++%! If you enter <return> to scroll past this message then the format^^J%
++%! will be built, but please consider obtaining newer source files^^J%
++%! before continuing to build LaTeX.^^J%
++%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J%
++%}
++% \errhelp{To avoid this error message, obtain new LaTeX sources.}
++% \errmessage{LaTeX source files more than 5 years old!}
++%\fi
+ \let\reserved@a\relax
+ \fi
+ \everyjob{\typeout{\fmtname