$NetBSD$

--- man/Makefile.in.orig	2010-02-01 00:30:49.000000000 +0000
+++ man/Makefile.in
@@ -275,8 +275,8 @@ maintainer-clean-generic clean mostlycle
 install-data-local:
 	@sect=1;				\
 	inst=`echo "nana" | sed '$(transform)'`.1; \
-	echo installing nana.1 as $(mandir)/man$$sect/$$inst; \
-	$(INSTALL_DATA) $(srcdir)/nana.1 $(mandir)/man$$sect/$$inst
+	echo installing nana.1 as ${DESTDIR}$(mandir)/man$$sect/$$inst; \
+	$(INSTALL_DATA) $(srcdir)/nana.1 ${DESTDIR}$(mandir)/man$$sect/$$inst
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
