aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ptex-base
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>2001-06-29 11:20:49 +0800
committermax <max@FreeBSD.org>2001-06-29 11:20:49 +0800
commit8187d8d1e40f40b2e9d064fb75b27cce499bc32c (patch)
tree80f84f7fab7095c58f321e4ec0d358916f86ae4c /japanese/ptex-base
parentd112c0cae3792eb8d4231c395eb7ea9a8bcbb83b (diff)
downloadfreebsd-ports-gnome-8187d8d1e40f40b2e9d064fb75b27cce499bc32c.tar.gz
freebsd-ports-gnome-8187d8d1e40f40b2e9d064fb75b27cce499bc32c.tar.zst
freebsd-ports-gnome-8187d8d1e40f40b2e9d064fb75b27cce499bc32c.zip
Work around to make [p]LaTeX2e work.
Intended to be temporary until the original distribution is updated. Submitted by: mita
Diffstat (limited to 'japanese/ptex-base')
-rw-r--r--japanese/ptex-base/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/japanese/ptex-base/Makefile b/japanese/ptex-base/Makefile
index 4e8afd75a89d..0bb77cc8b5ec 100644
--- a/japanese/ptex-base/Makefile
+++ b/japanese/ptex-base/Makefile
@@ -70,6 +70,12 @@ pre-install:
@${MKDIR} ${TEXMF_TREE}
@tar zxf ${_DISTDIR}/${TETEX_TEXMF} -C ${TEXMF_TREE}
@tar zxf ${_DISTDIR}/${PTEX_TEXMF} -C ${TEXMF_TREE}
+# Following two commands are intended to be temporary until
+# the original distribution is updated.
+ ${MV} -f ${PREFIX}/share/texmf/tex/latex/base/latex.ltx ${WRKDIR}
+ ${SED} -e 's/\\ifnum\\count@>17/\\ifnum\\count@>57/' \
+ ${WRKDIR}/latex.ltx \
+ > ${PREFIX}/share/texmf/tex/latex/base/latex.ltx
post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/texinfo/util/texi2dvi ${PREFIX}/bin