aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2009-06-03 08:22:50 +0000
committerHiroki Sato <hrs@FreeBSD.org>2009-06-03 08:22:50 +0000
commitb83680da1a963ae58dd770712194d13cfd1d2ca9 (patch)
tree6173cf30af86a2c435dea493e90181d28e6655c6 /print
parent9ede618f0eea5811fa5ce34f54c9f62bcc2af1aa (diff)
downloadports-b83680da1a963ae58dd770712194d13cfd1d2ca9.tar.gz
ports-b83680da1a963ae58dd770712194d13cfd1d2ca9.zip
Notes
Diffstat (limited to 'print')
-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
3 files changed, 42 insertions, 2 deletions
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