$NetBSD: patch-ab,v 1.2 2001/10/12 10:51:51 simonb Exp $

--- Makefile.in.orig	Fri Jan 12 20:24:29 2001
+++ Makefile.in	Wed Oct 10 14:57:51 2001
@@ -141,17 +141,16 @@
 	$(CC) -c $(XTRACFLAGS) $(CFLAGS) $(SCFLAGS) $<
 
 install.dict: dict
-	install dict $(bindir)
-	install -m 644 dict.1 $(man1_prefix)/dict.1
+	${INSTALL_PROGRAM} dict $(bindir)
+	${BSD_INSTALL_MAN} dict.1 $(man1_prefix)
 
 install.dictzip: dictzip
-	install dictzip $(bindir)
-	install -m 644 dictzip.1 $(man1_prefix)/dictzip.1
+	${INSTALL_PROGRAM} dictzip $(bindir)
+	${BSD_INSTALL_MAN} dictzip.1 $(man1_prefix)
 
 install.dictd: dictd
-	install dictd $(sbindir)
-	if test ! -d $(man8_prefix); then install -d 755 $(man8_prefix); fi
-	install -m 644 dictd.8 $(man8_prefix)/dictd.8
+	${INSTALL_PROGRAM} dictd $(sbindir)
+	${BSD_INSTALL_MAN} dictd.8 $(man8_prefix)
 
 install: $(EXES) install.dict install.dictzip install.dictd
 
