aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2009-06-03 16:22:50 +0800
committerhrs <hrs@FreeBSD.org>2009-06-03 16:22:50 +0800
commitd7ff4f7eb21d8ea6f8ba88cd816e90a43868de41 (patch)
tree97ef0e2ceac96359cf0176ebdc48fed580e9e069 /print
parenteedabbae04295293d7db648b639dfa19eacbaf05 (diff)
downloadfreebsd-ports-gnome-d7ff4f7eb21d8ea6f8ba88cd816e90a43868de41.tar.gz
freebsd-ports-gnome-d7ff4f7eb21d8ea6f8ba88cd816e90a43868de41.tar.zst
freebsd-ports-gnome-d7ff4f7eb21d8ea6f8ba88cd816e90a43868de41.zip
Fix build and bump PORTREVISION.
Spotted by: pointyhat
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