$OpenBSD: patch-src_Makefile,v 1.3 2001/04/17 13:20:26 lebel Exp $
--- src/Makefile.orig	Mon Apr 16 15:24:49 2001
+++ src/Makefile	Tue Apr 17 08:46:21 2001
@@ -845,26 +845,27 @@ SCRIPTLOC	= $(VIMRTLOC)
 ### some sed trickery. (the files are installed into a temporary directory
 ### for building the package, but they eventually end up in /usr/... . This
 ### ensures that the correct path is put into the man page.)
-VIMRCENDLOC = $(VIMRCLOC)
-#VIMRCENDLOC = /etc
-HELPENDLOC = $(HELPSUBLOC)
-#HELPENDLOC = /usr/doc/vim
-SYNTAXENDLOC = $(SYNSUBLOC)
-#SYNTAXENDLOC = /usr/lib/vim/syntax
-INDENTENDLOC = $(INDSUBLOC)
-#INDENTENDLOC = /usr/lib/vim/indent
-PLUGINFTENDLOC = $(PLUGSUBLOC)
-#PLUGINFTENDLOC = /usr/lib/vim/plugin
-FTPLUGINFTENDLOC = $(FTPLUGSUBLOC)
-#FTPLUGINFTENDLOC = /usr/lib/vim/ftplugin
-LANGENDLOC = $(LANGSUBLOC)
-#LANGENDLOC = /usr/share/locale/vim
-KMAPENDLOC = $(KMAPSUBLOC)
-#KMAPENDLOC = /usr/lib/vim/keymap
-SCRIPTENDLOC = $(SCRIPTLOC)
-#SCRIPTENDLOC = /etc
-TUTORENDLOC = $(TUTORSUBLOC)
-#TUTORENDLOC = /usr/lib/vim/tutor
+#VIMRCENDLOC = $(VIMRCLOC)
+VIMRCENDLOC = $(TRUEPREFIX)/share$(VIMDIR)
+#HELPENDLOC = $(HELPSUBLOC)
+HELPENDLOC = $(TRUEPREFIX)/share$(VIMDIR)$(VIMRTDIR)$(HELPSUBDIR)
+#SYNTAXENDLOC = $(SYNSUBLOC)
+SYNTAXENDLOC = $(TRUEPREFIX)/share$(VIMDIR)$(VIMRTDIR)$(SYNSUBDIR)
+#INDENTENDLOC = $(INDSUBLOC)
+INDENTENDLOC = $(TRUEPREFIX)/share$(VIMDIR)$(VIMRTDIR)$(INDSUBDIR)
+#PLUGINFTENDLOC = $(PLUGSUBLOC)
+PLUGINFTENDLOC = $(TRUEPREFIX)/share$(VIMDIR)$(VIMRTDIR)$(PLUGSUBDIR)
+#FTPLUGINFTENDLOC = $(FTPLUGSUBLOC)
+FTPLUGINFTENDLOC = $(TRUEPREFIX)/share$(VIMDIR)$(VIMRTDIR)$(FTPLUGSUBDIR)
+#LANGENDLOC = $(LANGSUBLOC)
+LANGENDLOC = $(TRUEPREFIX)/share$(VIMDIR)$(VIMRTDIR)/lang
+#KMAPENDLOC = $(KMAPSUBLOC)
+KMAPENDLOC = $(TRUEPREFIX)/share$(VIMDIR)$(VIMRTDIR)$(KMAPSUBDIR)
+#SCRIPTENDLOC = $(SCRIPTLOC)
+SCRIPTENDLOC = $(TRUEPREFIX)/share$(VIMDIR)$(VIMRTDIR)
+#TUTORENDLOC = $(TUTORSUBLOC)
+TUTORENDLOC = $(TRUEPREFIX)/share$(VIMDIR)$(VIMRTDIR)$(TUTORSUBDIR)
+TOOLSENDLOC = $(TRUEPREFIX)/share$(VIMDIR)$(VIMRTDIR)$(TOOLSSUBDIR)
 
 ### Name of the evim file target.
 EVIM_FILE	= $(SCRIPTLOC)/evim.vim
@@ -1529,9 +1530,10 @@ installruntime: $(HELPSOURCE)/vim.1 $(MA
 	$(INSTALL_DATA)  $(HELPSOURCE)/vimdiff.1 $(MANSUBDIR)/$(VIMDIFFNAME).1
 	chmod $(MANMOD) $(MANSUBDIR)/$(VIMDIFFNAME).1
 	@echo generating $(MANSUBDIR)/$(EVIMNAME).1
-	@sed -e s+/usr/local/lib/vim+$(VIMLOC)+ \
-		$(HELPSOURCE)/evim.1 > $(MANSUBDIR)/$(EVIMNAME).1
-	chmod $(MANMOD) $(MANSUBDIR)/$(EVIMNAME).1
+# evim.1 is missing from the 6.0ab-rt tarball
+#	@sed -e s+/usr/local/lib/vim+$(VIMLOC)+ \
+#		$(HELPSOURCE)/evim.1 > $(MANSUBDIR)/$(EVIMNAME).1
+#	chmod $(MANMOD) $(MANSUBDIR)/$(EVIMNAME).1
 	cd $(HELPSOURCE); $(INSTALL_DATA) *.txt tags $(HELPSUBLOC)
 	cd $(HELPSUBLOC); chmod $(HELPMOD) *.txt tags
 	$(INSTALL_DATA)  $(HELPSOURCE)/*.pl $(HELPSUBLOC)
