diff options
author | asami <asami@FreeBSD.org> | 1996-09-14 16:52:22 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-09-14 16:52:22 +0800 |
commit | 48753a3d0cf02fb47beb9f0e6e3372e341402986 (patch) | |
tree | 0b171d7f40f93fb99d283cf9c6977192c96794c6 /japanese/ptex-common/files | |
parent | 5abfe980b24541ceb712d9e3d4acef51a65879d2 (diff) | |
download | freebsd-ports-graphics-48753a3d0cf02fb47beb9f0e6e3372e341402986.tar.gz freebsd-ports-graphics-48753a3d0cf02fb47beb9f0e6e3372e341402986.tar.zst freebsd-ports-graphics-48753a3d0cf02fb47beb9f0e6e3372e341402986.zip |
Always install MakeTeXPK, renaming the old one out of the way if necessary.
Submitted by: max@sfc.wide.ad.jp
Diffstat (limited to 'japanese/ptex-common/files')
-rw-r--r-- | japanese/ptex-common/files/patch-ab | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/japanese/ptex-common/files/patch-ab b/japanese/ptex-common/files/patch-ab new file mode 100644 index 00000000000..99e56d5854f --- /dev/null +++ b/japanese/ptex-common/files/patch-ab @@ -0,0 +1,49 @@ +*** kpathsea/Makefile.in.orig Mon Jan 9 02:18:20 1995 +--- kpathsea/Makefile.in Fri Sep 6 15:11:38 1996 +*************** +*** 121,140 **** + + install-exec: kpsewhich MakeTeXPK + $(SHELL) $(top_srcdir)/../mkdirchain $(bindir) $(scriptdir) +! if grep 'original MakeTeXPK --' $(scriptdir)/MakeTeXPK >/dev/null 2>&1\ +! || test ! -r $(scriptdir)/MakeTeXPK; then \ +! $(INSTALL_PROGRAM) MakeTeXPK $(scriptdir)/MakeTeXPK; \ + else true; fi + $(INSTALL_PROGRAM) kpsewhich $(bindir)/kpsewhich + uninstall-exec: + rm -f $(bindir)/kpsewhich + + install-data: texmf.cnf kpathsea.info + $(SHELL) $(top_srcdir)/../mkdirchain $(texmf) $(infodir) $(web2cdir) +! if grep 'original texmf.cnf --' $(web2cdir)/texmf.cnf >/dev/null 2>&1 \ +! || test ! -r $(web2cdir)/texmf.cnf; then \ +! $(INSTALL_DATA) texmf.cnf $(web2cdir)/texmf.cnf; \ +! else true; fi + $(INSTALL_DATA) $(srcdir)/kpathsea.info $(infodir)/kpathsea.info + uninstall-data: + rm -f $(infodir)/kpathsea.info* +--- 121,144 ---- + + install-exec: kpsewhich MakeTeXPK + $(SHELL) $(top_srcdir)/../mkdirchain $(bindir) $(scriptdir) +! if grep 'original MakeTeXPK --' $(scriptdir)/MakeTeXPK >/dev/null 2>&1;\ +! then true; \ +! elif test -r $(scriptdir)/MakeTeXPK; then \ +! mv -f $(scriptdir)/MakeTeXPK $(scriptdir)/MakeTeXPK.OLD; \ + else true; fi ++ $(INSTALL_PROGRAM) MakeTeXPK $(scriptdir)/MakeTeXPK; \ + $(INSTALL_PROGRAM) kpsewhich $(bindir)/kpsewhich + uninstall-exec: + rm -f $(bindir)/kpsewhich + + install-data: texmf.cnf kpathsea.info + $(SHELL) $(top_srcdir)/../mkdirchain $(texmf) $(infodir) $(web2cdir) +! if grep 'original texmf.cnf --' $(web2cdir)/texmf.cnf >/dev/null 2>&1;\ +! then true; \ +! elif test -r $(web2cdir)/texmf.conf; then \ +! mv -f $(web2cdir)/texmf.conf $(web2cdir)/texmf.conf.OLD; \ +! else true; fi +! $(INSTALL_DATA) texmf.cnf $(web2cdir)/texmf.cnf; \ + $(INSTALL_DATA) $(srcdir)/kpathsea.info $(infodir)/kpathsea.info + uninstall-data: + rm -f $(infodir)/kpathsea.info* |