$NetBSD: patch-ab,v 1.2 2000/09/03 14:55:20 wiz Exp $
--- Makefile.in.orig	Thu Apr 20 11:21:24 2000
+++ Makefile.in	Wed Aug 30 11:18:05 2000
@@ -58,13 +58,13 @@
 
 mandir 	= $(prefix)/man
 man1dir = $(mandir)/man1
-man3dir = $(mandir)/man3
+man3dir = $(mandir)/mann
 docdir = $(datadir)/doc
 
 # utility script directories - arch-independent and arch-non-
 # independent.
-SCRIPTDIR	= $(datadir)/cgi$(SHORT_VERSION)
-EXECSCRIPTDIR	= $(execdatadir)/cgi$(SHORT_VERSION)
+SCRIPTDIR	= $(datadir)/tcl/cgi$(SHORT_VERSION)
+EXECSCRIPTDIR	= $(execdatadir)/tcl/cgi$(SHORT_VERSION)
 
 INSTALL = @INSTALL@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -93,7 +93,7 @@
 # (but not the noninstalled files such as `make all' creates)
 uninstall:
 	-rm -f $(SCRIPTDIR)/cgi.tcl
-	-rm -f $(man3dir)/cgi.tcl.3
+	-rm -f $(man3dir)/cgi.tcl.n
 	-rm -f $(SCRIPTDIR)/pkgIndex.tcl
 
 .PHONY: install-info install info
@@ -104,7 +104,7 @@
 # install scripts
 	$(INSTALL_DATA) cgi.tcl $(SCRIPTDIR)
 # install library man page
-	$(INSTALL_DATA) cgi.tcl.man $(man3dir)/cgi.tcl.3
+	$(INSTALL_DATA) cgi.tcl.man $(man3dir)/cgi.tcl.n
 	$(INSTALL_DATA) pkgIndex.tcl $(SCRIPTDIR)
 
 examples:
