diff options
author | jtb <jtb@pkgsrc.org> | 2001-03-01 21:16:52 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-03-01 21:16:52 +0000 |
commit | 67d7050944fbc8613c0a4368cc0e86b43a76b1d9 (patch) | |
tree | a472b0ec169555fb3e5a8d22a5fc061c7d5901cd /math/tela/patches | |
parent | 7ce00106d6a0e122b4294b457abf946fcdc4aaa3 (diff) | |
download | pkgsrc-67d7050944fbc8613c0a4368cc0e86b43a76b1d9.tar.gz |
Install the man pages. Changed "Xemacs" to "Emacs" in menus, since it
runs `emacs'.
Diffstat (limited to 'math/tela/patches')
-rw-r--r-- | math/tela/patches/patch-ad | 10 | ||||
-rw-r--r-- | math/tela/patches/patch-ag | 13 | ||||
-rw-r--r-- | math/tela/patches/patch-ah | 24 |
3 files changed, 41 insertions, 6 deletions
diff --git a/math/tela/patches/patch-ad b/math/tela/patches/patch-ad index 36a263493b5..5b19a934caa 100644 --- a/math/tela/patches/patch-ad +++ b/math/tela/patches/patch-ad @@ -1,4 +1,4 @@ -$NetBSD: patch-ad,v 1.3 2001/03/01 02:21:11 jtb Exp $ +$NetBSD: patch-ad,v 1.4 2001/03/01 21:16:53 jtb Exp $ --- Makefile.orig Tue Dec 5 07:43:56 2000 +++ Makefile @@ -50,3 +50,11 @@ $NetBSD: patch-ad,v 1.3 2001/03/01 02:21:11 jtb Exp $ for i in libtela.a $(CTELA_MODULES) $(NEEDED_BY_CTELA_MODULES) \ $(LOCAL_CTELA_MODULES) $(NEEDED_BY_LOCAL_CTELA_MODULES); \ do $(INSTALL_DATA) $$i $(INSTALL_BINDIR); done +@@ -565,6 +567,7 @@ + cd $(docdir); for i in *.txt *.sgml *.dvi; do $(INSTALL_DATA) $$i $(INSTALL_LIBDIR); done + if [ ! -d $(INSTALL_LIBDIR)/html ]; then mkdir $(INSTALL_LIBDIR)/html; chmod 755 $(INSTALL_LIBDIR)/html; fi + cd $(docdir); for i in *.html; do $(INSTALL_DATA) $$i $(INSTALL_LIBDIR)/html; done ++ cd $(docdir); for i in tela ctpp telakka; do $(BSD_INSTALL_MAN) $$i.man ${PREFIX}/man/man1/$$i.1; done + + # ---------------------------------------------------------------- + # ---- Distribution tarfile diff --git a/math/tela/patches/patch-ag b/math/tela/patches/patch-ag index 2a1119966f3..35f27511f64 100644 --- a/math/tela/patches/patch-ag +++ b/math/tela/patches/patch-ag @@ -1,4 +1,4 @@ -$NetBSD: patch-ag,v 1.1.1.1 2001/02/28 22:34:09 jtb Exp $ +$NetBSD: patch-ag,v 1.2 2001/03/01 21:16:53 jtb Exp $ --- t/docview.t.orig Thu Sep 7 14:05:06 2000 +++ t/docview.t @@ -7,7 +7,16 @@ $NetBSD: patch-ag,v 1.1.1.1 2001/02/28 22:34:09 jtb Exp $ +choiceViewing = smenu("Choose viewing method","ASCII","xdvi","Emacs"); -directory = "/usr/local/lib/tela"; -+directory = "@PREFIX@/share/tela"; ++directory = "/usr/pkg/share/tela"; choiceDoc = smenu("Choose document to view", "Basic help file", +@@ -19,7 +19,7 @@ + system(#("less -Ms ",directory,"/",file,".txt")); + } else if (strstarteq(choiceViewing,"xdvi")) { + system(#("xdvi -geometry 847x570+0+0 -s 3 ",directory,"/",file,".dvi&")); +-} else if (strstarteq(choiceViewing,"Xemacs")) { ++} else if (strstarteq(choiceViewing,"Emacs")) { + system(#("emacs ",directory,"/",file,".txt&")); + }; + diff --git a/math/tela/patches/patch-ah b/math/tela/patches/patch-ah index ebacfc2b73c..cf1803551cc 100644 --- a/math/tela/patches/patch-ah +++ b/math/tela/patches/patch-ah @@ -1,13 +1,31 @@ -$NetBSD: patch-ah,v 1.1.1.1 2001/02/28 22:34:09 jtb Exp $ +$NetBSD: patch-ah,v 1.2 2001/03/01 21:16:53 jtb Exp $ ---- t/std.t.orig Wed Feb 28 19:00:03 2001 +--- t/std.t.orig Thu Nov 30 11:06:14 2000 +++ t/std.t @@ -95,7 +95,7 @@ // kinds of Tela documentation. local(directory,choicViewing,choiceDoc,editor,env) { - directory = "/usr/local/lib/tela"; -+ directory = "@PREFIX@/share/tela"; ++ directory = "/usr/pkg/share/tela"; editor = "emacs"; pager = "less -Ms"; env = getenv("EDITOR"); +@@ -109,7 +109,7 @@ + "HTML/Xmosaic (requires X)", + "HTML/Lynx", + "Xdvi (requires X)", +- "Xemacs (requires X)", ++ "Emacs (requires X)", + "Cancel"); + if (strstarteq(choiceViewing,"Cancel")) return; + choiceDoc = smenu("Choose document to view", +@@ -134,7 +134,7 @@ + system(#("cd ",directory,"/html; lynx ",file,".html")) + else if (strstarteq(choiceViewing,"Xdvi")) + system(#("xdvi -geometry 847x570+0+0 -s 3 ",directory,"/",file,".dvi&")) +- else if (strstarteq(choiceViewing,"Xemacs")) ++ else if (strstarteq(choiceViewing,"Emacs")) + system(#(editor," ",directory,"/",file,".txt&")); + }; + |