$NetBSD$

Replace install with BSD_INSTALL_MAN

--- manpages/Makefile.orig	2013-01-26 19:12:24.000000000 +0000
+++ manpages/Makefile
@@ -25,10 +25,8 @@ all:
 	@echo Nothing to do
 
 install: uninstall
-	install -d $(DESTDIR)$(mandir)
-	install -d $(DESTDIR)$(smandir)
-	install -m 644 $(MP_FILES) $(DESTDIR)$(mandir)
-	install -m 644 $(SMP_FILES) $(DESTDIR)$(smandir)
+	${BSD_INSTALL_MAN} $(MP_FILES) $(DESTDIR)$(mandir)
+	${BSD_INSTALL_MAN} $(SMP_FILES) $(DESTDIR)$(smandir)
 
 # Uninstall just calls cleanfiles with all possible switches enabled to
 # ensure all previously installed manpages are cleaned
