summaryrefslogtreecommitdiff
path: root/japanese/ptex-common
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-09-14 08:52:22 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-09-14 08:52:22 +0000
commit2889791e25914519867f75d854ece1260260aa8b (patch)
tree1229fbc3feb8faa92fc2aac2cd553544415f0937 /japanese/ptex-common
parentDon't use "&;", which is now illegal. (diff)
Always install MakeTeXPK, renaming the old one out of the way if necessary.
Submitted by: max@sfc.wide.ad.jp
Notes
Notes: svn path=/head/; revision=3775
Diffstat (limited to 'japanese/ptex-common')
-rw-r--r--japanese/ptex-common/files/patch-ab49
-rw-r--r--japanese/ptex-common/pkg-plist2
2 files changed, 50 insertions, 1 deletions
diff --git a/japanese/ptex-common/files/patch-ab b/japanese/ptex-common/files/patch-ab
new file mode 100644
index 000000000000..99e56d5854f6
--- /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*
diff --git a/japanese/ptex-common/pkg-plist b/japanese/ptex-common/pkg-plist
index 1daa9f898612..795b1973790b 100644
--- a/japanese/ptex-common/pkg-plist
+++ b/japanese/ptex-common/pkg-plist
@@ -1,4 +1,3 @@
-@cwd /usr/local
bin/kpsewhich
bin/dvicopy
bin/dvitype
@@ -29,6 +28,7 @@ bin/tex
bin/ptex
bin/mf
bin/cmmf
+bin/MakeTeXPK
info/kpathsea.info
lib/texmf/web2c/texmf.cnf
lib/texmf/ini/tex.fmt